java.net.SocketTimeoutException: Read timed out

Sonatype JIRA | Ivan dal Bosco | 5 years ago
  1. 0

    We have been using Maven for a couple of years. Nevertheless, since a couple of weeks the central repository (http://repo1.maven.org/maven2/) is not accessible anymore. It seems that every request to the central repository from our IP address (57.79.10.142) is blocked. Has this IP been put in your "back list" ? Note that the problem started after the replacement of our proxy to access internet. However, even a direct request to the central repository (bypassing the proxy) is blocked. Also note that we use Nexus (version 1.9.2.3) as repository manager. Below is the content of a mail generated by Nexus. Best regards, Patrick =============================================================================================== From: Nexus Repository Manager [system@nexus.org] Sent: Thursday, 26. January 2012 12:06 To: Mayer, Patrick (Geneva) Subject: Proxy repository "Maven Central" (repoId=central) was auto-blocked. Howdy, the proxy mode of repository "Maven Central" (repoId=central, remoteUrl=http://repo1.maven.org/maven2/) was set to Blocked (automatically by Nexus). Next attempt to check remote peer health will occur in 2 minutes 40 seconds. The previous state was Blocked (automatically by Nexus). Last detected transport error was: org.sonatype.nexus.proxy.RemoteStorageException: Transport error while executing GET method [repositoryId="central", requestPath="/", remoteUrl="http://repo1.maven.org/maven2/"] at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.execu teMethod(CommonsHttpClientRemoteStorage.java:456) at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.check RemoteAvailability(CommonsHttpClientRemoteStorage.java:555) at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.isRea chable(CommonsHttpClientRemoteStorage.java:124) at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.isRemoteStorageReachable(AbstractPro xyRepository.java:1652) at org.sonatype.nexus.proxy.repository.AbstractProxyRepository$RemoteStatusUpdateCallable.call(Abstra ctProxyRepository.java:1624) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78) at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106) at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116) at org.apache.commons.httpclient.CustomMultiThreadedHttpConnectionManager$HttpConnectionAdapter.r eadLine(CustomMultiThreadedHttpConnectionManager.java:1430) at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973) at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.execu teMethod(CommonsHttpClientRemoteStorage.java:416) ... 9 more

    Sonatype JIRA | 5 years ago | Ivan dal Bosco
    java.net.SocketTimeoutException: Read timed out
  2. 0

    We have been using Maven for a couple of years. Nevertheless, since a couple of weeks the central repository (http://repo1.maven.org/maven2/) is not accessible anymore. It seems that every request to the central repository from our IP address (57.79.10.142) is blocked. Has this IP been put in your "back list" ? Note that the problem started after the replacement of our proxy to access internet. However, even a direct request to the central repository (bypassing the proxy) is blocked. Also note that we use Nexus (version 1.9.2.3) as repository manager. Below is the content of a mail generated by Nexus. Best regards, Patrick =============================================================================================== From: Nexus Repository Manager [system@nexus.org] Sent: Thursday, 26. January 2012 12:06 To: Mayer, Patrick (Geneva) Subject: Proxy repository "Maven Central" (repoId=central) was auto-blocked. Howdy, the proxy mode of repository "Maven Central" (repoId=central, remoteUrl=http://repo1.maven.org/maven2/) was set to Blocked (automatically by Nexus). Next attempt to check remote peer health will occur in 2 minutes 40 seconds. The previous state was Blocked (automatically by Nexus). Last detected transport error was: org.sonatype.nexus.proxy.RemoteStorageException: Transport error while executing GET method [repositoryId="central", requestPath="/", remoteUrl="http://repo1.maven.org/maven2/"] at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.execu teMethod(CommonsHttpClientRemoteStorage.java:456) at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.check RemoteAvailability(CommonsHttpClientRemoteStorage.java:555) at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.isRea chable(CommonsHttpClientRemoteStorage.java:124) at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.isRemoteStorageReachable(AbstractPro xyRepository.java:1652) at org.sonatype.nexus.proxy.repository.AbstractProxyRepository$RemoteStatusUpdateCallable.call(Abstra ctProxyRepository.java:1624) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78) at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106) at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116) at org.apache.commons.httpclient.CustomMultiThreadedHttpConnectionManager$HttpConnectionAdapter.r eadLine(CustomMultiThreadedHttpConnectionManager.java:1430) at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973) at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.execu teMethod(CommonsHttpClientRemoteStorage.java:416) ... 9 more

    Sonatype JIRA | 5 years ago | Ivan dal Bosco
    java.net.SocketTimeoutException: Read timed out
  3. 0

    Test Suites fail in 2.5.1 that passed in 1.7

    soapui | 8 years ago | masterkeedu
    java.lang.Exception: java.net.SocketTimeoutException: Read timed out
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SocketTimeoutException in SOAP UI - SmartBear Community

    smartbear.com | 1 month ago
    java.net.SocketTimeoutException: Read timed out
  6. 0

    WSO2 ESB ssl endpoint "Read timed out"

    Stack Overflow | 1 year ago | Meysam
    java.net.SocketTimeoutException: Read timed out

  1. kid 1 times, last 4 months ago
  2. danleyb2Interintel 1 times, last 5 months ago
  3. tfr 7 times, last 5 months ago
20 unregistered visitors
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(Unknown Source)
    3. java.io.BufferedInputStream.fill(Unknown Source)
    4. java.io.BufferedInputStream.read(Unknown Source)
    4 frames
  3. HttpClient
    HttpConnection.readLine
    1. org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
    2. org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
    3. org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
    3 frames