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
  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)
  2. 0

    nexus http proxy error

    Stack Overflow | 6 years ago | coolguy
    org.sonatype.nexus.proxy.RemoteStorageException: The method execution returned result code 407. [repositoryId="central", requestPath="/.meta/repository-metadata.xml", remoteUrl="http://repo1.maven.org/maven2/.meta/repository-metadata.xml"]
  3. 0

    Cannot fetch remote index for repository central -无法更新maven库的索引。

    Google Groups | 6 years ago | jw xiaojw
    org.sonatype.nexus.proxy.RemoteStorageException: The method execution returned result code 502. [repositoryId="central", requestPath="/.index/nexus-maven-repository-index.zip", remoteUrl=" http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.zip"]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hi, In the Default HTTP Proxy Settings, when I configure the proxy with an authentication account having a password containing special character like '&', there is a HTTP 407 error code when I try to access to proxy repositories : 2013-09-04 01:00:14 WARN [pool-1-thread-6] - org.sonatype.nexus.index.DefaultIndexerManager - Cannot fetch remote index for repository "Central" [id=central] due to IO problem. org.sonatype.nexus.proxy.RemoteStorageException: The method execution returned result code 407 (expected 200). [repositoryId="central", requestPath="/.index/nexus-maven-repository-index.properties", remoteUrl="http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.properties"] at org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientRemoteStorage.retrieveItem(HttpClientRemoteStorage.java:232) ~[nexus-core-2.6.0-05.jar:2.6.0-05] at org.sonatype.nexus.index.DefaultIndexerManager$11.retrieve(DefaultIndexerManager.java:1348) ~[nexus-indexer-lucene-plugin-2.6.0-05.jar:2.6.0-05] at org.apache.maven.index.updater.DefaultIndexUpdater.downloadIndexProperties(DefaultIndexUpdater.java:465) ~[indexer-core-5.1.2-bf3d48b.jar:5.1.2-bf3d48b] This work fine when I configure the proxy with an authentication account having a password without special characters. This error also occurs when I configure a remote repository with an authentication account having a password containing special characters like '&' (Remote Repository Access in the proxy repository configuration). Regards, Emmanuel

    Sonatype JIRA | 3 years ago | Emmanuel Vasseur
    org.sonatype.nexus.proxy.RemoteStorageException: The method execution returned result code 407 (expected 200). [repositoryId="central", requestPath="/.index/nexus-maven-repository-index.properties", remoteUrl="http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.properties"]
  6. 0

    Cannot fetch remote index for repository central -无法更新maven库的索引。

    Google Groups | 6 years ago | jw xiaojw
    org.sonatype.nexus.proxy.RemoteStorageException: The method execution returned result code 502. [repositoryId="central", requestPath="/.index/nexus-maven-repository-index.zip", remoteUrl=" http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.zip"]

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