ElonH / RcloneNg

An angular web application for rclone
https://elonh.github.io/RcloneNg
MIT License
183 stars 44 forks source link

Can't connect to remote rclone #43

Open tigattack opened 1 year ago

tigattack commented 1 year ago

I'm trying to use this with a remote rclone server.

The connection fails, I can see that the OPTIONS request to the /rc/noopauth endpoint is being responded to with a 401. My credentials are definitely valid, I've double and triple checked this, though I notice this request has no authorization header.

The following POST to the /rc/noopauth endpoint also fails, this time with NS_ERROR_DOM_BAD_URI.

I can make requests to rclone from remote machines with curl, so there should be no issues with the rclone setup, but for clarity I'm launching rclone like this during testing: rclone rcd --rc-addr=0.0.0.0:5572 --rc-allow-origin=* --rc-htpasswd=/tmp/rclone-test.htpasswd