java.net.SocketTimeoutException: Read timed out

Sonatype JIRA | Erik | 4 years ago
  1. 0

    After I installed Nexus and enabled remote index download for repository "Central" following exception occurred (Excerpt from the log-file): jvm 1 | 2012-08-18 20:05:11 ERROR [pool-1-thread-1] - org.apache.maven.index.updater.DefaultIndexUpdater - Fallback to *.zip also failed: 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"] jvm 1 | 2012-08-18 20:05:11 WARN [pool-1-thread-1] - org.sonatype.nexus.index.DefaultIndexerManager - Cannot fetch remote index for repository "Central" [id=central] jvm 1 | java.net.SocketTimeoutException: Read timed out jvm 1 | at java.net.SocketInputStream.socketRead0(Native Method) ~[na:1.7.0_06] jvm 1 | at java.net.SocketInputStream.read(Unknown Source) ~[na:1.7.0_06] jvm 1 | at java.net.SocketInputStream.read(Unknown Source) ~[na:1.7.0_06] jvm 1 | at java.io.BufferedInputStream.read1(Unknown Source) ~[na:1.7.0_06] jvm 1 | at java.io.BufferedInputStream.read(Unknown Source) ~[na:1.7.0_06] jvm 1 | at org.apache.commons.httpclient.ContentLengthInputStream.read(Unknown Source) ~[commons-httpclient-3.1.SONATYPE.jar:3.1] jvm 1 | at java.io.FilterInputStream.read(Unknown Source) ~[na:1.7.0_06] jvm 1 | at org.apache.commons.httpclient.AutoCloseInputStream.read(Unknown Source) ~[commons-httpclient-3.1.SONATYPE.jar:3.1] jvm 1 | at org.sonatype.nexus.util.WrappingInputStream.read(WrappingInputStream.java:59) ~[nexus-utils-2.1.1.jar:na] jvm 1 | at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.HttpClientInputStream.read(HttpClientInputStream.java:95) ~[nexus-proxy-2.1.1.jar:na] jvm 1 | at java.io.BufferedInputStream.read1(Unknown Source) ~[na:1.7.0_06] jvm 1 | at java.io.BufferedInputStream.read(Unknown Source) ~[na:1.7.0_06] jvm 1 | at java.io.BufferedInputStream.fill(Unknown Source) ~[na:1.7.0_06] jvm 1 | at java.io.BufferedInputStream.read1(Unknown Source) ~[na:1.7.0_06] jvm 1 | at java.io.BufferedInputStream.read(Unknown Source) ~[na:1.7.0_06] jvm 1 | at java.util.zip.InflaterInputStream.fill(Unknown Source) ~[na:1.7.0_06] jvm 1 | at java.util.zip.InflaterInputStream.read(Unknown Source) ~[na:1.7.0_06] jvm 1 | at java.util.zip.GZIPInputStream.read(Unknown Source) ~[na:1.7.0_06] jvm 1 | at java.io.DataInputStream.readFully(Unknown Source) ~[na:1.7.0_06] jvm 1 | at org.apache.maven.index.updater.IndexDataReader.readUTF(IndexDataReader.java:193)~[indexer-core-4.1.3-SONATYPE.jar:4.1.3-SONATYPE] jvm 1 | at org.apache.maven.index.updater.IndexDataReader.readField(IndexDataReader.java:162) ~[indexer-core-4.1.3-SONATYPE.jar:4.1.3-SONATYPE] jvm 1 | at org.apache.maven.index.updater.IndexDataReader.readDocument(IndexDataReader.java:137) ~[indexer-core-4.1.3-SONATYPE.jar:4.1.3-SONATYPE] jvm 1 | at org.apache.maven.index.updater.IndexDataReader.readIndex(IndexDataReader.java:90) ~[indexer-core-4.1.3-SONATYPE.jar:4.1.3-SONATYPE] jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.unpackIndexData(DefaultIndexUpdater.java:509) ~[indexer-core-4.1.3-SONATYPE.jar:4.1.3-SONATYPE] jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:197) ~[indexer-core-4.1.3-SONATYPE.jar:4.1.3-SONATYPE] jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.access$300(DefaultIndexUpdater.java:76) ~[indexer-core-4.1.3-SONATYPE.jar:4.1.3-SONATYPE] jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater$LuceneIndexAdaptor.setIndexFile(DefaultIndexUpdater.java:642) ~[indexer-core-4.1.3-SONATYPE.jar:4.1.3-SONATYPE] jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:862) ~[indexer-core-4.1.3-SONATYPE.jar:4.1.3-SONATYPE] jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:157) ~[indexer-core-4.1.3-SONATYPE.jar:4.1.3-SONATYPE] jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:1139) [nexus-indexer-lucene-plugin-2.1.1.jar:na] jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:1016) [nexus-indexer-lucene-plugin-2.1.1.jar:na] jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:890) [nexus-indexer-lucene-plugin-2.1.1.jar:na] jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:838) [nexus-indexer-lucene-plugin-2.1.1.jar:na] jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:812) [nexus-indexer-lucene-plugin-2.1.1.jar:na] jvm 1 | at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexRepository(ReindexTaskHandlerLegacy.java:54) [nexus-indexer-lucene-plugin-2.1.1.jar:na] jvm 1 | at org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:69) [nexus-indexer-lucene-plugin-2.1.1.jar:na] jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:158)[nexus-app-2.1.1.jar:na] jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:459)[plexus-task-scheduler-1.6.0.jar:na] jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) [na:1.7.0_06] jvm 1 | at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.7.0_06] jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source) [na:1.7.0_06] jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(UnknownSource) [na:1.7.0_06] jvm 1 | at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.7.0_06] jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.7.0_06] jvm 1 | at java.lang.Thread.run(Unknown Source) [na:1.7.0_06] The problem appears to be caused by Java 7 (the issue does not occur with Java 6) and its default use of IPv6. I solved the problem by adding the following line in the wrapper.conf properties file (directory $NEXUS_HOME/bin/jsw/conf): wrapper.java.additional.1=-Djava.net.preferIPv4Stack=true I can hardly imagine that this issue can be solved in the Nexus code but an entry in some Release Notes, FAQs or a hint in the log-file about activating IPv4 when a SocketTimeoutException: Read timed out happens during index download in a Java 7 environment might be helpful and spare others a few hours investigating this issue again :-)

    Sonatype JIRA | 4 years ago | Erik
    java.net.SocketTimeoutException: Read timed out
  2. 0

    After I installed Nexus and enabled remote index download for repository "Central" following exception occurred (Excerpt from the log-file): jvm 1 | 2012-08-18 20:05:11 ERROR [pool-1-thread-1] - org.apache.maven.index.updater.DefaultIndexUpdater - Fallback to *.zip also failed: 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"] jvm 1 | 2012-08-18 20:05:11 WARN [pool-1-thread-1] - org.sonatype.nexus.index.DefaultIndexerManager - Cannot fetch remote index for repository "Central" [id=central] jvm 1 | java.net.SocketTimeoutException: Read timed out jvm 1 | at java.net.SocketInputStream.socketRead0(Native Method) ~[na:1.7.0_06] jvm 1 | at java.net.SocketInputStream.read(Unknown Source) ~[na:1.7.0_06] jvm 1 | at java.net.SocketInputStream.read(Unknown Source) ~[na:1.7.0_06] jvm 1 | at java.io.BufferedInputStream.read1(Unknown Source) ~[na:1.7.0_06] jvm 1 | at java.io.BufferedInputStream.read(Unknown Source) ~[na:1.7.0_06] jvm 1 | at org.apache.commons.httpclient.ContentLengthInputStream.read(Unknown Source) ~[commons-httpclient-3.1.SONATYPE.jar:3.1] jvm 1 | at java.io.FilterInputStream.read(Unknown Source) ~[na:1.7.0_06] jvm 1 | at org.apache.commons.httpclient.AutoCloseInputStream.read(Unknown Source) ~[commons-httpclient-3.1.SONATYPE.jar:3.1] jvm 1 | at org.sonatype.nexus.util.WrappingInputStream.read(WrappingInputStream.java:59) ~[nexus-utils-2.1.1.jar:na] jvm 1 | at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.HttpClientInputStream.read(HttpClientInputStream.java:95) ~[nexus-proxy-2.1.1.jar:na] jvm 1 | at java.io.BufferedInputStream.read1(Unknown Source) ~[na:1.7.0_06] jvm 1 | at java.io.BufferedInputStream.read(Unknown Source) ~[na:1.7.0_06] jvm 1 | at java.io.BufferedInputStream.fill(Unknown Source) ~[na:1.7.0_06] jvm 1 | at java.io.BufferedInputStream.read1(Unknown Source) ~[na:1.7.0_06] jvm 1 | at java.io.BufferedInputStream.read(Unknown Source) ~[na:1.7.0_06] jvm 1 | at java.util.zip.InflaterInputStream.fill(Unknown Source) ~[na:1.7.0_06] jvm 1 | at java.util.zip.InflaterInputStream.read(Unknown Source) ~[na:1.7.0_06] jvm 1 | at java.util.zip.GZIPInputStream.read(Unknown Source) ~[na:1.7.0_06] jvm 1 | at java.io.DataInputStream.readFully(Unknown Source) ~[na:1.7.0_06] jvm 1 | at org.apache.maven.index.updater.IndexDataReader.readUTF(IndexDataReader.java:193)~[indexer-core-4.1.3-SONATYPE.jar:4.1.3-SONATYPE] jvm 1 | at org.apache.maven.index.updater.IndexDataReader.readField(IndexDataReader.java:162) ~[indexer-core-4.1.3-SONATYPE.jar:4.1.3-SONATYPE] jvm 1 | at org.apache.maven.index.updater.IndexDataReader.readDocument(IndexDataReader.java:137) ~[indexer-core-4.1.3-SONATYPE.jar:4.1.3-SONATYPE] jvm 1 | at org.apache.maven.index.updater.IndexDataReader.readIndex(IndexDataReader.java:90) ~[indexer-core-4.1.3-SONATYPE.jar:4.1.3-SONATYPE] jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.unpackIndexData(DefaultIndexUpdater.java:509) ~[indexer-core-4.1.3-SONATYPE.jar:4.1.3-SONATYPE] jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:197) ~[indexer-core-4.1.3-SONATYPE.jar:4.1.3-SONATYPE] jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.access$300(DefaultIndexUpdater.java:76) ~[indexer-core-4.1.3-SONATYPE.jar:4.1.3-SONATYPE] jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater$LuceneIndexAdaptor.setIndexFile(DefaultIndexUpdater.java:642) ~[indexer-core-4.1.3-SONATYPE.jar:4.1.3-SONATYPE] jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:862) ~[indexer-core-4.1.3-SONATYPE.jar:4.1.3-SONATYPE] jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:157) ~[indexer-core-4.1.3-SONATYPE.jar:4.1.3-SONATYPE] jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:1139) [nexus-indexer-lucene-plugin-2.1.1.jar:na] jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:1016) [nexus-indexer-lucene-plugin-2.1.1.jar:na] jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:890) [nexus-indexer-lucene-plugin-2.1.1.jar:na] jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:838) [nexus-indexer-lucene-plugin-2.1.1.jar:na] jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:812) [nexus-indexer-lucene-plugin-2.1.1.jar:na] jvm 1 | at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexRepository(ReindexTaskHandlerLegacy.java:54) [nexus-indexer-lucene-plugin-2.1.1.jar:na] jvm 1 | at org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:69) [nexus-indexer-lucene-plugin-2.1.1.jar:na] jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:158)[nexus-app-2.1.1.jar:na] jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:459)[plexus-task-scheduler-1.6.0.jar:na] jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) [na:1.7.0_06] jvm 1 | at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.7.0_06] jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source) [na:1.7.0_06] jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(UnknownSource) [na:1.7.0_06] jvm 1 | at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.7.0_06] jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.7.0_06] jvm 1 | at java.lang.Thread.run(Unknown Source) [na:1.7.0_06] The problem appears to be caused by Java 7 (the issue does not occur with Java 6) and its default use of IPv6. I solved the problem by adding the following line in the wrapper.conf properties file (directory $NEXUS_HOME/bin/jsw/conf): wrapper.java.additional.1=-Djava.net.preferIPv4Stack=true I can hardly imagine that this issue can be solved in the Nexus code but an entry in some Release Notes, FAQs or a hint in the log-file about activating IPv4 when a SocketTimeoutException: Read timed out happens during index download in a Java 7 environment might be helpful and spare others a few hours investigating this issue again :-)

    Sonatype JIRA | 4 years ago | Erik
    java.net.SocketTimeoutException: Read timed out
  3. 0

    [NEXUS-5218] Cannot fetch remote index for repository "Central", SocketTimeoutException: Read timed out - with Java 7 - Sonatype JIRA

    sonatype.org | 11 months ago
    java.net.SocketTimeoutException: Read timed out jvm 1 | at java.net.SocketInputStream.socketRead0(Native Method)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    getting error when doing Maven central update index- rt 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"] jvm 1 | 2011-10-20 13:28:46 WARN - o.s.n.i.DefaultInde~ - Cannot fetch remote index for repository "Maven Central" [id=central] jvm 1 | java.net.SocketTimeoutException: Read timed out jvm 1 | at java.net.SocketInputStream.socketRead0(Native Method) jvm 1 | at java.net.SocketInputStream.read(SocketInputStream.java:129) jvm 1 | at java.io.BufferedInputStream.read1(BufferedInputStream.java:256) jvm 1 | at java.io.BufferedInputStream.read(BufferedInputStream.java:317) jvm 1 | at org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLengthInputStream.java:170) jvm 1 | at java.io.FilterInputStream.read(FilterInputStream.java:116) jvm 1 | at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:108) jvm 1 | at org.sonatype.nexus.util.WrappingInputStream.read(WrappingInputStream.java:65) jvm 1 | at java.io.BufferedInputStream.read1(BufferedInputStream.java:256) jvm 1 | at java.io.BufferedInputStream.read(BufferedInputStream.java:317) jvm 1 | at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) jvm 1 | at java.io.BufferedInputStream.read1(BufferedInputStream.java:258) jvm 1 | at java.io.BufferedInputStream.read(BufferedInputStream.java:317) jvm 1 | at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:221) jvm 1 | at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141) jvm 1 | at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:92) jvm 1 | at java.io.DataInputStream.readFully(DataInputStream.java:178) jvm 1 | at org.apache.maven.index.updater.IndexDataReader.readUTF(IndexDataReader.java:193) jvm 1 | at org.apache.maven.index.updater.IndexDataReader.readField(IndexDataReader.java:162) jvm 1 | at org.apache.maven.index.updater.IndexDataReader.readDocument(IndexDataReader.java:137) jvm 1 | at org.apache.maven.index.updater.IndexDataReader.readIndex(IndexDataReader.java:90) jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.unpackIndexData(DefaultIndexUpdater.java:509) jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:197) jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.access$300(DefaultIndexUpdater.java:76) jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater$LuceneIndexAdaptor.setIndexFile(DefaultIndexUpdater.java:642) jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:861) jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:157) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:1132) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:1017) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:892) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:841) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:815) jvm 1 | at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexRepository(ReindexTaskHandlerLegacy.java:60) jvm 1 | at org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:72) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:159) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:437) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) jvm 1 | at java.util.concurrent.FutureTask.run(FutureTask.java:138) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) jvm 1 | at java.lang.Thread.run(Thread.java:619) jvm 1 | 2011-10-20 13:29:04 INFO - o.s.n.i.DefaultInde~ - Publishing index for repository central jvm 1 | 2011-10-20 13:29:05 INFO - o.s.n.f.DefaultFeed~ - Updating repository index "Maven Central" from path /org/apache/jackrabbit/jackrabbit-core/1.3/ and below. : Process started on Thu Oct 20 13:14:39 IST 2011, finished successfully on Thu Oct 20 13:29:05 IST 2011

    Sonatype JIRA | 5 years ago | kapila
    java.net.SocketTimeoutException: Read timed out
  6. 0

    getting error when doing Maven central update index- rt 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"] jvm 1 | 2011-10-20 13:28:46 WARN - o.s.n.i.DefaultInde~ - Cannot fetch remote index for repository "Maven Central" [id=central] jvm 1 | java.net.SocketTimeoutException: Read timed out jvm 1 | at java.net.SocketInputStream.socketRead0(Native Method) jvm 1 | at java.net.SocketInputStream.read(SocketInputStream.java:129) jvm 1 | at java.io.BufferedInputStream.read1(BufferedInputStream.java:256) jvm 1 | at java.io.BufferedInputStream.read(BufferedInputStream.java:317) jvm 1 | at org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLengthInputStream.java:170) jvm 1 | at java.io.FilterInputStream.read(FilterInputStream.java:116) jvm 1 | at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:108) jvm 1 | at org.sonatype.nexus.util.WrappingInputStream.read(WrappingInputStream.java:65) jvm 1 | at java.io.BufferedInputStream.read1(BufferedInputStream.java:256) jvm 1 | at java.io.BufferedInputStream.read(BufferedInputStream.java:317) jvm 1 | at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) jvm 1 | at java.io.BufferedInputStream.read1(BufferedInputStream.java:258) jvm 1 | at java.io.BufferedInputStream.read(BufferedInputStream.java:317) jvm 1 | at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:221) jvm 1 | at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141) jvm 1 | at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:92) jvm 1 | at java.io.DataInputStream.readFully(DataInputStream.java:178) jvm 1 | at org.apache.maven.index.updater.IndexDataReader.readUTF(IndexDataReader.java:193) jvm 1 | at org.apache.maven.index.updater.IndexDataReader.readField(IndexDataReader.java:162) jvm 1 | at org.apache.maven.index.updater.IndexDataReader.readDocument(IndexDataReader.java:137) jvm 1 | at org.apache.maven.index.updater.IndexDataReader.readIndex(IndexDataReader.java:90) jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.unpackIndexData(DefaultIndexUpdater.java:509) jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:197) jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.access$300(DefaultIndexUpdater.java:76) jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater$LuceneIndexAdaptor.setIndexFile(DefaultIndexUpdater.java:642) jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:861) jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:157) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:1132) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:1017) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:892) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:841) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:815) jvm 1 | at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexRepository(ReindexTaskHandlerLegacy.java:60) jvm 1 | at org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:72) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:159) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:437) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) jvm 1 | at java.util.concurrent.FutureTask.run(FutureTask.java:138) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) jvm 1 | at java.lang.Thread.run(Thread.java:619) jvm 1 | 2011-10-20 13:29:04 INFO - o.s.n.i.DefaultInde~ - Publishing index for repository central jvm 1 | 2011-10-20 13:29:05 INFO - o.s.n.f.DefaultFeed~ - Updating repository index "Maven Central" from path /org/apache/jackrabbit/jackrabbit-core/1.3/ and below. : Process started on Thu Oct 20 13:14:39 IST 2011, finished successfully on Thu Oct 20 13:29:05 IST 2011

    Sonatype JIRA | 5 years ago | kapila
    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)[na:1.7.0_06]
    2. java.net.SocketInputStream.read(Unknown Source)[na:1.7.0_06]
    3. java.net.SocketInputStream.read(Unknown Source)[na:1.7.0_06]
    4. java.io.BufferedInputStream.read1(Unknown Source)[na:1.7.0_06]
    5. java.io.BufferedInputStream.read(Unknown Source)[na:1.7.0_06]
    5 frames
  3. HttpClient
    ContentLengthInputStream.read
    1. org.apache.commons.httpclient.ContentLengthInputStream.read(Unknown Source)[commons-httpclient-3.1.SONATYPE.jar:3.1]
    1 frame
  4. Java RT
    FilterInputStream.read
    1. java.io.FilterInputStream.read(Unknown Source)[na:1.7.0_06]
    1 frame
  5. HttpClient
    AutoCloseInputStream.read
    1. org.apache.commons.httpclient.AutoCloseInputStream.read(Unknown Source)[commons-httpclient-3.1.SONATYPE.jar:3.1]
    1 frame
  6. ${project.groupId}:${project.artifactId}
    WrappingInputStream.read
    1. org.sonatype.nexus.util.WrappingInputStream.read(WrappingInputStream.java:59)[nexus-utils-2.1.1.jar:na]
    1 frame
  7. org.sonatype.nexus
    HttpClientInputStream.read
    1. org.sonatype.nexus.proxy.storage.remote.commonshttpclient.HttpClientInputStream.read(HttpClientInputStream.java:95)[nexus-proxy-2.1.1.jar:na]
    1 frame
  8. Java RT
    DataInputStream.readFully
    1. java.io.BufferedInputStream.read1(Unknown Source)[na:1.7.0_06]
    2. java.io.BufferedInputStream.read(Unknown Source)[na:1.7.0_06]
    3. java.io.BufferedInputStream.fill(Unknown Source)[na:1.7.0_06]
    4. java.io.BufferedInputStream.read1(Unknown Source)[na:1.7.0_06]
    5. java.io.BufferedInputStream.read(Unknown Source)[na:1.7.0_06]
    6. java.util.zip.InflaterInputStream.fill(Unknown Source)[na:1.7.0_06]
    7. java.util.zip.InflaterInputStream.read(Unknown Source)[na:1.7.0_06]
    8. java.util.zip.GZIPInputStream.read(Unknown Source)[na:1.7.0_06]
    9. java.io.DataInputStream.readFully(Unknown Source)[na:1.7.0_06]
    9 frames