Hi, I'm trying to upload a file to my bucket with a signed URL. I have users uploading files successfully, but I still get a 503 status after the PUT request. Is there something I'm doing wrong on my end or is this a bug that Google should fix? All the system users should be able to upload files to the bucket.
Hello @mhidalgo,
Thank you for contacting Google Cloud Community.
Please note that the 503 errors are expected from time to time. Users need to retry 503s with expoential back-off [1] to qualify for GCS's SLA [2]. For python you can use the retrying library [3].
I hope the above information is helpful.
Thanks & Regards
Manish Bavireddy.
[1] https://cloud.google.com/storage/docs/exponential-backoff
[2] https://cloud.google.com/storage/sla
[3] https://pypi.org/project/retrying/
Thanks for the reply. In the case of retries, is it normal that it never works the first time? We've been testing for a week and it keeps returning 503, but other users can upload files without a problem.