Open metadaddy opened 2 months ago
Full disclosure: I am Pat Patterson, Chief Technical Evangelist at Backblaze.
I filed this in response to a post in the Appwrite support channel: https://discord.com/channels/564160730845151244/1227800965277552672/1227855634049925181
I'll look at coding a fix for this. It's a tricky one to reproduce against a production service, but I can use a proxy that returns a 503 every so often.
I am able to get this to happen when uploading files that are 1.5GB or so.
š Reproduction steps
This is a transient issue with S3 and compatible cloud object storage services such as Backblaze B2. Such services occasionally return 503 Service Unavailable or even 500 Internal Server Error due to a transient fault. Clients should retry the request; doing so works in the majority of cases.
š Expected behavior
The device should retry the request, with exponential backoff. Parameters should be configurable, but a good starting point is to retry 3 times, after 1, 2 and 4 seconds.
š Actual Behavior
On receiving a 503 error, an exception is thrown:
š² Utopia Storage Version
Version 0.5.x
š» Operating system
Linux
š§± Your Environment
No response
š Have you spent some time to check if this issue has been raised before?
š¢ Have you read the Code of Conduct?