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

  1. ,
    Expert tip

    Check for proxy misconfigurations and AWS issues.

Solutions on the web

via GitHub by TwoStone
, 1 year ago
java.net.SocketTimeoutException: connect timed out
java.net.SocketTimeoutException: connect timed out	at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)	at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)	at java.net.Socket.connect(Socket.java:579)	at okhttp3.internal.platform.Platform.connectSocket(Platform.java:124)	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:187)	at okhttp3.internal.connection.RealConnection.buildConnection(RealConnection.java:173)	at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:114)	at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:193)	at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:129)	at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:98)	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:109)	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:124)	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)	at com.pokegoapi.auth.PtcLogin$2.intercept(PtcLogin.java:86)	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)	at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:170)	at okhttp3.RealCall.execute(RealCall.java:60)	at com.pokegoapi.auth.PtcLogin.login(PtcLogin.java:122)	at com.pokegoapi.examples.CatchPokemonAtAreaExample.main(CatchPokemonAtAreaExample.java:57)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)