java.net.SocketTimeoutException: Read timed out

Stack Overflow | ruhungry | 5 months ago
  1. 0

    Spurious CI failures (tracking issue & possible solutions)

    GitHub | 1 year ago | msavy
    javax.servlet.ServletException: java.lang.RuntimeException: java.net.SocketTimeoutException: Read timed out
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Selenium Unreachable exception

    Stack Overflow | 2 years ago
    driver.version: RemoteWebDriver
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.SocketTimeoutException

    Read timed out

    at java.net.SocketInputStream.socketRead0()
  2. Java RT
    SocketInputStream.read
    1. java.net.SocketInputStream.socketRead0(Native Method)[?:1.8.0_92]
    2. java.net.SocketInputStream.socketRead(SocketInputStream.java:116)[?:1.8.0_92]
    3. java.net.SocketInputStream.read(SocketInputStream.java:170)[?:1.8.0_92]
    4. java.net.SocketInputStream.read(SocketInputStream.java:141)[?:1.8.0_92]
    4 frames
  3. Apache Http
    SessionInputBufferImpl.readLine
    1. org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)[httpcore-4.4.3.jar:4.4.3]
    2. org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155)[httpcore-4.4.3.jar:4.4.3]
    3. org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284)[httpcore-4.4.3.jar:4.4.3]
    3 frames
  4. Apache HttpClient
    DefaultHttpResponseParser.parseHead
    1. org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)[httpclient-4.5.jar:4.5]
    2. org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)[httpclient-4.5.jar:4.5]
    2 frames
  5. Apache Http
    DefaultBHttpClientConnection.receiveResponseHeader
    1. org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)[httpcore-4.4.3.jar:4.4.3]
    2. org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)[httpcore-4.4.3.jar:4.4.3]
    2 frames
  6. Apache HttpClient
    CPoolProxy.receiveResponseHeader
    1. org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167)[httpclient-4.5.jar:4.5]
    1 frame
  7. Apache Http
    HttpRequestExecutor.execute
    1. org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)[httpcore-4.4.3.jar:4.4.3]
    2. org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)[httpcore-4.4.3.jar:4.4.3]
    2 frames
  8. Apache HttpClient
    CloseableHttpClient.execute
    1. org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)[httpclient-4.5.jar:4.5]
    2. org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)[httpclient-4.5.jar:4.5]
    3. org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)[httpclient-4.5.jar:4.5]
    4. org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)[httpclient-4.5.jar:4.5]
    5. org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)[httpclient-4.5.jar:4.5]
    6. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)[httpclient-4.5.jar:4.5]
    7. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)[httpclient-4.5.jar:4.5]
    7 frames
  9. io.searchbox.client
    JestHttpClient.execute
    1. io.searchbox.client.http.JestHttpClient.executeRequest(JestHttpClient.java:109)[jest-2.0.3.jar:?]
    2. io.searchbox.client.http.JestHttpClient.execute(JestHttpClient.java:56)[jest-2.0.3.jar:?]
    2 frames
  10. pl.c.b
    ESRepository.<init>
    1. pl.c.b.core.persistance.es.ESRepository.createIndex(ESRepository.java:138)[classes/:?]
    2. pl.c.b.core.persistance.es.ESRepository.createIndexIfNotExists(ESRepository.java:129)[classes/:?]
    3. pl.c.b.core.persistance.es.ESRepository.<init>(ESRepository.java:61)[classes/:?]
    3 frames
  11. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[?:1.8.0_92]
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)[?:1.8.0_92]
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[?:1.8.0_92]
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)[?:1.8.0_92]
    4 frames
  12. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    2. org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    3. org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    7. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    8. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    9. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    10. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    11. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    12. org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    13. org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    14. org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    15. org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    16. org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    17. org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    18. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    19. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    20. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    21. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    22. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    23. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    24. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    25. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    26. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    26 frames
  13. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)[spring-context-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)[spring-context-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    2 frames
  14. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
    2. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766)[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
    3. org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361)[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:307)[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
    5. org.springframework.boot.SpringApplication.run(SpringApplication.java:1191)[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
    6. org.springframework.boot.SpringApplication.run(SpringApplication.java:1180)[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
    6 frames
  15. it.server
    TomcatServer.start
    1. it.server.TomcatServer.start(TomcatServer.java:15)[test-classes/:?]
    1 frame
  16. it
    CoreItTestServer.start
    1. it.CoreItTestServer.startTomcatAndMocks(CoreItTestServer.java:92)[test-classes/:?]
    2. it.CoreItTestServer.start(CoreItTestServer.java:53)[test-classes/:?]
    2 frames
  17. it.tests
    AbstractCoreItTest.startServices
    1. it.tests.AbstractCoreItTest.startServices(AbstractCoreItTest.java:152)[test-classes/:?]
    1 frame
  18. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_92]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_92]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_92]
    4. java.lang.reflect.Method.invoke(Method.java:498)[?:1.8.0_92]
    4 frames
  19. TestNG
    TestNG.run
    1. org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)[testng-6.8.8.jar:?]
    2. org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)[testng-6.8.8.jar:?]
    3. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)[testng-6.8.8.jar:?]
    4. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)[testng-6.8.8.jar:?]
    5. org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)[testng-6.8.8.jar:?]
    6. org.testng.SuiteRunner.run(SuiteRunner.java:254)[testng-6.8.8.jar:?]
    7. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)[testng-6.8.8.jar:?]
    8. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)[testng-6.8.8.jar:?]
    9. org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)[testng-6.8.8.jar:?]
    10. org.testng.TestNG.runSuitesLocally(TestNG.java:1149)[testng-6.8.8.jar:?]
    11. org.testng.TestNG.run(TestNG.java:1057)[testng-6.8.8.jar:?]
    11 frames
  20. org.apache.maven
    TestNGProvider.invoke
    1. org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:293)[surefire-testng-2.17.jar:2.17]
    2. org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:84)[surefire-testng-2.17.jar:2.17]
    3. org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:91)[surefire-testng-2.17.jar:2.17]
    3 frames
  21. SureFire
    ForkedBooter.main
    1. org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)[surefire-booter-2.17.jar:2.17]
    2. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)[surefire-booter-2.17.jar:2.17]
    3. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)[surefire-booter-2.17.jar:2.17]
    3 frames