I'm running rclone Web Gui via WSL2 (Ubuntu distro on Windows). After executing the commands to serve the Web GUI I open http://127.0.0.1:5572/ in Chrome browser on Windows and see the following error message:
404 page not found
Run the command 'rclone version' and share the full output of the command.
Thanks very much for the responses. It was interesting - I tried accessing the GUI from the usual 127.0.0.1 IP address and it actually worked. I think this was because I hadn't set the https proxy (I work on a company laptop behind a firewall).
I've tried it again, however, it's not working again. I ran the command with --rc-no-auth instead and it has worked again.
root:~# rclone rcd --rc-web-gui --rc-no-auth
2023/05/03 17:31:10 ERROR : Error while fetching the latest release of Web GUI: error checking for web gui release update, skipping update: failed getting latest release of rclone-webui: Get "https://api.github.com/repos/rclone/rclone-webui-react/releases/latest": dial tcp: lookup api.github.com on 172.18.48.1:53: read udp 172.18.59.219:33600->172.18.48.1:53: i/o timeout
2023/05/03 17:31:10 NOTICE: It is recommended to use web gui with auth.
2023/05/03 17:31:10 NOTICE: Serving Web GUI
2023/05/03 17:31:10 NOTICE: Serving remote control on http://127.0.0.1:5572/
So it is working, although doesn't seem to be very consistent at this stage
Works fine for me, I just do this in my WSL2 (old rclone 1.56.1 on ubuntu 20.4):
$ ./rclone rcd --rc-web-gui -vv
2023/05/03 11:06:08 DEBUG : rclone: Version "v1.56.1" starting with parameters ["./rclone" "rcd" "--rc-web-gui" "-vv"]
2023/05/03 11:06:08 DEBUG : Current tag: v2.0.5, Release tag: v2.0.5
2023/05/03 11:06:08 NOTICE: Web GUI exists. Update skipped.
2023/05/03 11:06:08 INFO : No username specified. Using default username: gui
2023/05/03 11:06:08 INFO : No password specified. Using random password: Gwb1SMnBALHu5tRhywgWPw
2023/05/03 11:06:08 NOTICE: Serving Web GUI
2023/05/03 11:06:08 INFO : Using --user gui --pass XXXX as authenticated user
2023/05/03 11:06:08 NOTICE: Serving remote control on http://localhost:5572/
2023/05/03 11:06:08 DEBUG : login_token "Z3VpOkd3YjFTTW5CQUxIdTV0Umh5d2dXUHc="
2023/05/03 11:06:08 ERROR : Failed to open Web GUI in browser: exec: "xdg-open": executable file not found in $PATH.
Manually access it at: http://gui:Gwb1SMnBALHu5tRhywgWPw@localhost:5572/?login_token=Z3VpOkd3YjFTTW5CQUxIdTV0Umh5d2dXUHc%3D
Then I manually copy/paste the above specified URL into the browser (Chrome), and everything seems fine: