java.net.SocketTimeoutException: Read timed out

Sonatype JIRA | Benjamin Hanzelmann | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    org.sonatype.nexus.integrationtests.nexus3615.Nexus3615ArtifactInfoProviderIT.@BeforeMethod oncePerClassSetUp https://builds.sonatype.org/job/nexus-oss-its/204/jdk=java-6x,label=win/testReport/junit/org.sonatype.nexus.integrationtests.nexus3615/Nexus3615ArtifactInfoProviderIT/_BeforeMethod_oncePerClassSetUp/ {code} Error Message Read timed out Stacktrace java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at org.apache.commons.httpclient.HttpParser.readRawLine(Unknown Source) at org.apache.commons.httpclient.HttpParser.readLine(Unknown Source) at org.apache.commons.httpclient.HttpConnection.readLine(Unknown Source) at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(Unknown Source) at org.apache.commons.httpclient.HttpMethodBase.readResponse(Unknown Source) at org.apache.commons.httpclient.HttpMethodBase.execute(Unknown Source) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source) at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source) at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source) at org.sonatype.nexus.integrationtests.NexusRestClient.executeHTTPClientMethod(NexusRestClient.java:673) at org.sonatype.nexus.integrationtests.NexusRestClient.executeHTTPClientMethod(NexusRestClient.java:634) at org.sonatype.nexus.test.utils.DeployUtils.deployUsingPomWithRestReturnResult(DeployUtils.java:183) at org.sonatype.nexus.test.utils.DeployUtils.deployUsingPomWithRest(DeployUtils.java:194) at org.sonatype.nexus.test.utils.DeployUtils.deployUsingPomWithRest(DeployUtils.java:129) at org.sonatype.nexus.integrationtests.nexus3615.AbstractArtifactInfoIT.deployArtifacts(AbstractArtifactInfoIT.java:44) at org.sonatype.nexus.integrationtests.AbstractNexusIntegrationTest.oncePerClassSetUp(AbstractNexusIntegrationTest.java:383) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:158) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:98) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) ... Removed 27 stack frames {code}

    Sonatype JIRA | 5 years ago | Benjamin Hanzelmann
    java.net.SocketTimeoutException: Read timed out
  2. 0

    Failed org.sonatype.nexus.integrationtests.nexus3546.Nexus3546ValidateTransitivePrivsOnGroupsIT.validateGroupsInGroups (from Nexus3546ValidateTransitivePrivsOnGroupsIT) https://builds.sonatype.org/job/nexus-oss-its/337/jdk=java-6x,label=win/testReport/junit/org.sonatype.nexus.integrationtests.nexus3546/Nexus3546ValidateTransitivePrivsOnGroupsIT/validateGroupsInGroups/ {code} Error Message Read timed out Stacktrace java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at org.apache.commons.httpclient.HttpParser.readRawLine(Unknown Source) at org.apache.commons.httpclient.HttpParser.readLine(Unknown Source) at org.apache.commons.httpclient.HttpConnection.readLine(Unknown Source) at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(Unknown Source) at org.apache.commons.httpclient.HttpMethodBase.readResponse(Unknown Source) at org.apache.commons.httpclient.HttpMethodBase.execute(Unknown Source) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source) at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source) at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source) at org.sonatype.nexus.integrationtests.NexusRestClient.executeHTTPClientMethod(NexusRestClient.java:673) at org.sonatype.nexus.integrationtests.NexusRestClient.executeHTTPClientMethod(NexusRestClient.java:634) at org.sonatype.nexus.test.utils.DeployUtils.deployUsingGavWithRest(DeployUtils.java:118) at org.sonatype.nexus.test.utils.DeployUtils.deployUsingGavWithRest(DeployUtils.java:85) at org.sonatype.nexus.integrationtests.nexus3546.Nexus3546ValidateTransitivePrivsOnGroupsIT.prepare(Nexus3546ValidateTransitivePrivsOnGroupsIT.java:68) at org.sonatype.nexus.integrationtests.nexus3546.Nexus3546ValidateTransitivePrivsOnGroupsIT.validateGroupsInGroups(Nexus3546ValidateTransitivePrivsOnGroupsIT.java:41) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:158) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:98) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) ... Removed 26 stack frames {code}

    Sonatype JIRA | 5 years ago | Benjamin Hanzelmann
    java.net.SocketTimeoutException: Read timed out
  3. 0

    Regression org.sonatype.nexus.integrationtests.nexus1954.Nexus1954DeletedArtifactsFullIndexIT.indexTest https://builds.sonatype.org/job/nexus-oss-its/204/jdk=java-6x,label=linux/testReport/junit/org.sonatype.nexus.integrationtests.nexus1954/Nexus1954DeletedArtifactsFullIndexIT/indexTest/ {code} Error Message Read timed out Stacktrace java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at org.apache.commons.httpclient.HttpParser.readRawLine(Unknown Source) at org.apache.commons.httpclient.HttpParser.readLine(Unknown Source) at org.apache.commons.httpclient.HttpConnection.readLine(Unknown Source) at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(Unknown Source) at org.apache.commons.httpclient.HttpMethodBase.readResponse(Unknown Source) at org.apache.commons.httpclient.HttpMethodBase.execute(Unknown Source) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source) at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source) at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source) at org.sonatype.nexus.integrationtests.NexusRestClient.executeHTTPClientMethod(NexusRestClient.java:673) at org.sonatype.nexus.integrationtests.NexusRestClient.executeHTTPClientMethod(NexusRestClient.java:634) at org.sonatype.nexus.test.utils.DeployUtils.deployUsingGavWithRest(DeployUtils.java:118) at org.sonatype.nexus.test.utils.DeployUtils.deployUsingGavWithRest(DeployUtils.java:85) at org.sonatype.nexus.integrationtests.nexus1954.AbstractDeleteArtifactsIT.deployArtifact(AbstractDeleteArtifactsIT.java:121) at org.sonatype.nexus.integrationtests.nexus1954.AbstractDeleteArtifactsIT.indexTest(AbstractDeleteArtifactsIT.java:82) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:158) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:98) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) ... Removed 26 stack frames {code}

    Sonatype JIRA | 5 years ago | Benjamin Hanzelmann
    java.net.SocketTimeoutException: Read timed out
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Help preventing SocketTimeOut in WebService

    geronimo-user | 9 years ago | Jarek Gawor
    javax.xml.ws.WebServiceException: java.net.SocketTimeoutException: Read timed out
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
    BufferedInputStream.read
    1. java.net.SocketInputStream.socketRead0(Native Method)
    2. java.net.SocketInputStream.read(SocketInputStream.java:129)
    3. java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
    4. java.io.BufferedInputStream.read(BufferedInputStream.java:237)
    4 frames
  3. HttpClient
    HttpClient.executeMethod
    1. org.apache.commons.httpclient.HttpParser.readRawLine(Unknown Source)
    2. org.apache.commons.httpclient.HttpParser.readLine(Unknown Source)
    3. org.apache.commons.httpclient.HttpConnection.readLine(Unknown Source)
    4. org.apache.commons.httpclient.HttpMethodBase.readStatusLine(Unknown Source)
    5. org.apache.commons.httpclient.HttpMethodBase.readResponse(Unknown Source)
    6. org.apache.commons.httpclient.HttpMethodBase.execute(Unknown Source)
    7. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source)
    8. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source)
    9. org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
    10. org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
    10 frames
  4. org.sonatype.nexus
    AbstractNexusIntegrationTest.oncePerClassSetUp
    1. org.sonatype.nexus.integrationtests.NexusRestClient.executeHTTPClientMethod(NexusRestClient.java:673)
    2. org.sonatype.nexus.integrationtests.NexusRestClient.executeHTTPClientMethod(NexusRestClient.java:634)
    3. org.sonatype.nexus.test.utils.DeployUtils.deployUsingPomWithRestReturnResult(DeployUtils.java:183)
    4. org.sonatype.nexus.test.utils.DeployUtils.deployUsingPomWithRest(DeployUtils.java:194)
    5. org.sonatype.nexus.test.utils.DeployUtils.deployUsingPomWithRest(DeployUtils.java:129)
    6. org.sonatype.nexus.integrationtests.nexus3615.AbstractArtifactInfoIT.deployArtifacts(AbstractArtifactInfoIT.java:44)
    7. org.sonatype.nexus.integrationtests.AbstractNexusIntegrationTest.oncePerClassSetUp(AbstractNexusIntegrationTest.java:383)
    7 frames
  5. org.apache.maven
    TestNGProvider.invoke
    1. org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70)
    2. org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:158)
    3. org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:98)
    4. org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
    4 frames
  6. SureFire
    ForkedBooter.main
    1. org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
    2. org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
    3. org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
    4. org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
    5. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
    5 frames