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)

Sonatype JIRA | Ivan dal Bosco | 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

    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
    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)

    Root Cause Analysis

    1. 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()
    2. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      2. java.util.concurrent.FutureTask.run(Unknown Source)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      4 frames