org.sonatype.nexus.proxy.RemoteStorageException: Transport error while executing GET method [repositoryId="central", requestPath="/.index/nexus-maven-repository-index.zip", remoteUrl=" http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.zip"]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via ibm.com by Unknown author

Adjust the timeout barrier so that its more flexible on network delays. It is very important to consider doing that especially when your server application will run in a remote machine. Other than that, avoid whatever causes delays in network.

,
via javacodegeeks.com by Unknown author

This exception emerges when a blocking operation of the two, an accept or a read, is blocked for a certain amount of time, called the timeout.

Solutions on the web

via Google Groups by jw xiaojw, 1 year ago
Transport error while executing GET method [repositoryId="central", requestPath="/.index/nexus-maven-repository-index.zip", remoteUrl=" http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.zip"]
via Sonatype JIRA by Peter Lynch, 1 year ago
Transport error while executing GET method [repositoryId="central-copy1", requestPath="/.index/nexus-maven-repository-index.properties", remoteUrl="http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.properties"]
via Sonatype JIRA by Peter Lynch, 1 year ago
Transport error while executing GET method [repositoryId="central-copy1", requestPath="/.index/nexus-maven-repository-index.properties", remoteUrl="http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.properties"]
via Sonatype JIRA by Atlassian, 1 year ago
Transport error while executing GET method [repositoryId="central", requestPath="/.index/nexus-maven-repository-index.properties", remoteUrl="http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.properties"]
via Sonatype JIRA by Atlassian, 1 year ago
Transport error while executing GET method [repositoryId="central", requestPath="/.index/nexus-maven-repository-index.properties", remoteUrl="http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.properties"]
via Sonatype JIRA by Ivan dal Bosco, 6 months ago
Transport error while executing GET method [repositoryId="central", requestPath="/", remoteUrl="http://repo1.maven.org/maven2/"]
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(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.readLine(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.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.executeMethod(CommonsHttpClientRemoteStorage.java:417)
at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.retrieveItem(CommonsHttpClientRemoteStorage.java:164)
at org.apache.maven.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:190)
at org.apache.maven.index.updater.DefaultIndexUpdater.access$300(DefaultIndexUpdater.java:75)
at org.apache.maven.index.updater.DefaultIndexUpdater$LuceneIndexAdaptor.setIndexFile(DefaultIndexUpdater.java:641)
at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:875)
at org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:1111)
at org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:1013)
at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:897)
at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:850)
at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexRepository(ReindexTaskHandlerLegacy.java:60)
at org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:72)
at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:338)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

Once, 1 day ago
2 times, 2 days ago
10 times, 4 days ago
Once, 5 days ago
2 times, 5 days ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.