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

apache5-connector isn't compatible with httpclient 5.4 #5790

Open
cykl opened this issue Nov 6, 2024 · 1 comment
Open

apache5-connector isn't compatible with httpclient 5.4 #5790

cykl opened this issue Nov 6, 2024 · 1 comment

Comments

@cykl
Copy link

cykl commented Nov 6, 2024

apache5-connector currently depends on httpclient5 5.3.1. While troubleshooting a misbehaving application today, I figured out the root cause was that httpclient5 had been bumped to 5.4 by another transitive dependency. Observed behavior is that some calls end up with a SocketReadTimeoutException.

I then tried to bump httpclient5 to 5.4 in Jersey repo and run mvn -T1C package -pl connectors/apache5-connector for both 2.45 and 3.1.9 which resulted in multiple test failures. All tests pass when running with 5.3.1.

I have not yet figured the root cause of the regression.

It would be nice to address this issue in next Jersey release to ensure that clients can safely use latest httpclient5.

@cykl
Copy link
Author

cykl commented Nov 6, 2024

Bisecting httpclient5 releases suggests that tests start failing with 5.4-alpha2, https://github.com/apache/httpcomponents-client/blob/master/RELEASE_NOTES.txt#L123

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

No branches or pull requests

1 participant