-
Notifications
You must be signed in to change notification settings - Fork 20
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
Authentication not working #7
Comments
What system is this running on, Python version, and the parameters provided? I'm thinking it could be something related to the introduction of basic auth support right after 1ef7646, but I can't seem to replicate this on my system. Are you able to reach http://duplicati:8200/login.cgi using for example cURL to make a post request?
|
I'm running alpine linux 3.7.0 and python 3.6.3 .The only parameters I'm providing are in the parameters.yml file
Contents of config.yml
|
Hmm, I have this replicated in a docker container running same alpine/python versions. Pretty odd it doesn't happen on Ubuntu 16.04/Python 3.6.3 or MacOS/Python 3.6.4. I'd expect Alpine to be more similar to Ubuntu than MacOS. It's something I committed in 5b98a1c that's to blame, but I'll need to sit down tonight to figure out exactly what. |
Now I understand nothing. I came back to troubleshoot the issue now and I can no longer replicate it. Still running Alpine 3.7.0 + Python 3.6.3 in a docker container against my 2.0.3.6_canary Duplicati server. It would fail every time, when I tested 8 hours ago, but now it works every time. Regardless of what version I use and regardless of whether I connect directly or through Apache. Edit: It's worth noting that the 404 error comes directly from the Duplicati server so maybe it's external from the client?? My first assumption was that the client was somehow sending a GET instead of POST to |
I had the same behavior. It wasn't working, I came back a day later then it
worked. I figured it was just a fluke or maybe I messed up my test
environment, not remembering what state I left it in. But when I redeployed
the docker duplicati client, it stopped working.
|
I've been fighting authentication issues with the latest version of duplicati_client. I getting the error "Error getting salt from server", because the response from the requests.post is a 404. I'm not using basic auth. I've tried changing my password on duplicati to 1234, just in case one of special characters in my password were not getting escaped correctly. The problem has persisted.
Checking out out 1ef7646 resolves the issue.
The text was updated successfully, but these errors were encountered: