org.sonatype.nexus.proxy.RemoteStorageException: 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"]

Sonatype JIRA | Peter Lynch | 5 years ago
  1. 0

    # Create a download index task for a specific repo # Disable your network connection # Try to run the Download index task. Task appears to run quickly but no feedback provided in the ui. #Looking in logs you see something like: {noformat} jvm 1 | 2011-06-15 16:19:05 INFO [ool-1-thread-14] - org.sonatype.nexus.feeds.DefaultFeedRecorder - Downloading indexes for repository Maven Central Copy 1 : Process started on Wed Jun 15 16:19:05 EDT 2011, finished successfully on Wed Jun 15 16:19:05 EDT 2011 jvm 1 | 2011-06-15 16:19:19 INFO [ool-1-thread-11] - org.sonatype.nexus.feeds.DefaultFeedRecorder - Downloading indexes for repository Maven Central Copy 1 : Process started on Wed Jun 15 16:19:19 EDT 2011, not yet finished. jvm 1 | 2011-06-15 16:19:19 INFO [ool-1-thread-11] - org.sonatype.nexus.index.DefaultIndexerManager - Trying to get remote index for repository "Maven Central Copy 1" [id=central-copy1] jvm 1 | 2011-06-15 16:19:19 INFO [ool-1-thread-11] - org.sonatype.nexus.proxy.maven.maven2.M2Repository - Expiring local cache in repository ID='central-copy1' from path='/.index' jvm 1 | 2011-06-15 16:19:19 INFO [ool-1-thread-11] - org.sonatype.nexus.proxy.maven.maven2.M2Repository - Clearing NFC cache in repository ID='central-copy1' from path='/.index' jvm 1 | 2011-06-15 16:19:19 WARN [ool-1-thread-11] - org.sonatype.nexus.index.DefaultIndexerManager - Cannot fetch remote index for repository "Maven Central Copy 1" [id=central-copy1] jvm 1 | org.sonatype.nexus.proxy.RemoteStorageException: 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"] jvm 1 | at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.executeMethod(CommonsHttpClientRemoteStorage.java:456) jvm 1 | at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.retrieveItem(CommonsHttpClientRemoteStorage.java:163) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager$2.retrieve(DefaultIndexerManager.java:1097) jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.downloadIndexProperties(DefaultIndexUpdater.java:459) jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.access$000(DefaultIndexUpdater.java:76) jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater$IndexAdaptor.setProperties(DefaultIndexUpdater.java:589) jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:813) 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.downloadRepositoryIndex(DefaultIndexerManager.java:960) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:929) jvm 1 | at org.sonatype.nexus.tasks.DownloadIndexesTask.doRun(DownloadIndexesTask.java:57) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:158) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:428) 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:206) 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:680) jvm 1 | Caused by: java.net.ConnectException: No route to host jvm 1 | at java.net.PlainSocketImpl.socketConnect(Native Method) jvm 1 | at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) jvm 1 | at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) jvm 1 | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) jvm 1 | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432) jvm 1 | at java.net.Socket.connect(Socket.java:529) jvm 1 | at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) jvm 1 | at java.lang.reflect.Method.invoke(Method.java:597) jvm 1 | at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140) jvm 1 | at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125) jvm 1 | at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) jvm 1 | at org.apache.commons.httpclient.CustomMultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(CustomMultiThreadedHttpConnectionManager.java:1378) jvm 1 | at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) jvm 1 | at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) jvm 1 | at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) jvm 1 | at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) jvm 1 | at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.executeMethod(CommonsHttpClientRemoteStorage.java:416) jvm 1 | ... 21 more jvm 1 | 2011-06-15 16:19:19 INFO [ool-1-thread-11] - org.sonatype.nexus.feeds.DefaultFeedRecorder - Downloading indexes for repository Maven Central Copy 1 : Process started on Wed Jun 15 16:19:19 EDT 2011, finished successfully on Wed Jun 15 16:19:19 EDT 2011 jvm 1 | 2011-06-15 16:19:25 INFO [ool-1-thread-15] - org.sonatype.nexus.feeds.DefaultFeedRecorder - Downloading indexes for repository Maven Central Copy 1 : Process started on Wed Jun 15 16:19:25 EDT 2011, not yet finished. jvm 1 | 2011-06-15 16:19:25 INFO [ool-1-thread-15] - org.sonatype.nexus.index.DefaultIndexerManager - Trying to get remote index for repository "Maven Central Copy 1" [id=central-copy1] jvm 1 | 2011-06-15 16:19:25 INFO [ool-1-thread-15] - org.sonatype.nexus.proxy.maven.maven2.M2Repository - Expiring local cache in repository ID='central-copy1' from path='/.index' jvm 1 | 2011-06-15 16:19:25 INFO [ool-1-thread-15] - org.sonatype.nexus.proxy.maven.maven2.M2Repository - Clearing NFC cache in repository ID='central-copy1' from path='/.index' jvm 1 | 2011-06-15 16:19:25 WARN [ool-1-thread-15] - org.sonatype.nexus.index.DefaultIndexerManager - Cannot fetch remote index for repository "Maven Central Copy 1" [id=central-copy1] jvm 1 | org.sonatype.nexus.proxy.RemoteStorageException: 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"] jvm 1 | at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.executeMethod(CommonsHttpClientRemoteStorage.java:456) jvm 1 | at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.retrieveItem(CommonsHttpClientRemoteStorage.java:163) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager$2.retrieve(DefaultIndexerManager.java:1097) jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.downloadIndexProperties(DefaultIndexUpdater.java:459) jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.access$000(DefaultIndexUpdater.java:76) jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater$IndexAdaptor.setProperties(DefaultIndexUpdater.java:589) jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:813) 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.downloadRepositoryIndex(DefaultIndexerManager.java:960) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:929) jvm 1 | at org.sonatype.nexus.tasks.DownloadIndexesTask.doRun(DownloadIndexesTask.java:57) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:158) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:428) 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:206) 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:680) jvm 1 | Caused by: java.net.ConnectException: No route to host jvm 1 | at java.net.PlainSocketImpl.socketConnect(Native Method) jvm 1 | at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) jvm 1 | at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) jvm 1 | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) jvm 1 | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432) jvm 1 | at java.net.Socket.connect(Socket.java:529) jvm 1 | at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) jvm 1 | at java.lang.reflect.Method.invoke(Method.java:597) jvm 1 | at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140) jvm 1 | at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125) jvm 1 | at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) jvm 1 | at org.apache.commons.httpclient.CustomMultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(CustomMultiThreadedHttpConnectionManager.java:1378) jvm 1 | at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) jvm 1 | at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) jvm 1 | at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) jvm 1 | at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) jvm 1 | at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.executeMethod(CommonsHttpClientRemoteStorage.java:416) jvm 1 | ... 21 more jvm 1 | 2011-06-15 16:19:25 INFO [ool-1-thread-15] - org.sonatype.nexus.feeds.DefaultFeedRecorder - Downloading indexes for repository Maven Central Copy 1 : Process started on Wed Jun 15 16:19:25 EDT 2011, finished successfully on Wed Jun 15 16:19:25 EDT 2011 jvm 1 | 2011-06-15 16:49:01 INFO [Thread-7 ] - org.apache.shiro.session.mgt.AbstractValidatingSessionManager - Validating all active sessions... jvm 1 | 2011-06-15 16:49:01 INFO [Thread-7 ] - org.apache.shiro.session.mgt.AbstractValidatingSessionManager - Finished session validation. No sessions were stopped. {noformat} Even when network is restored and central repo is reachable, task can no longer be run. Not sure how long it takes to restore the task.

    Sonatype JIRA | 5 years ago | Peter Lynch
    org.sonatype.nexus.proxy.RemoteStorageException: 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"]
  2. 0

    # Create a download index task for a specific repo # Disable your network connection # Try to run the Download index task. Task appears to run quickly but no feedback provided in the ui. #Looking in logs you see something like: {noformat} jvm 1 | 2011-06-15 16:19:05 INFO [ool-1-thread-14] - org.sonatype.nexus.feeds.DefaultFeedRecorder - Downloading indexes for repository Maven Central Copy 1 : Process started on Wed Jun 15 16:19:05 EDT 2011, finished successfully on Wed Jun 15 16:19:05 EDT 2011 jvm 1 | 2011-06-15 16:19:19 INFO [ool-1-thread-11] - org.sonatype.nexus.feeds.DefaultFeedRecorder - Downloading indexes for repository Maven Central Copy 1 : Process started on Wed Jun 15 16:19:19 EDT 2011, not yet finished. jvm 1 | 2011-06-15 16:19:19 INFO [ool-1-thread-11] - org.sonatype.nexus.index.DefaultIndexerManager - Trying to get remote index for repository "Maven Central Copy 1" [id=central-copy1] jvm 1 | 2011-06-15 16:19:19 INFO [ool-1-thread-11] - org.sonatype.nexus.proxy.maven.maven2.M2Repository - Expiring local cache in repository ID='central-copy1' from path='/.index' jvm 1 | 2011-06-15 16:19:19 INFO [ool-1-thread-11] - org.sonatype.nexus.proxy.maven.maven2.M2Repository - Clearing NFC cache in repository ID='central-copy1' from path='/.index' jvm 1 | 2011-06-15 16:19:19 WARN [ool-1-thread-11] - org.sonatype.nexus.index.DefaultIndexerManager - Cannot fetch remote index for repository "Maven Central Copy 1" [id=central-copy1] jvm 1 | org.sonatype.nexus.proxy.RemoteStorageException: 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"] jvm 1 | at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.executeMethod(CommonsHttpClientRemoteStorage.java:456) jvm 1 | at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.retrieveItem(CommonsHttpClientRemoteStorage.java:163) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager$2.retrieve(DefaultIndexerManager.java:1097) jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.downloadIndexProperties(DefaultIndexUpdater.java:459) jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.access$000(DefaultIndexUpdater.java:76) jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater$IndexAdaptor.setProperties(DefaultIndexUpdater.java:589) jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:813) 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.downloadRepositoryIndex(DefaultIndexerManager.java:960) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:929) jvm 1 | at org.sonatype.nexus.tasks.DownloadIndexesTask.doRun(DownloadIndexesTask.java:57) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:158) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:428) 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:206) 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:680) jvm 1 | Caused by: java.net.ConnectException: No route to host jvm 1 | at java.net.PlainSocketImpl.socketConnect(Native Method) jvm 1 | at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) jvm 1 | at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) jvm 1 | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) jvm 1 | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432) jvm 1 | at java.net.Socket.connect(Socket.java:529) jvm 1 | at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) jvm 1 | at java.lang.reflect.Method.invoke(Method.java:597) jvm 1 | at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140) jvm 1 | at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125) jvm 1 | at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) jvm 1 | at org.apache.commons.httpclient.CustomMultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(CustomMultiThreadedHttpConnectionManager.java:1378) jvm 1 | at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) jvm 1 | at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) jvm 1 | at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) jvm 1 | at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) jvm 1 | at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.executeMethod(CommonsHttpClientRemoteStorage.java:416) jvm 1 | ... 21 more jvm 1 | 2011-06-15 16:19:19 INFO [ool-1-thread-11] - org.sonatype.nexus.feeds.DefaultFeedRecorder - Downloading indexes for repository Maven Central Copy 1 : Process started on Wed Jun 15 16:19:19 EDT 2011, finished successfully on Wed Jun 15 16:19:19 EDT 2011 jvm 1 | 2011-06-15 16:19:25 INFO [ool-1-thread-15] - org.sonatype.nexus.feeds.DefaultFeedRecorder - Downloading indexes for repository Maven Central Copy 1 : Process started on Wed Jun 15 16:19:25 EDT 2011, not yet finished. jvm 1 | 2011-06-15 16:19:25 INFO [ool-1-thread-15] - org.sonatype.nexus.index.DefaultIndexerManager - Trying to get remote index for repository "Maven Central Copy 1" [id=central-copy1] jvm 1 | 2011-06-15 16:19:25 INFO [ool-1-thread-15] - org.sonatype.nexus.proxy.maven.maven2.M2Repository - Expiring local cache in repository ID='central-copy1' from path='/.index' jvm 1 | 2011-06-15 16:19:25 INFO [ool-1-thread-15] - org.sonatype.nexus.proxy.maven.maven2.M2Repository - Clearing NFC cache in repository ID='central-copy1' from path='/.index' jvm 1 | 2011-06-15 16:19:25 WARN [ool-1-thread-15] - org.sonatype.nexus.index.DefaultIndexerManager - Cannot fetch remote index for repository "Maven Central Copy 1" [id=central-copy1] jvm 1 | org.sonatype.nexus.proxy.RemoteStorageException: 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"] jvm 1 | at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.executeMethod(CommonsHttpClientRemoteStorage.java:456) jvm 1 | at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.retrieveItem(CommonsHttpClientRemoteStorage.java:163) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager$2.retrieve(DefaultIndexerManager.java:1097) jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.downloadIndexProperties(DefaultIndexUpdater.java:459) jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.access$000(DefaultIndexUpdater.java:76) jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater$IndexAdaptor.setProperties(DefaultIndexUpdater.java:589) jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:813) 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.downloadRepositoryIndex(DefaultIndexerManager.java:960) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:929) jvm 1 | at org.sonatype.nexus.tasks.DownloadIndexesTask.doRun(DownloadIndexesTask.java:57) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:158) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:428) 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:206) 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:680) jvm 1 | Caused by: java.net.ConnectException: No route to host jvm 1 | at java.net.PlainSocketImpl.socketConnect(Native Method) jvm 1 | at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) jvm 1 | at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) jvm 1 | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) jvm 1 | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432) jvm 1 | at java.net.Socket.connect(Socket.java:529) jvm 1 | at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) jvm 1 | at java.lang.reflect.Method.invoke(Method.java:597) jvm 1 | at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140) jvm 1 | at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125) jvm 1 | at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) jvm 1 | at org.apache.commons.httpclient.CustomMultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(CustomMultiThreadedHttpConnectionManager.java:1378) jvm 1 | at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) jvm 1 | at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) jvm 1 | at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) jvm 1 | at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) jvm 1 | at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.executeMethod(CommonsHttpClientRemoteStorage.java:416) jvm 1 | ... 21 more jvm 1 | 2011-06-15 16:19:25 INFO [ool-1-thread-15] - org.sonatype.nexus.feeds.DefaultFeedRecorder - Downloading indexes for repository Maven Central Copy 1 : Process started on Wed Jun 15 16:19:25 EDT 2011, finished successfully on Wed Jun 15 16:19:25 EDT 2011 jvm 1 | 2011-06-15 16:49:01 INFO [Thread-7 ] - org.apache.shiro.session.mgt.AbstractValidatingSessionManager - Validating all active sessions... jvm 1 | 2011-06-15 16:49:01 INFO [Thread-7 ] - org.apache.shiro.session.mgt.AbstractValidatingSessionManager - Finished session validation. No sessions were stopped. {noformat} Even when network is restored and central repo is reachable, task can no longer be run. Not sure how long it takes to restore the task.

    Sonatype JIRA | 5 years ago | Peter Lynch
    org.sonatype.nexus.proxy.RemoteStorageException: 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"]
  3. 0

    Cannot fetch SonarQube project and modules from Sonar server

    GitHub | 2 years ago | acadet
    org.sonar.wsclient.connectors.ConnectionException: Query: org.apache.commons.httpclient.methods.GetMethod@47f79ab5
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Make GeoNode work with GeoServer 2.4

    GitHub | 3 years ago | ingenieroariel
    org.springframework.security.authentication.AuthenticationServiceException: Communication with GeoNode failed
  6. 0

    Master branch is failing tests in Travis

    GitHub | 3 years ago | ingenieroariel
    org.springframework.security.authentication.AuthenticationServiceException: Communication with GeoNode failed
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.ConnectException

    No route to host

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Method.invoke
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
    6. java.net.Socket.connect(Socket.java:529)
    7. sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
    8. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    9. java.lang.reflect.Method.invoke(Method.java:597)
    9 frames
  3. HttpClient
    HttpClient.executeMethod
    1. org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140)
    2. org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125)
    3. org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
    4. org.apache.commons.httpclient.CustomMultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(CustomMultiThreadedHttpConnectionManager.java:1378)
    5. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
    6. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    7. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    8. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
    8 frames
  4. org.sonatype.nexus
    CommonsHttpClientRemoteStorage.retrieveItem
    1. org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.executeMethod(CommonsHttpClientRemoteStorage.java:416)
    2. org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.retrieveItem(CommonsHttpClientRemoteStorage.java:163)
    2 frames
  5. Sonatype Nexus Indexer
    DefaultIndexerManager$2.retrieve
    1. org.sonatype.nexus.index.DefaultIndexerManager$2.retrieve(DefaultIndexerManager.java:1097)
    1 frame
  6. Maven :: Indexer Core
    DefaultIndexUpdater.fetchAndUpdateIndex
    1. org.apache.maven.index.updater.DefaultIndexUpdater.downloadIndexProperties(DefaultIndexUpdater.java:459)
    2. org.apache.maven.index.updater.DefaultIndexUpdater.access$000(DefaultIndexUpdater.java:76)
    3. org.apache.maven.index.updater.DefaultIndexUpdater$IndexAdaptor.setProperties(DefaultIndexUpdater.java:589)
    4. org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:813)
    5. org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:157)
    5 frames
  7. Sonatype Nexus Indexer
    DefaultIndexerManager.downloadRepositoryIndex
    1. org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:1132)
    2. org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:1017)
    3. org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:960)
    4. org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:929)
    4 frames
  8. ${project.groupId}:${project.artifactId}
    AbstractNexusTask.call
    1. org.sonatype.nexus.tasks.DownloadIndexesTask.doRun(DownloadIndexesTask.java:57)
    2. org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:158)
    2 frames
  9. ${project.groupId}:${project.artifactId}
    DefaultScheduledTask.call
    1. org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:428)
    1 frame
  10. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    7. java.lang.Thread.run(Thread.java:680)
    7 frames