-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Please set default socket timeout for ApacheHttpClient #586
Comments
Btw: I would like to provide a PR but |
@leozilla sorry to hear that. perhaps you can start with contributing solutions to the "ton of errors" you are seeing |
@ptrthomas does |
@leozilla yes
|
latest builds fine for me too. |
nevermind, just attempted fix |
0.9.0 released |
Looking into
ApacheHttpClient
only the following timeout options are set:This has as a consequence that HTTPS requests can hang forever during the HTTPS handshake!
The stack trace can be seen in this ticket and I had the same problem today which I could easily reproduce with our auth service which does not finish the HTTPS handshake for whatever reason.
To fix this, just set a default socket config and specify the SoTimeout
The text was updated successfully, but these errors were encountered: