-
Notifications
You must be signed in to change notification settings - Fork 863
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
AmazonS3 PutObjectAsync
is uploading object, but throws "AmazonS3Exception" after hanging for some time
#3653
Comments
Just to confirm, are you using actual S3 or a 3rd party implementation? We made a change last month (#3610) so that the SDK automatically calculates checksums when objects are uploaded (but unfortunately some 3rd party implementations do not support this functionality yet). If it’s S3, we need more details (which region, what does the image input look like, etc…) |
Here's what I get when trying your example targeting a bucket in
I enabled the debug logging by adding these lines to my
|
We are actually using a 3rd party implementation locally (S3-Ninja). I've been trying to recreate it using a real S3 bucket, and it seems to work as expected. So i guess it is related to the 3rd party, as you mention. Sorry about that, i thought the issue was related to this package... I will replace the S3-Ninja with an actual S3 bucket for local development, so we get closer to a replication of our production environment during development. Thanks for the quick answers! |
Comments on closed issues are hard for our team to see. |
Describe the bug
We've recently updated the AWSSDK.S3 NuGet package from version 3.7.310.1 to version 3.7.413, but this causes the
PutObjectAsync
method to hang for some time and then throw anAmazonS3Exception
with messageError making request with Error Code InternalServerError and Http Status Code InternalServerError. No further error information was returned by the service.
We can see the object are uploaded to the S3 bucket.
Regression Issue
Expected Behavior
The files are uploaded and the method is returning a
Task<PutObjectResponse>
Current Behavior
The files are uploaded and the method is hanging for a long time, and then throws an
AmazonS3Exception
with messageError making request with Error Code InternalServerError and Http Status Code InternalServerError. No further error information was returned by the service.
Reproduction Steps
Possible Solution
No response
Additional Information/Context
Our workaround for now is to use
AWSSDK.S3 3.7.310.1
AWS .NET SDK and/or Package version used
AWSSDK.S3 3.7.413
Targeted .NET Platform
.NET 8
Operating System and version
OSX Sequoia 15.3
The text was updated successfully, but these errors were encountered: