← Winnitude! Search  ·  Reader Mode (1762 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 54 LINKS

Upgrade httpclient by Sineaggi · Pull Request #2293 · docker-java/docker-java

Repository navigation

Upgrade httpclient - #2293


Closed
Sineaggi wants to merge 4 commits into docker-java:main from Sineaggi:upgrade-httpclient
Closed

Upgrade httpclient #2293 Sineaggi wants to merge 4 commits into docker-java:main from Sineaggi:upgrade-httpclient

Conversation

Sineaggi commented Jan 10, 2024 · edited Loading



Copy link Copy Markdown
Contributor

Upgrade httpclient5 to latest version.

strangelookingnerd mentioned this pull request Jan 16, 2024 Update org.apache.httpcomponents.client5:httpclient5 to >= 5.3.1 #2262 Closed Upgrade httpclient 7ddd738 Sineaggi force-pushed the upgrade-httpclient branch from b38714a to 7ddd738
Compare
February 26, 2024 19:24 Sineaggi marked this pull request as ready for review February 27, 2024 22:15 Sineaggi requested a review from a team as a code owner February 27, 2024 22:15 Sineaggi added 2 commits February 27, 2024 15:15 Merge branch 'main' into upgrade-httpclient 0f27e1c Merge branch 'main' into upgrade-httpclient e6cd49d

Sineaggi commented Aug 3, 2024



Copy link Copy Markdown
Contributor

Author

If #2272 was merged, we could close this.

Update pom.xml bf31f51
Upgrade httpclient to latest version.
strangelookingnerd mentioned this pull request Oct 22, 2024 Update httpcore.version to v5.3.1 jenkinsci/apache-httpcomponents-client-5-api-plugin#61 Merged 1 task

brian-mulier-p commented Oct 24, 2024



Copy link Copy Markdown

FYI there seems to be an issue on the v5.4 of this dep in case you're planning to update to it... Was a nightmare to debug but we had a transitive dependency from opensearch client that brought this dep to v5.4 and our whole docker is broken due to unability to communicate with the socket

org.apache.hc.client5.http.HttpHostConnectException: Connect to unix://localhost:2375 [localhost/127.0.0.1] failed: Connection refused
java.lang.RuntimeException: org.apache.hc.client5.http.HttpHostConnectException: Connect to unix://localhost:2375 [localhost/127.0.0.1] failed: Connection refused
	at com.github.dockerjava.httpclient5.ApacheDockerHttpClientImpl.execute(ApacheDockerHttpClientImpl.java:210)
	at com.github.dockerjava.httpclient5.ApacheDockerHttpClient.execute(ApacheDockerHttpClient.java:9)
	at com.github.dockerjava.core.DefaultInvocationBuilder.execute(DefaultInvocationBuilder.java:228)
	at com.github.dockerjava.core.DefaultInvocationBuilder.lambda$executeAndStream$1(DefaultInvocationBuilder.java:269)
	at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: org.apache.hc.client5.http.HttpHostConnectException: Connect to unix://localhost:2375 [localhost/127.0.0.1] failed: Connection refused
	at java.base/sun.nio.ch.Net.pollConnect(Native Method)
	at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:682)
	at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:542)
	at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:592)
	at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
	at java.base/java.net.Socket.connect(Socket.java:751)
	at org.apache.hc.client5.http.impl.io.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:216)
	at org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:490)
	at org.apache.hc.client5.http.impl.classic.InternalExecRuntime.connectEndpoint(InternalExecRuntime.java:164)
	at org.apache.hc.client5.http.impl.classic.InternalExecRuntime.connectEndpoint(InternalExecRuntime.java:174)
	at org.apache.hc.client5.http.impl.classic.ConnectExec.execute(ConnectExec.java:144)
	at org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51)
	at org.apache.hc.client5.http.impl.classic.ProtocolExec.execute(ProtocolExec.java:192)
	at org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51)
	at org.apache.hc.client5.http.impl.classic.ContentCompressionExec.execute(ContentCompressionExec.java:150)
	at org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51)
	at org.apache.hc.client5.http.impl.classic.HttpRequestRetryExec.execute(HttpRequestRetryExec.java:113)
	at org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51)
	at org.apache.hc.client5.http.impl.classic.RedirectExec.execute(RedirectExec.java:110)
	at org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51)
	at org.apache.hc.client5.http.impl.classic.InternalHttpClient.doExecute(InternalHttpClient.java:174)
	at org.apache.hc.client5.http.impl.classic.CloseableHttpClient.execute(CloseableHttpClient.java:87)
	at com.github.dockerjava.httpclient5.ApacheDockerHttpClientImpl.execute(ApacheDockerHttpClientImpl.java:206)
	... 4 common frames omitted

basil commented Oct 28, 2024



Copy link Copy Markdown

FYI there seems to be an issue on the v5.4 of this dep in case you're planning to update to it... Was a nightmare to debug but we had a transitive dependency from opensearch client that brought this dep to v5.4 and our whole docker is broken due to unability to communicate with the socket

#2363 FTR

eddumelendez commented Apr 1, 2025



Copy link Copy Markdown
Member

Thanks for your contribution, @Sineaggi . This has been addressed via #2364

eddumelendez closed this Apr 1, 2025 Sineaggi deleted the upgrade-httpclient branch April 1, 2025 19:50 Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment

Labels

None yet

4 participants