If I start the rc-web-gui I get asked for User/Password which I don't know. So I used -vv to see in the log the username is gui and a random password b0fyHCCJw9vnUKKmEE8uiw was generated. If I copy/paste both into the user+password dialog of Chrome
the dialog does stay open and in the console log I get 6x an Unauthorized request
2021/01/21 08:09:26 INFO : /core/stats: 127.0.0.1:58636: Unauthorized request from gui
2021/01/21 08:09:26 INFO : /core/stats: 127.0.0.1:58637: Unauthorized request from gui
2021/01/21 08:09:26 INFO : /core/stats: 127.0.0.1:58638: Unauthorized request from gui
2021/01/21 08:09:26 INFO : /core/stats: 127.0.0.1:58641: Unauthorized request from gui
2021/01/21 08:09:26 INFO : /core/stats: 127.0.0.1:58640: Unauthorized request from gui
2021/01/21 08:09:26 INFO : /core/stats: 127.0.0.1:58639: Unauthorized request from gui
Already cleared Brower cache, disabled UBlock and UBlockAdlocker and Vanilla (Cookie Manager).
What is your rclone version (output from rclone version)
rclone v1.53.3
- os/arch: windows/amd64
- go version: go1.15.5
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Windows 10 64bit
Which cloud storage system are you using? (eg Google Drive)
No cloud storage involved into that issue
The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone rcd --rc-web-gui --rc-no-auth -vv
The rclone config contents with secrets removed.
[Fws]
type = webdav
url = https://xxx
vendor = nextcloud
user = xxx
pass = xxx
A log from the command with the -vv flag
2021/01/21 08:04:08 DEBUG : rclone: Version "v1.53.3" starting with parameters ["rclone" "rcd" "--rc-web-gui" "--rc-no-auth" "-vv"]
2021/01/21 08:04:08 NOTICE: Web GUI exists. Update skipped.
2021/01/21 08:04:08 INFO : Cannot run Web GUI without authentication, using default auth
2021/01/21 08:04:08 INFO : No username specified. Using default username: gui
2021/01/21 08:04:08 INFO : No password specified. Using random password: b0fyHCCJw9vnUKKmEE8uiw
2021/01/21 08:04:08 NOTICE: Serving Web GUI
2021/01/21 08:04:08 INFO : Using --user gui --pass XXXX as authenticated user
2021/01/21 08:04:08 NOTICE: Serving remote control on http://127.0.0.1:5572/
2021/01/21 08:04:08 DEBUG : login_token "Z3VpOmIwZnlIQ0NKdzl2blVLS21FRTh1aXc="
2021/01/21 08:04:09 INFO : /core/version: 127.0.0.1:58505: Unauthorized request from gui
2021/01/21 08:04:09 INFO : /core/stats: 127.0.0.1:58506: Unauthorized request from gui
2021/01/21 08:04:09 INFO : /core/stats: 127.0.0.1:58507: Unauthorized request from gui
2021/01/21 08:04:09 INFO : /core/bwlimit: 127.0.0.1:58508: Unauthorized request from gui
2021/01/21 08:04:14 INFO : /core/stats: 127.0.0.1:58510: Unauthorized request from gui
2021/01/21 08:04:14 INFO : /core/stats: 127.0.0.1:58511: Unauthorized request from gui
Same behaviour. Chrome shows Login, I copy gui and the new random password and press ok and the login dialog is shown again and in the console log some new lines with Unauthorized... appear.
I also tried to give user and password by parameter and not to use gui+random. But same effekt.
2021/01/21 15:46:19 DEBUG : rclone: Version "v1.53.3" starting with parameters ["rclone" "rcd" "--rc-web-gui" "-vv"]
2021/01/21 15:46:19 NOTICE: Web GUI exists. Update skipped.
2021/01/21 15:46:19 INFO : No username specified. Using default username: gui
2021/01/21 15:46:19 INFO : No password specified. Using random password: -qnY5owdr6CmjMpPNqhbCw
2021/01/21 15:46:19 NOTICE: Serving Web GUI
2021/01/21 15:46:19 INFO : Using --user gui --pass XXXX as authenticated user
2021/01/21 15:46:19 NOTICE: Serving remote control on http://127.0.0.1:5572/
2021/01/21 15:46:19 DEBUG : login_token "Z3VpOi1xblk1b3dkcjZDbWpNcFBOcWhiQ3c="
2021/01/21 15:46:20 INFO : /core/version: 127.0.0.1:50738: Unauthorized request from gui
2021/01/21 15:46:20 INFO : /core/stats: 127.0.0.1:50739: Unauthorized request from gui
2021/01/21 15:46:20 INFO : /core/stats: 127.0.0.1:50740: Unauthorized request from gui
2021/01/21 15:46:20 INFO : /core/bwlimit: 127.0.0.1:50741: Unauthorized request from gui
2021/01/21 15:46:25 INFO : /core/stats: 127.0.0.1:50743: Unauthorized request from gui
2021/01/21 15:46:25 INFO : /core/stats: 127.0.0.1:50744: Unauthorized request from gui
2021/01/21 15:46:30 INFO : /core/stats: 127.0.0.1:50744: Unauthorized request from gui
2021/01/21 15:46:30 INFO : /core/stats: 127.0.0.1:50743: Unauthorized request from gui
2021/01/21 15:46:30 INFO : /core/bwlimit: 127.0.0.1:50741: Unauthorized request from gui
2021/01/21 15:46:30 INFO : /core/stats: 127.0.0.1:50740: Unauthorized request from gui
2021/01/21 15:46:30 INFO : /core/stats: 127.0.0.1:50739: Unauthorized request from gui
2021/01/21 15:46:30 INFO : /core/version: 127.0.0.1:50738: Unauthorized request from gui
No. I copied it multiple times. Tried it with diffent passwords because I stopped and started again and then a new random password was generated. I can ensure that I have not made a copy error every single time!
I also tried it with a choosen username and password
rclone rcd --rc-web-gui --rc-user x --rc-pass x -vv
And I will not make a typing error with x and x multiple times.
2021/01/21 16:20:51 DEBUG : rclone: Version "v1.53.3" starting with parameters ["rclone" "rcd" "--rc-web-gui" "--rc-user" "x" "--rc-pass" "x" "-vv"]
2021/01/21 16:20:51 NOTICE: Web GUI exists. Update skipped.
2021/01/21 16:20:51 NOTICE: Serving Web GUI
2021/01/21 16:20:51 INFO : Using --user x --pass XXXX as authenticated user
2021/01/21 16:20:51 NOTICE: Serving remote control on http://127.0.0.1:5572/
2021/01/21 16:20:51 DEBUG : login_token "eDp4"
2021/01/21 16:20:52 INFO : /core/version: 127.0.0.1:51323: Unauthorized request from gui
...
Also the --rc-no-auth I had in my first try should login without user and password?
C:\data\rclone\scripts\rclone.exe rcd --rc-web-gui --rc-user x --rc-pass x -vv
2021/01/21 11:17:19 DEBUG : rclone: Version "v1.53.3" starting with parameters ["C:\\data\\rclone\\scripts\\rclone.exe" "rcd" "--rc-web-gui" "--rc-user" "x" "--rc-pass" "x" "-vv"]
2021/01/21 11:17:19 NOTICE: Web GUI exists. Update skipped.
2021/01/21 11:17:19 NOTICE: Serving Web GUI
2021/01/21 11:17:19 INFO : Using --user x --pass XXXX as authenticated user
2021/01/21 11:17:19 NOTICE: Serving remote control on http://127.0.0.1:5572/
2021/01/21 11:17:19 DEBUG : login_token "eDp4"
Rebooted computer.
Started Chrome, showing about:blank
Stared the command of my second post
Chrome automatically shows the login page
Copied Random Password, pasted it into notepad and compared it with console => match
Pasted user/password in the chrome dialog => no error message, just showing again the login dialog
I tried to use --log-level DEBUG, but it seems DEBUG is the same as vv.