Skip to content

Conversation

@fioan89
Copy link
Collaborator

@fioan89 fioan89 commented Dec 19, 2025

A mechanism to intercept expired certificate errors was introduced in previous releases. Upon intercept the a command was spawend to refresh the certs and then the request was retried again.

Unfortunately the interceptor mechanism had a big drawback, it only acts on an invalid response from the server. Most of the times the SSL handshake exceptions are raised much earlier, when the connection to the server is established. In this place the interceptor does not work.

A different approach was instead used. All http calls are now wrapped in an executor that is able to retry the request if there is an exception in any of the request lifecycle.

A mechanism to intercept expired certificate errors was
introduced in previous releases. Upon intercept the a
command was spawend to refresh the certs and then the request
was retried again.

Unfortunately the interceptor mechanism had a big drawback, it only
acts on an invalid response from the server. Most of the times the
SSL handshake exceptions are raised much earlier, when the connection
to the server is established. In this place the interceptor does
not work.

A different approach was instead used. All http calls are now wrapped
in an executor that is able to retry the request if there is an
exception in any of the request lifecycle.
@fioan89 fioan89 marked this pull request as ready for review December 19, 2025 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant