yadayada / acd_cli

An unmaintained command line interface and FUSE filesystem for Amazon (Cloud) Drive
Other
1.35k stars 165 forks source link

Token Expired Error for Files that take longer than 1 hour #519

Open bFanek opened 7 years ago

bFanek commented 7 years ago

I've been using acd_cli to upload large files and was working well.

However, since Saturday, I've been frequently getting upload failure errors because the Token has expired. This only happens for large files that would take longer than 1 hour to upload. With debug mode, once it errors out, I noticed that most of the time the token gets refreshed around 5 minutes after the older one expired. It will attempt to retry to upload the file, and will fail again because it takes longer than 1 hour and the new token is already expired at that point.

Note that refreshing the token is executed successfully, but seems like acd_cli is not refreshing it fast enough, or the token expiration time has been reduced. Any file that takes less than an hour to upload is successful.

Any ideas on how to fix this?

Thanks.