Skip to content
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

Authorization Token expires after 24 hours #9

Open
nicklozon opened this issue May 11, 2016 · 3 comments
Open

Authorization Token expires after 24 hours #9

nicklozon opened this issue May 11, 2016 · 3 comments

Comments

@nicklozon
Copy link

When a backup takes longer than 24 hours, the initial Authorization Token expires and a new one is required.

@mabeltron
Copy link

mabeltron commented Sep 28, 2016

Just come across this problem running a large backup but the expiry time is now more like 12 hours. There also doesn't seem to be a method of invalidating the existing authorisation token on the client side so once an upload fails that account can't negotiate with Backblaze any more. I'm going to RTFM and see if I can get to the bottom of this.

@nicklozon
Copy link
Author

I wrote an updated script, but it never seemed to work quite right. I no longer use duplicity, but I could share it.

@mabeltron
Copy link

I started too but decided against using duplicity in the end. The solution would seem to be to take the auth process out of init and invoke it when Backblaze starts to return a 503 error.
I also tried with Hubic, which implements a permanent token on the client - not sure if this would be available to Backblaze.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants