-
Notifications
You must be signed in to change notification settings - Fork 273
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
Random XAmzContentSHA256Mismatch Errors #855
Comments
The simple fix may be to include this in the list of retriable errors; but no, I don't really know what might be going on here aside from network data corruption (which ought to be vanishingly rare over SSL). -edit-
|
Hi @martindurant ,
We tried adding this and a more rare (but still novel to us) "400 Bad Request" error to the retriable errors, and it let the 120TB upload job finish successfully. See carshadi@4b305f7 We first noticed both of these errors on 2/27, the uploads had been working flawlessly prior. The job uses a local SLURM cluster to upload an OME-Zarr dataset in parallel to S3 using zarr-python + dask. 483 occurrences of the hash error and only 1 bad request over a ~8 hour period. |
@martindurant update on this, it turns out that |
Yes I think so - your information confirms that this is essentially a connection error like any other. I cannot think of a reason it should only be appearing recently. |
Sorry, I didn't clarify: do you plan to make this PR? |
Hi @martindurant , yes I just opened a PR. Feedback appreciated, thanks. |
Describe the bug
We had a script that had been working reliably for several months. We started encountering an error that occurs without much consistency:
OSError: [Errno 5] An error occurred (XAmzContentSHA256Mismatch) when calling the PutObject operation: The provided 'x-amz-content-sha256' header does not match what was computed.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Ideally, the upload should work. We're working on whether we can write a custom retry step since it doesn't appear the upload is retrying.
Desktop (please complete the following information):
2024.2.0
,s3fs 2023.12.2
, and2023.9.0
Additional context
example script (assuming bucket exists)
Error Message:
The text was updated successfully, but these errors were encountered: