Replies: 1 comment
-
Can you enable the verbose wirelogs? I think S3 sends extra information in 301 response body that the SDK is not able to add to the error message. Instructions on how to enable verbose wirelogs can be found in our Developer Guide - https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/logging-slf4j.html#sdk-java-logging-verbose Also, keep in mind that if you are using a third-party integration with s3 (and not s3 endpoints directly) the issue might be on the third-party side, and those are not in scope of this support channel. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Previously, the client was used to work with S3:
implementation("com.amazonaws:aws-java-sdk-s3:1.11.939")
The client was configured like this:
Then I needed an asynchronous s3 client and I decided to migrate to v2.0:
The client was configured like this:
Сredits, endpoint and region did not change.
When viewing the contents of the bucket, I get exceptions:
software.amazon.awssdk.services.s3.model.S3Exception: null (Service: S3, Status Code: 301, Request ID: null) java.lang.Throwable: java.util.concurrent.CompletionException: software.amazon.awssdk.services.s3.model.S3Exception: null (Service: S3, Status Code: 301, Request ID: null)
Request log:
Beta Was this translation helpful? Give feedback.
All reactions