-
-
Notifications
You must be signed in to change notification settings - Fork 303
Does not correctly retry requests to Backblaze B2 #16938
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
Comments
Cyberduck Version 9.1.3 (42945) Log file was not with debug enabled and does not show anything related to this error (timestamp) so not sharing it |
Adding this here as it's closely related, but I can spin it out into a separate issue if necessary... When uploading files, Cyberduck does not follow the documented procedure for retries:
(A similar process applies to large files with Looking at the code, the fix would be in backblaze-b2-java-api, but the README there says that that project is no longer active. Are there plans to migrate Cyberduck to the the official Backblaze Java SDK? |
We are maintaining a fork 1 of the B2 Java API. Footnotes |
The implementation uploads many files to the same upload_url until that URL gives an error 1. Footnotes |
The Footnotes |
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
When uploading lots of folders and files to a Backblaze B2 bucket, Cyberduck shows the
1000 calls per PT1M allowed for API_LIST_FILE_VERSIONS_CALLED
error shown in the screenshot below.Looking at the code,
executeHead()
,executeGet()
andexecutePost()
inBaseB2Request.java
look for theRetry-After
HTTP header in the response. The Backblaze B2 documentation (rate limits and integration checklist) say that the error response may includeRetry-After
(I think this guidance may have changed over time). For429
and503
errors whereRetry-After
is not included, the client code should retry using an exponential backoff starting with 1 second.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The folders and files are uploaded correctly.
Screenshots

Desktop (please complete the following information):
Log Files
Please include the log file. You can reach the logging output in Preferences → Connection.
Additional context
This error was reported to me by a mutual user of Cyberduck and Backblaze B2. I'll point them at this issue so they can add more detail if necessary.
The text was updated successfully, but these errors were encountered: