-
Notifications
You must be signed in to change notification settings - Fork 356
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
Race condition #5358
Comments
Fix for the race condition: eclipse-ee4j#5358
Fixed race condition, see: eclipse-ee4j#5358
@senivam @jansupol @dtbaum Please note that this change has been having a drastic impact on performance, in particular when using Jersey client for multiple services: Only one connection can be created at a time, across all routes. If the intention had been to just synchronize See #5738 for performance impact in practice. |
When the first GET request is in progress, all parallel requests from other Jersey clients, in other threads, fail with SSLHandshakeException: PKIX path building failed.
Once the first GET request is completed, all subsequent requests work without error.
Here is the code which demonstrates this issue:
https://github.com/dtbaum/jersey-bug-report
The fix in HttpUrlConnector.java solved the issue, see pull request #5359.
Affected versions: at least 3.1.2 & OpenJDK17 and 2.37 & OpenJDK 8
The text was updated successfully, but these errors were encountered: