java.net.SocketTimeoutException

connect timed out

Samebug tips1

Check for proxy misconfigurations and AWS issues.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web3690

  • via GitHub by george-angel
    , 3 weeks ago
    connect timed out\n"}
  • via GitHub by mibby
    , 10 months ago
    connect timed out
  • via GitHub by mhidas
    , 1 year ago
    connect timed out
  • Stack trace

    • java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method)[na:1.8.0_45] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)[na:1.8.0_45] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)[na:1.8.0_45] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)[na:1.8.0_45] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)[na:1.8.0_45] at java.net.Socket.connect(Socket.java:589)[na:1.8.0_45] at sun.net.NetworkClient.doConnect(NetworkClient.java:175)[na:1.8.0_45] at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)[na:1.8.0_45] at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)[na:1.8.0_45] at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)[na:1.8.0_45] at sun.net.www.http.HttpClient.New(HttpClient.java:308)[na:1.8.0_45] at sun.net.www.http.HttpClient.New(HttpClient.java:326)[na:1.8.0_45] at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1168)[na:1.8.0_45] at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1104)[na:1.8.0_45] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:998)[na:1.8.0_45] at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:932)[na:1.8.0_45] at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1512)[na:1.8.0_45] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)[na:1.8.0_45] at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)[na:1.8.0_45] at org.eclipse.che.api.core.rest.DefaultHttpJsonRequest.doRequest(DefaultHttpJsonRequest.java:245)[che-core-api-core-4.4.2.jar:4.4.2] at org.eclipse.che.api.core.rest.DefaultHttpJsonRequest.request(DefaultHttpJsonRequest.java:155)[che-core-api-core-4.4.2.jar:4.4.2] at org.eclipse.che.ApiEndpointAccessibilityChecker.start(ApiEndpointAccessibilityChecker.java:57)[wsagent-local-4.4.2.jar:4.4.2] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_45] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_45] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_45] at java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_45] at org.eclipse.che.inject.lifecycle.InitModule$1$1.afterInjection(InitModule.java:44)[che-core-commons-inject-4.4.2.jar:4.4.2] at com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:119)[guice-4.1.0.jar:na] at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:121)[guice-4.1.0.jar:na] at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)[guice-4.1.0.jar:na] at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)[guice-4.1.0.jar:na] at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)[guice-4.1.0.jar:na] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)[guice-4.1.0.jar:na] at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)[guice-4.1.0.jar:na] at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)[guice-4.1.0.jar:na] at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)[guice-4.1.0.jar:na] at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:205)[guice-4.1.0.jar:na] at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:199)[guice-4.1.0.jar:na] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1085)[guice-4.1.0.jar:na] at com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:199)[guice-4.1.0.jar:na] at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180)[guice-4.1.0.jar:na] at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)[guice-4.1.0.jar:na] at com.google.inject.Guice.createInjector(Guice.java:99)[guice-4.1.0.jar:na] at org.everrest.guice.servlet.EverrestGuiceContextListener.getInjector(EverrestGuiceContextListener.java:137)[everrest-integration-guice-1.12.3.jar:na] at com.google.inject.servlet.GuiceServletContextListener.contextInitialized(GuiceServletContextListener.java:47)[guice-servlet-4.1.0.jar:na] at org.everrest.guice.servlet.EverrestGuiceContextListener.contextInitialized(EverrestGuiceContextListener.java:84)[everrest-integration-guice-1.12.3.jar:na] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812)[catalina.jar:8.0.32] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5255)[catalina.jar:8.0.32] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)[catalina.jar:8.0.32] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)[catalina.jar:8.0.32] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)[catalina.jar:8.0.32] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)[catalina.jar:8.0.32] at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:939)[catalina.jar:8.0.32] at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1812)[catalina.jar:8.0.32] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[na:1.8.0_45] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_45] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_45] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_45]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 1 day ago
    Unknown user
    Once, 5 months ago
    32 times, 5 months ago
    3 times, 6 months ago
    Unknown user
    Once, 10 months ago
    73 more bugmates