-
Notifications
You must be signed in to change notification settings - Fork 864
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
Since AWSSDK.S3 3.7.412 our putObjectAsyc(...) method is broken #3615
Comments
Are you using S3 or is your You can also enable debug logs to see the exact request the SDK is making (if you want to compare before and after version using Amazon;
using Amazon.Runtime;
using Amazon.Runtime.CredentialManagement;
using Amazon.S3;
AWSConfigs.LoggingConfig.LogTo = LoggingOptions.Console;
AWSConfigs.LoggingConfig.LogMetricsFormat = LogMetricsFormatOption.JSON;
AWSConfigs.LoggingConfig.LogResponses = ResponseLoggingOption.Always;
AWSConfigs.LoggingConfig.LogMetrics = true;
using var s3 = new AmazonS3Client();
await s3.PutObjectAsync(...); |
This is the difference between requests after the S3 default integrity update: Before:
After:
@SteveW94 This still works as expected when using Amazon S3, but I wonder if the implementation you're using doesn't handle the change in the |
Thank you for your fast answer. To do likewise, I can say, we use the well established MinIO library/implementation |
I see. MinIO doesn't support the new checksum functionality yet, although they have an open issue to address that: minio/minio#20845 For now, your options are:
|
Thanks a lot for the fast clarification. I think this can be closed already with that :) |
Comments on closed issues are hard for our team to see. |
Describe the bug
Hi,
we use a rather simple putting method (getting method looks similar) to put objects in our blob-storage.
Content-Type="text/plain"
It worked fine, since ages.
Since version 3.7.412 it is broken and produces the following error every time:
"The provided 'x-amz-content-sha256' header does not match what was computed"
The version before, 3.7.411.7 works just fine as expected with absolutely no code change
Regression Issue
Expected Behavior
Objects get putted and retrieved from and to the blobstorage
Current Behavior
"The provided 'x-amz-content-sha256' header does not match what was computed" Exception occurs
Reproduction Steps
Use putObjectAsync() Method as described above for example
Possible Solution
No response
Additional Information/Context
No response
AWS .NET SDK and/or Package version used
AWSSDK.S3 3.7.412
Targeted .NET Platform
.NET6
Operating System and version
Windows 10
The text was updated successfully, but these errors were encountered: