java.net.SocketTimeoutException: Read timed out

Sonatype JIRA | Deleted User | 8 years ago
  1. 0

    After starting Nexus 1.3.2, I set 'Download Remote Indexes' to 'true' for each of the 3 proxy repositories. I then attempted to re-index each repository in turn. The re-index for the Maven Central Repository failed with the stacktrace below. Several re-attempts were made, but each was unsuccessful. Note that I am unaware of any internet connectivity issues on my side. 2009-04-16 21:13:28 INFO [pool-1-thread-6] - o.s.n.p.r.Repository:maven2 - Expiring local cache in repository ID='central' from path='/.index' 2009-04-16 21:13:28 INFO [pool-1-thread-6] - o.s.n.p.r.Repository:maven2 - Clearing NFC cache in repository ID='central' from path='/.index' 2009-04-16 21:14:34 WARN [pool-1-thread-6] - o.s.n.i.IndexerMana~:default - Cannot fetch remote index: 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.ContentLengthInputStream.read(ContentLengthInputStream.java:143) at java.io.FilterInputStream.read(Unknown Source) at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:88) at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.HttpClientInputStream.read(HttpClientInputStream.java:53) at java.io.InputStream.read(Unknown Source) at java.io.InputStream.read(Unknown Source) at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:188) at org.sonatype.nexus.index.DefaultIndexerManager$1.retrieve(DefaultIndexerManager.java:720) at org.sonatype.nexus.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:178) at org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:103) at org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:739) at org.sonatype.nexus.index.DefaultIndexerManager.updateIndexForRemoteRepository(DefaultIndexerManager.java:608) at org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:575) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:487) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:442) at org.sonatype.nexus.DefaultNexus.reindexRepository(DefaultNexus.java:1364) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:40) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.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) 2009-04-16 21:14:34 INFO [pool-1-thread-6] - o.s.n.i.IndexerMana~:default - Cascading merge of group indexes for group 'public', where repository 'central' is member. 2009-04-16 21:14:35 INFO [pool-1-thread-6] - o.s.n.i.IndexerMana~:default - Publishing best index for repository central

    Sonatype JIRA | 8 years ago | Deleted User
    java.net.SocketTimeoutException: Read timed out
  2. 0

    After starting Nexus 1.3.2, I set 'Download Remote Indexes' to 'true' for each of the 3 proxy repositories. I then attempted to re-index each repository in turn. The re-index for the Maven Central Repository failed with the stacktrace below. Several re-attempts were made, but each was unsuccessful. Note that I am unaware of any internet connectivity issues on my side. 2009-04-16 21:13:28 INFO [pool-1-thread-6] - o.s.n.p.r.Repository:maven2 - Expiring local cache in repository ID='central' from path='/.index' 2009-04-16 21:13:28 INFO [pool-1-thread-6] - o.s.n.p.r.Repository:maven2 - Clearing NFC cache in repository ID='central' from path='/.index' 2009-04-16 21:14:34 WARN [pool-1-thread-6] - o.s.n.i.IndexerMana~:default - Cannot fetch remote index: 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.ContentLengthInputStream.read(ContentLengthInputStream.java:143) at java.io.FilterInputStream.read(Unknown Source) at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:88) at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.HttpClientInputStream.read(HttpClientInputStream.java:53) at java.io.InputStream.read(Unknown Source) at java.io.InputStream.read(Unknown Source) at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:188) at org.sonatype.nexus.index.DefaultIndexerManager$1.retrieve(DefaultIndexerManager.java:720) at org.sonatype.nexus.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:178) at org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:103) at org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:739) at org.sonatype.nexus.index.DefaultIndexerManager.updateIndexForRemoteRepository(DefaultIndexerManager.java:608) at org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:575) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:487) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:442) at org.sonatype.nexus.DefaultNexus.reindexRepository(DefaultNexus.java:1364) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:40) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.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) 2009-04-16 21:14:34 INFO [pool-1-thread-6] - o.s.n.i.IndexerMana~:default - Cascading merge of group indexes for group 'public', where repository 'central' is member. 2009-04-16 21:14:35 INFO [pool-1-thread-6] - o.s.n.i.IndexerMana~:default - Publishing best index for repository central

    Sonatype JIRA | 8 years ago | Deleted User
    java.net.SocketTimeoutException: Read timed out
  3. 0

    How to change value of 'Read timeout' of Eclipse's Update Manager?

    Stack Overflow | 7 years ago | Alex Siman
    java.net.SocketTimeoutException: Read timed out
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    hadoop build from source error on hadoop-mapreduce-client-jobclient

    Stack Overflow | 3 years ago | Joffrey
    org.sonatype.aether.transfer.ArtifactTransferException: Could not transfer artifact org.hsqldb:hsqldb:jar:2.0.0 from/to central (http://repo.maven.apache.org/maven2): GET request of: org/hsqldb/hsqldb/2.0.0/hsqldb-2.0.0.jar from central failed
  6. 0

    Facing errors when installing the google plugin for eclipse.

    Google Groups | 6 years ago | Siddharth Naik
    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
    ContentLengthInputStream.read
    1. org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLengthInputStream.java:143)
    1 frame
  4. Java RT
    FilterInputStream.read
    1. java.io.FilterInputStream.read(Unknown Source)
    1 frame
  5. HttpClient
    AutoCloseInputStream.read
    1. org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:88)
    1 frame
  6. org.sonatype.nexus
    HttpClientInputStream.read
    1. org.sonatype.nexus.proxy.storage.remote.commonshttpclient.HttpClientInputStream.read(HttpClientInputStream.java:53)
    1 frame
  7. Java RT
    InputStream.read
    1. java.io.InputStream.read(Unknown Source)
    2. java.io.InputStream.read(Unknown Source)
    2 frames
  8. Plexus Common Utilities
    IOUtil.copy
    1. org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:188)
    1 frame
  9. Sonatype Nexus Indexer
    DefaultIndexerManager.reindexRepository
    1. org.sonatype.nexus.index.DefaultIndexerManager$1.retrieve(DefaultIndexerManager.java:720)
    2. org.sonatype.nexus.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:178)
    3. org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:103)
    4. org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:739)
    5. org.sonatype.nexus.index.DefaultIndexerManager.updateIndexForRemoteRepository(DefaultIndexerManager.java:608)
    6. org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:575)
    7. org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:487)
    8. org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:442)
    8 frames
  10. ${project.groupId}:${project.artifactId}
    AbstractNexusTask.call
    1. org.sonatype.nexus.DefaultNexus.reindexRepository(DefaultNexus.java:1364)
    2. org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:40)
    3. org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139)
    3 frames
  11. ${project.groupId}:${project.artifactId}
    DefaultScheduledTask.call
    1. org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342)
    1 frame
  12. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    2. java.util.concurrent.FutureTask.run(Unknown Source)
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    7. java.lang.Thread.run(Unknown Source)
    7 frames