After updating an EC2 app to v3.7.101.61 of AWSSDK.S3, uploading to S3 results in signature error. V4.x.x.x gives the same result. #3821
Labels
bug
This issue is a bug.
investigating
This issue is being investigated and/or work is in progress to resolve the issue.
p2
This is a standard priority issue
s3
Describe the bug
My ASP.NET core app runs on an EC2 instance. No specific credentials are provided in the configuration.
After updating the AWS SDK from v3 to v4, I get the following error when the app tries to upload an object to S3:
Regression Issue
Expected Behavior
It should work like it did previously.
Current Behavior
Object upload to S3 fails.
Reproduction Steps
Service configuration in Startup.cs looks like this:
Configuration section in appsettings.json looks like this:
Possible Solution
No response
Additional Information/Context
No code was changed.
No permissions were changed.
EC2 Instance role is the same.
AWS .NET SDK and/or Package version used
Previous package versions:
New package versions (where the error occurs):
Targeted .NET Platform
.NET 9
Operating System and version
64bit Amazon Linux 2023 v3.4.1 running .NET 9
The text was updated successfully, but these errors were encountered: