-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Problems uploading files to Cloud Storage: com.google.cloud.storage.StorageException: Error writing request body to server #3410
Comments
Access to Cloud Storage is done from outside of Google Cloud. Maybe this information helps in analysis. |
I don't think this is an issue of access within google cloud or outside of it. because in case of stackoverflow question, access was being done from Google Cloud itself. |
We are experiencing the same issue randomly and our file sizes are less than 1MB. Further, uploading happens from a GCloud VM instance (i.e upload happens within the GCloud network itself). @prismec were you able to find a solution to this? |
No update on our side but it happens so frequently that we had to rollback to another storage engine until a solution for this problem ist available. |
This sounds bad. I'll see if can dig up something wrong. |
Any updates available on this issue ? |
I suspect this is a network issue and retrying the request would fix the issue. However I need to double check with the server side and waiting for their confirmation. Once they are on the same page the above PR can be merged. |
The change was included in the latest release 0.54.beta. Please update to the latest version of google-cloud-storage and let us know if the problem was still there. |
I have a similar issue with a different exception: What do you think, is it the same issue? |
@zguth Thanks for letting us know! Can you file a separate issue and provide a full stack trace? |
Yes, it's here: #3678 |
We randomly get the exception stated below when uploading files to Cloud Storage. The file size does not seem to be the relevant factor - the files where we see the problems are in the range between 25MB and 22GB.
We already had a look at the integrated retry handling and it looks like that exceptions of this kind are not retried when sending a chunk to Cloud Storage. Unfortunately it's very hard to reproduce with a test. But the problem occurs randomly, but frequently (multiple times a day)!
This might be related: https://stackoverflow.com/questions/50019241/google-cloud-storage-throwing-error-for-multiple-large-file-uploads-concurrently
The code that we are using is pretty much the same as stated in the linked stackoverflow article.
The text was updated successfully, but these errors were encountered: