-
Notifications
You must be signed in to change notification settings - Fork 853
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
Getting occasional Crc32MismatchException using DynamoDbClient #5240
Comments
@dev-k13 Good timing, a fix for this went out last week: https://github.com/aws/aws-sdk-java-v2/blob/master/CHANGELOG.md#aws-sdk-for-java-v2-1 Please upgrade to Java SDK version >= 2.25.55, and let us know if you still experience the error afterwards. |
@debora-ito thanks for the prompt update. We will plan for upgrade. However, just wanted to clarify, the changelog for the bugfix states:
Does this mean that prior the 2.25.55 fix, checksum validation is being triggered when an error occurs during read and upgrading to 2.25.55 will possibly show the underlying error causing the incomplete response? |
Yes, here's the PR for reference: #5224 In one case that we analyzed, "I/O error: Read timed out" was the error that triggered the checksum calculation, and the "Read timed out" message was logged at DEBUG level. |
Okay, we will upgrade and see how it goes. Thanks, @debora-ito! |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Describe the bug
We are getting Crc32MismatchException when doing a query to DynamoDB from our application. Happened only on few occasions but most of the time it is working fine.
On the two instances that this exception occurred, application was only retrieving 14596 bytes and 224264 bytes. For the instance that was reading 14596 bytes, read was successful after performing a retry.
Expected Behavior
Query from DynamoDB without getting checksum validation error.
Current Behavior
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
AWS Java SDK version used
2.19.17
JDK version used
17
Operating System and version
Amazon Linux
The text was updated successfully, but these errors were encountered: