Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not access UI on another ip #87

Open
prodigy7 opened this issue Apr 19, 2020 · 7 comments
Open

Can not access UI on another ip #87

prodigy7 opened this issue Apr 19, 2020 · 7 comments

Comments

@prodigy7
Copy link

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:Mxx_LkXtPfYe76kyzhTHdg@127.0.0.1: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?

@19wolf
Copy link

19wolf commented Apr 28, 2020

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)

@b06357-redlands
Copy link

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

@nsar1907
Copy link

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

@amanjuman
Copy link

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

@amanjuman
Copy link

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.

@GeorgeRudd
Copy link

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

@danielslyman
Copy link

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants