java.net.SocketTimeoutException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Unable to access webservice
    via Stack Overflow by coder
    ,
  • 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
    via by Deleted User,
    • 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)

    Users with the same issue

    mauritius
    39 times, last one,
    kid
    10 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    150 more bugmates