b2: large uploads fail due to expired auth token
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned |
Bug Description
duplicity against b2 backend fails after 24 hours (and 2,5 mins due to retrys and waits) with http status 401
It looks very much as the auth token expires and duplicity does not reauthenticate against b2.
Duplicity version: 0.7.07.1
Python version 2.7
OS Distro and version: OSX 10.11.5 / homebrew installation
AsyncScheduler: running task synchronously (asynchronicity disabled)
Writing duplicity-
Attempt 1 failed. HTTPError: HTTP Error 401: Unauthorized
Writing duplicity-
Attempt 2 failed. HTTPError: HTTP Error 401: Unauthorized
Writing duplicity-
Attempt 3 failed. HTTPError: HTTP Error 401: Unauthorized
Writing duplicity-
Attempt 4 failed. HTTPError: HTTP Error 401: Unauthorized
Writing duplicity-
Giving up after 5 attempts. HTTPError: HTTP Error 401: Unauthorized
Backup: 1442 minutes and 10 seconds elapsed.
Related branches
- duplicity-team: Pending requested
-
Diff: 63 lines (+20/-8)1 file modifiedduplicity/backends/b2backend.py (+20/-8)
Changed in duplicity: | |
importance: | Undecided → Medium |
milestone: | none → 0.7.08 |
status: | New → Fix Committed |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |
I think I have a working fix for this, I am going to test this for some days
(and have to fight with bazaar to get a branch uploaded)