-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Retry disabled on "read: connection reset" #3971
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
Comments
This issue has been raised before in several GitHub issues, so for simplicity I will link the corresponding reasoning on why the SDK does not retry the If in the context of your application the operation in question is idempotent and safe to retry then you may wish to implement a custom retryer that allows retrying for this specific error condition. See the aws/request#Retryer) interface. |
This issue has not received a response in 1 week. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled. |
Thanks Sean. If I could suggest one action on the AWS side that might reduce the incidence of these bug reports and help other devs understand the idempotency point you're making, it would be: Could you add a comment in the code, with a one-liner explanation of which |
sounds like a good idea @vcschapp , |
My preference would be for you to handle it. |
Has this been fixed? |
Comments on closed issues are hard for our team to see. |
Confirm by changing [ ] to [x] below to ensure that it's a bug:
Describe the bug
Retry strategy does not retry when remote host causes "read: connection reset".
Version of AWS SDK for Go?
Example: v1.20.2 .. v1.38.65 inclusive
Version of Go (
go version
)?1.15+, but the version of Go isn't really relevant here
To Reproduce (observed behavior)
MaxRetry
> 0RequestError: send request failed\ncaused by: Post \"https://<service>.<region>.amazonaws.com/records\": read tcp 169.254.76.1:35798->52.94.227.177:443: read: connection reset by peer
Expected behavior
It should retry.
Additional context
The text was updated successfully, but these errors were encountered: