Skip to content
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

Closed
dtbaum opened this issue Jul 7, 2023 · 0 comments · Fixed by #5359
Closed

Race condition #5358

dtbaum opened this issue Jul 7, 2023 · 0 comments · Fixed by #5359

Comments

@dtbaum
Copy link
Contributor

dtbaum commented Jul 7, 2023

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

dtbaum added a commit to dtbaum/jersey that referenced this issue Jul 7, 2023
Fix for the race condition:
eclipse-ee4j#5358
dtbaum added a commit to dtbaum/jersey that referenced this issue Jul 7, 2023
Fixed race condition, see:
 eclipse-ee4j#5358
@dtbaum dtbaum mentioned this issue Jul 7, 2023
@jansupol jansupol linked a pull request Oct 11, 2023 that will close this issue
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 a pull request may close this issue.

1 participant