Skip to content

chore: retry CURLE_SSL_CONNECT_ERROR failures #2972

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

annuh
Copy link
Contributor

@annuh annuh commented Jul 30, 2024

This PR enables retries of the CURLE_SSL_CONNECT_ERROR failure.

Our application randomly encounters these errors:

AWS HTTP error: cURL error 35: Send failure: Connection reset by peer (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)

After a retry, it works. Since this failure should be safe to retry, I think it's a good idea to make the AWS SDK automatically retry this failure using the existing logic.

This could also fix #1546.

@annuh annuh marked this pull request as ready for review July 30, 2024 13:00
@annuh
Copy link
Contributor Author

annuh commented Nov 7, 2024

@stobrien89 this PR is open for quite some time. I understand this isn't an urgent issue, but our application still encounters this problem, from time to time.
Could you maybe take a look at this PR someday? 🙂 Thanks in advance!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Random AWS HTTP error: cURL error 35
1 participant