-
Notifications
You must be signed in to change notification settings - Fork 800
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
Crt transfer manager fails when uploading file #3982
Comments
@Lunkers does it happen every time? |
No, it only happens consistently with a certain kind of xml-based file format. I'll provide verbose logs once back at work tomorrow. |
Here are some logs for a failed request:
Not too much information here sadly, maybe the tracing doesn't log everything to the ID? |
Regardless, it seems to be an issue with the server I'm trying to upload to rather than the SDK in this case, so I think we can close the issue. EDIT: Maybe not actually. A colleague provided the following server logs:
@debora-ito does the sdk have some default encoding set when uploading? The files I'm trying to upload all contain UTF-8 text. |
Some updates: I've tested the same method towards a different endpoint (on-prem minio), and received another error there (sha256 not matching); I started considering if the fact that the failing files have double file extensions was the problem, since |
We found that the issue was on the server side after all, some sort of bug with checksum validation. Disabling validation on our s3 client solved the issue. |
|
Describe the bug
I'm trying to upload a file to an s3 bucket using the S3 SDK and crt library. Once the transfer finishes, I get the following error:
software.amazon.awssdk.core.exception.SdkClientException: Failed to send the request: Response code indicates internal server error
. I'm able to upload the same file using the same credentials with the CLI, so I'm inclined to believe something might be wrong with the library.Expected Behavior
The file should be transferred without issue.
Current Behavior
The transfer fails at 100% with the error
software.amazon.awssdk.core.exception.SdkClientException: Failed to send the request: Response code indicates internal server error
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
AWS Java SDK version used
2.20.62
JDK version used
11
Operating System and version
Ubuntu 22.04.2 Jammy
The text was updated successfully, but these errors were encountered: