aws-sdk-rust
aws-sdk-rust copied to clipboard
Retry for Hyper Errors [unexpected EOF, SSLShutdown]
trafficstars
Describe the feature
When forming many client connections we get the following errors:
unrecognized error from Hyper. If this error should be retried, please file an issue. err=error trying to connect: the SSL session has been shut down: the SSL session has been shut down (hyper::Error(Connect, Ssl(Error { code: ErrorCode(6), cause: None }, X509VerifyResult { code: 0, error: "ok" })))
and
unrecognized error from Hyper. If this error should be retried, please file an issue. err=error trying to connect: unexpected EOF: unexpected EOF (hyper::Error(Connect, Ssl(Error { code: ErrorCode(5), cause: None }, X509VerifyResult { code: 0, error: "ok" })))
Use Case
We should still be able to retry if we make too many client connections and our host shut downs our sockets.
Proposed Solution
We should retry these errors as transient errors here.
Other Information
No response
Acknowledgements
- [X] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
A note for the community
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue, please leave a comment