Comments (5)
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?
# curl 'http://localhost:8200/login.cgi' --data 'get-nonce=1'
from duplicati-client.
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
password: secret-password
url: duplicati
verbose: True
Contents of config.yml
/ # cat ~/.config/duplicati-client/config.yml
authorization: ''
last_login: null
parameters_file: /root/.config/duplicati-client/parameters.yml
server:
port: '8200'
protocol: http
url: duplicati
verify: true
token: null
token_expires: 2018-05-18 19:33:20.212126
verbose: true
/ # duc version
Duplicati client version 0.3.9
/ # curl 'http://duplicati:8200/login.cgi' --data 'get-nonce=1'
{
"Status": "OK",
"Nonce": "2XVybvEdC1JDUvE+3/8BlIRdjQC+IlUt21nhu8CCHaA=",
"Salt": "mwtVqXW0mHHUr7Tgy4Elz1t9x3JwwCtAmA5+oNHi8Qc="
/ # duc login
Loaded 3 parameters from file
Connecting to http://duplicati:8200...
Getting nonce and salt...
Error getting salt from server
Code: 404
from duplicati-client.
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.
from duplicati-client.
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 SERVER/login.cgi
, which only works if it's a POST request, but if that was the issue then it would be consistent...
from duplicati-client.
from duplicati-client.
Related Issues (20)
- Old data return when using latest Duplicati Beta 2.0.4.5 HOT 5
- Issue with latest version of duplicati beta HOT 4
- 0.4.9 gnu_linux doesn't work on Synology HOT 10
- Unable to connect using https HOT 13
- Can't get duc to run from a Duplicati job's batch script HOT 10
- Question: How to get the status of the backup (success/failed)? HOT 2
- Problem when importing a json file with unicode characters HOT 3
- Add option to parse output to json HOT 7
- Add to Pypi HOT 1
- UTF-8 Error in Docker Container based on Alpine Linux HOT 3
- Binary for Windows HOT 2
- Run by Name HOT 1
- "duc run" and "duc get" show different command patterns HOT 2
- Can we get a real timestamp for last and next backup? HOT 1
- Add details about build scripts HOT 1
- Possible error: getting the middle of logs, not last ones HOT 3
- Ability to login without pass on local machine
- Error with the certificate while trying to login into the server HOT 2
- Problem with login via Cloudflare tunel
- Quick and easy fix: backwards logic in build scripts HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from duplicati-client.