java.net.SocketTimeoutException: connect timed out

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

Samebug tips

,
Expert tip

Check for proxy misconfigurations and AWS issues.

Solutions on the web

via GitHub by ghost
, 1 year ago
via GitHub by dmitrikudrenko
, 9 months ago
via GitHub by buep
, 3 days ago
via GitHub by kypeli
, 2 years ago
via Stack Overflow by navatha
, 4 months ago
java.net.SocketTimeoutException: connect timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at okhttp3.internal.Platform.connectSocket(Platform.java:126)
at okhttp3.internal.io.RealConnection.connectSocket(RealConnection.java:140)
at okhttp3.internal.io.RealConnection.connect(RealConnection.java:111)
at okhttp3.internal.http.StreamAllocation.findConnection(StreamAllocation.java:188)
at okhttp3.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:127)
at okhttp3.internal.http.StreamAllocation.newStream(StreamAllocation.java:97)
at okhttp3.internal.http.HttpEngine.connect(HttpEngine.java:289)
at okhttp3.internal.http.HttpEngine.sendRequest(HttpEngine.java:241)
at okhttp3.RealCall.getResponse(RealCall.java:240)
at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:198)
at org.rundeck.client.util.FormAuthInterceptor.authenticate(FormAuthInterceptor.java:65)
at org.rundeck.client.util.FormAuthInterceptor.intercept(FormAuthInterceptor.java:46)
at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:187)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:160)
at okhttp3.RealCall.execute(RealCall.java:57)
at retrofit2.OkHttpCall.execute(OkHttpCall.java:174)
at org.rundeck.client.util.Client.checkError(Client.java:72)
at org.rundeck.client.tool.commands.RDSystem.info(RDSystem.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.simplifyops.toolbelt.ToolBelt$MethodInvoker.run(ToolBelt.java:656)
at com.simplifyops.toolbelt.ToolBelt$CommandSet.runCommand(ToolBelt.java:406)
at com.simplifyops.toolbelt.ToolBelt$CommandSet.run(ToolBelt.java:285)
at com.simplifyops.toolbelt.ToolBelt$CommandSet.runCommand(ToolBelt.java:406)
at com.simplifyops.toolbelt.ToolBelt$CommandSet.run(ToolBelt.java:285)
at com.simplifyops.toolbelt.ToolBelt$CommandSet.runMain(ToolBelt.java:248)
at org.rundeck.client.tool.App.main(App.java:20)

Users with the same issue

Once, 1 week ago
Once, 1 week ago
18 times, 1 month 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.