Amazon Drive backend fails after 1 hour

Bug #1689501 reported by Rojetto on 2017-05-09
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

I'm using duplicity 0.7.12 with the Amazon Drive backend (revision 1218) from series 0.8 installed.

When backing up a larger amount of data, the first few volumes upload fine, but the upload for later volumes starts to fail after exactly 1 hour with 'HTTP Error: 401 Client Error: Unauthorized'. I don't know how this stuff exactly works, but it seems to me like the backend script requests an OAuth token just at the beginning of the process, that simply expires after a while. Maybe refreshing the token before every volume upload would be an option?

Rojetto (rojetto) on 2017-05-09
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers