-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
CRC32 check failed, marked as retryable but actually request will not be repeated #981
Comments
Hi @srkimir Also, just to get more information about your case, what version of the SDK and what version of Node are you using? |
@LiuJoyceC Problem happens occasionally, code example that i have posted sometimes yields Im using Node
If err exists, no matter how you force it, you should never have |
@srkimir When a crc32 check fails, the request should be retried, up to 10 times by default. How are you checking that a request is repeated? The callback you pass to const dynamodb = new AWS.DynamoDB({
accessKeyId: '...',
secretAccessKey: '...',
region: '...',
logger: console
}); I agree with you that You posted the API version of the DynamoDB client you're using, can you also post what version of the SDK you're using? One way to find out is by logging a. https://github.com/aws/aws-sdk-js/blob/master/lib/services/dynamodb.js#L19 |
@chrisradek thank you on you response I didn't check that request was repeated, i will try to force error again and to check it. |
@srkimir I hope that clarifies the behavior you're seeing! |
@chrisradek thanks on very good explanation
Only thing that left unclear and it should be fixed |
The @srkimir Were you able to verify if your request is being retried? Thanks |
Upon further investigation, it's correct to keep |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread. |
Will produce this error:
In the first place why
CRC32CheckFailed
happens at all? Second, as far as i knowmaxRetries
defaults to10
, whenCRC32CheckFailed
happens it will returnstatusCode
equal to200
withretryable: true
, but i don't see any repeated requests. Shouldn't request be repeated?Third, most important, even
if(err)
resolve totrue
, second parameter,data
is also defined and actually it will return good results. How is that possible? That should never happen iferr
existsThe text was updated successfully, but these errors were encountered: