rclone-webui-react icon indicating copy to clipboard operation
rclone-webui-react copied to clipboard

Can not access UI on another ip

Open prodigy7 opened this issue 4 years ago • 7 comments

Hi there!

I try to access the ui, but have some problems .... first: When I start with rclone rcd --rc-web-gui --rc-no-auth -vvv, it looks so far good:

2020/04/19 15:49:53 DEBUG : rclone: Version "v1.51.0" starting with parameters ["rclone" "rcd" "--rc-web-gui" "--rc-no-auth" "-vvv"]
2020/04/19 15:49:53 NOTICE: Web GUI exists. Update skipped.
2020/04/19 15:49:53 INFO  : Cannot run Web GUI without authentication, using default auth
2020/04/19 15:49:53 INFO  : No username specified. Using default username: gui
2020/04/19 15:49:53 INFO  : No password specified. Using random password: M26_LkXtPfYe76kyzhTHdg
2020/04/19 15:49:53 NOTICE: Serving Web GUI
2020/04/19 15:49:53 NOTICE: Serving remote control on http://127.0.0.1:5572/
2020/04/19 15:49:53 DEBUG : login_token "Z3VpOk0yNl9Ma1h0UGZZZTc2a3l6aFRIZGc="
2020/04/19 15:49:53 ERROR : Failed to open Web GUI in browser: exec: "xdg-open": executable file not found in $PATH. Manually access it at: http://gui:[email protected]:5572/?login_token=Z3VpOk0yNl9Ma1h0UGZZZTcxx3l6aFRIZGc%3D

I runned it on my NAS, i setup there a reverse proxy so I can access over :5573 the local running 5572. I took the url, replaces 127.0.0.1 with nas IP and port with 5573 and it runs.

Now, next I want run it directly on :5572 so a redirect is not needed. And here starts my problem.... when I call rclone rcd --rc-web-gui-no-open-browser --rc-user=user --rc-pass=pass --rc-addr=192.168.110.200:5572 -vv, I get the following log

2020/04/19 15:53:58 DEBUG : rclone: Version "v1.51.0" starting with parameters ["rclone" "rcd" "--rc-web-gui-no-open-browser" "--rc-user=user" "--rc-pass=pass" "--rc-addr=192.168.110.200:5572" "-vv"]
2020/04/19 15:53:58 INFO  : Using --user user --pass XXXX as authenticated user
2020/04/19 15:53:58 NOTICE: Serving remote control on http://192.168.110.200:5572/

and when I call web ui, I got only a "not found". Even when I start with rclone rcd --rc-user=user --rc-pass=pass --rc-allow-origin=* --rc-serve --rc-addr=192.168.110.200:5572 -vv, i got that log

2020/04/19 15:55:14 DEBUG : rclone: Version "v1.51.0" starting with parameters ["rclone" "rcd" "--rc-user=user" "--rc-pass=pass" "--rc-allow-origin=*" "--rc-serve" "--rc-addr=192.168.110.200:5572" "-vv"]
2020/04/19 15:55:14 INFO  : Using --user user --pass XXXX as authenticated user
2020/04/19 15:55:14 NOTICE: Serving remote control on http://192.168.110.200:5572/

I got a page with the text "List of all rclone remotes." but even not more.

Have I misunderstood the documentation or is here something wrong?

prodigy7 avatar Apr 19 '20 13:04 prodigy7

For me adding --rc-addr :5572 (without the ip) fixed it.

My full command was rclone rcd --rc-web-gui --rc-addr :5572 and then I got

2020/04/27 20:54:20 NOTICE: Serving Web GUI
2020/04/27 20:54:20 NOTICE: Serving remote control on http://[::]:5572/
2020/04/27 20:54:20 ERROR : Failed to open Web GUI in browser: exec: "xdg-open": executable file not found in $PATH. Manually access it at: http://gui:upSUkK<snip>73Q@[::]:5572/?login_token=Z3VpOnVw<snip>3M1E%3D

and used that url from the error message (replacing [::] with the server's ip)

19wolf avatar Apr 28 '20 01:04 19wolf

@19wolf this helped me save another day wasted. I want to know if this can be implemented in shared hosting ?

b06357-redlands avatar Jul 04 '20 14:07 b06357-redlands

For me adding --rc-addr :5572 (without the ip) fixed it.

My full command was rclone rcd --rc-web-gui --rc-addr :5572 and then I got

2020/04/27 20:54:20 NOTICE: Serving Web GUI
2020/04/27 20:54:20 NOTICE: Serving remote control on http://[::]:5572/
2020/04/27 20:54:20 ERROR : Failed to open Web GUI in browser: exec: "xdg-open": executable file not found in $PATH. Manually access it at: http://gui:upSUkK<snip>73Q@[::]:5572/?login_token=Z3VpOnVw<snip>3M1E%3D

and used that url from the error message (replacing [::] with the server's ip)

it has saved an another day here. thank you

nsar1907 avatar Sep 20 '20 12:09 nsar1907

For Linux Cli user rclone rcd --rc-web-gui-no-open-browser --rc-user=user --rc-pass=pass --rc-addr :5572

amanjuman avatar Mar 20 '21 11:03 amanjuman

rclone rcd --rc-web-gui --rc-addr :5572

I tried this rclone rcd --rc-web-gui-no-open-browser --rc-no-auth --rc-addr :5572 -vvv

and when I open the browser It gives "Not Found" I tried on VPS.

amanjuman avatar Mar 24 '21 12:03 amanjuman

rclone rcd --rc-web-gui --rc-addr :5572

I tried this rclone rcd --rc-web-gui-no-open-browser --rc-no-auth --rc-addr :5572 -vvv

and when I open the browser It gives "Not Found" I tried on VPS.

try to reinstall rclone

GeorgeRudd avatar Apr 16 '21 03:04 GeorgeRudd

rclone rcd --rc-web-gui --rc-addr :5572

I tried this rclone rcd --rc-web-gui-no-open-browser --rc-no-auth --rc-addr :5572 -vvv and when I open the browser It gives "Not Found" I tried on VPS.

try to reinstall rclone

Same error, "not found" reinstalled rclone. Any other ideas are appreciated :)

danielslyman avatar Jul 20 '21 11:07 danielslyman