org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 3000 ms

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JFrog JIRA by Tal Abramson, 1 year ago
The host did not accept the connection within timeout of 3000 ms
via JFrog JIRA by Tal Abramson, 1 year ago
The host did not accept the connection within timeout of 3000 ms
via hc-httpclient-users by Oleg Kalnichevski, 1 year ago
The host did not accept the connection within timeout of 100 ms
via socketheadstudios.com by Unknown author, 2 years ago
The host did not accept the connection within timeout of 10000 ms
via GitHub by gerwinjansen
, 11 months ago
The host did not accept the connection within timeout of 150 ms
via GitHub by rodolpheche
, 1 year ago
The host did not accept the connection within timeout of 30000 ms
java.net.SocketTimeoutException: connect timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:520)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.artifactory.cli.common.UrlBasedCommand.executeMethod(UrlBasedCommand.java:240)
at org.artifactory.cli.common.UrlBasedCommand.get(UrlBasedCommand.java:154)
at org.artifactory.cli.common.UrlBasedCommand.get(UrlBasedCommand.java:145)
at org.artifactory.cli.command.InfoCommand.execute(InfoCommand.java:28)
at org.artifactory.cli.main.ArtifactoryCli.main(ArtifactoryCli.java:73)

Users with the same issue

Once, 2 days ago
Once, 5 days ago
18 times, 3 weeks ago
16 times, 1 month ago
8 times, 1 month ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.