chore: retry CURLE_SSL_CONNECT_ERROR failures - #2972
Conversation
|
@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. |
|
Hi @annuh, Really sorry for the extreme delay here. We've done some work on retries lately and I would be open to having this as an opt-in only: SSL connect should not be retried by default because it typically indicates a permanent configuration or handshake failure rather than a temporary network glitch. We are switching to |
This PR enables retries of the
CURLE_SSL_CONNECT_ERRORfailure.Our application randomly encounters these errors:
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.