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

Sonatype JIRA | Atlassian | 5 years ago
  1. 0

    Atlassian Maven repository is running Nexus Pro 1.9.2.2 We are unable to download any google gson artifacts from maven central {{com.google.code.gson:gson}}. I checked v.1.7.2's checksums and they looked OK. I've had numerous maven central index problems under 1.9.X, many times by central blocking us or refusing connection. Attempted to expire cache and repair our central proxy index and had connection refused problems earlier. {noformat} [pxpool-1-thread-10] 2011-10-12 02:08:49 INFO - o.s.n.f.DefaultFeed~ - Repairing repository index "central" from path / and below. : Process started on Wed Oct 12 02:08:49 CDT 2011, not yet finished. [pxpool-1-thread-10] 2011-10-12 02:08:49 INFO - o.s.n.i.DefaultInde~ - Trying to get remote index for repository "central" [id=central] [pxpool-1-thread-10] 2011-10-12 02:08:49 INFO - o.s.n.p.m.m.M2Repos~ - Expiring local cache in repository ID='central' from path='/.index' [pxpool-1-thread-10] 2011-10-12 02:08:49 INFO - o.s.n.p.w.DefaultWa~ - Aborted walking on repository ID='central' from path='/.index', cause: Item not found on path "/.index" in repository "central"! [pxpool-1-thread-10] 2011-10-12 02:08:49 INFO - o.s.n.p.m.m.M2Repos~ - Clearing NFC cache in repository ID='central' from path='/.index' [pxpool-1-thread-10] 2011-10-12 02:08:50 WARN - o.s.n.i.DefaultInde~ - Cannot fetch remote index for repository "central" [id=central] org.sonatype.nexus.proxy.RemoteStorageException: 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"] at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.executeMethod(CommonsHttpClientRemoteStorage.java:456) at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.retrieveItem(CommonsHttpClientRemoteStorage.java:163) at org.sonatype.nexus.index.DefaultIndexerManager$2.retrieve(DefaultIndexerManager.java:1097) at org.apache.maven.index.updater.DefaultIndexUpdater.downloadIndexProperties(DefaultIndexUpdater.java:459) at org.apache.maven.index.updater.DefaultIndexUpdater.access$000(DefaultIndexUpdater.java:76) at org.apache.maven.index.updater.DefaultIndexUpdater$IndexAdaptor.setProperties(DefaultIndexUpdater.java:589) at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:856) at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:157) at org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:1132) at org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:1017) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:892) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:841) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:815) at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexRepository(ReindexTaskHandlerLegacy.java:60) at org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:72) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:159) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:437) 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) Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at java.net.Socket.<init>(Socket.java:375) at java.net.Socket.<init>(Socket.java:249) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91) at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:158) ... 1 more {noformat} The index repair finally went: {noformat} [pxpool-1-thread-10] 2011-10-12 02:23:02 INFO - o.s.n.i.DefaultInde~ - Publishing index for repository central [pxpool-1-thread-10] 2011-10-12 02:23:02 INFO - o.a.m.i.p.DefaultIn~ - Unable to read properties file, will force index regeneration [pxpool-1-thread-10] 2011-10-12 02:23:19 INFO - o.s.n.f.DefaultFeed~ - Repairing repository index "central" from path / and below. : Process started on Wed Oct 12 02:08:49 CDT 2011, finished successfully on Wed Oct 12 02:23:19 CDT 2011 [pxpool-1-thread-19] 2011-10-12 02:23:26 INFO - o.s.n.f.DefaultFeed~ - Repairing repository index "central" from path / and below. : Process started on Wed Oct 12 02:23:26 CDT 2011, not yet finished. [pxpool-1-thread-19] 2011-10-12 02:23:26 INFO - o.s.n.i.DefaultInde~ - Trying to get remote index for repository "central" [id=central] [pxpool-1-thread-19] 2011-10-12 02:23:26 INFO - o.s.n.p.m.m.M2Repos~ - Expiring local cache in repository ID='central' from path='/.index' [pxpool-1-thread-19] 2011-10-12 02:23:26 INFO - o.s.n.p.w.DefaultWa~ - Aborted walking on repository ID='central' from path='/.index', cause: Item not found on path "/.index" in repository "central"! [pxpool-1-thread-19] 2011-10-12 02:23:26 INFO - o.s.n.p.m.m.M2Repos~ - Clearing NFC cache in repository ID='central' from path='/.index' {noformat} We continue to get 500s {noformat:title=nexus.log} [14649902@qtp-15839838-24231] 2011-10-12 06:13:29 WARN - o.r.C.Server - An exception occured writing the response entity: null [14649902@qtp-15839838-24231] 2011-10-12 06:13:29 WARN - org.mortbay.log - Committed before 500 An exception occured writing the response entity [14649902@qtp-15839838-24231] 2011-10-12 06:13:29 WARN - o.r.C.Server - Error while handling an HTTP server call: Committed {noformat} The only thing I can think of at this point is to restart Nexus, but I prefer to not do that since we have a high load. Any help would be awesome. More settings on our central proxy to maven central: {{Download Remote Indexes = True}} {{Auto blocking active = True}} {{File content validation = True}} {{Checksum Policy = Strict}} Maybe I'm blind and saw correct checksums when they were bad. Thanks, Bryce@atlassian

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

    Atlassian Maven repository is running Nexus Pro 1.9.2.2 We are unable to download any google gson artifacts from maven central {{com.google.code.gson:gson}}. I checked v.1.7.2's checksums and they looked OK. I've had numerous maven central index problems under 1.9.X, many times by central blocking us or refusing connection. Attempted to expire cache and repair our central proxy index and had connection refused problems earlier. {noformat} [pxpool-1-thread-10] 2011-10-12 02:08:49 INFO - o.s.n.f.DefaultFeed~ - Repairing repository index "central" from path / and below. : Process started on Wed Oct 12 02:08:49 CDT 2011, not yet finished. [pxpool-1-thread-10] 2011-10-12 02:08:49 INFO - o.s.n.i.DefaultInde~ - Trying to get remote index for repository "central" [id=central] [pxpool-1-thread-10] 2011-10-12 02:08:49 INFO - o.s.n.p.m.m.M2Repos~ - Expiring local cache in repository ID='central' from path='/.index' [pxpool-1-thread-10] 2011-10-12 02:08:49 INFO - o.s.n.p.w.DefaultWa~ - Aborted walking on repository ID='central' from path='/.index', cause: Item not found on path "/.index" in repository "central"! [pxpool-1-thread-10] 2011-10-12 02:08:49 INFO - o.s.n.p.m.m.M2Repos~ - Clearing NFC cache in repository ID='central' from path='/.index' [pxpool-1-thread-10] 2011-10-12 02:08:50 WARN - o.s.n.i.DefaultInde~ - Cannot fetch remote index for repository "central" [id=central] org.sonatype.nexus.proxy.RemoteStorageException: 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"] at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.executeMethod(CommonsHttpClientRemoteStorage.java:456) at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.retrieveItem(CommonsHttpClientRemoteStorage.java:163) at org.sonatype.nexus.index.DefaultIndexerManager$2.retrieve(DefaultIndexerManager.java:1097) at org.apache.maven.index.updater.DefaultIndexUpdater.downloadIndexProperties(DefaultIndexUpdater.java:459) at org.apache.maven.index.updater.DefaultIndexUpdater.access$000(DefaultIndexUpdater.java:76) at org.apache.maven.index.updater.DefaultIndexUpdater$IndexAdaptor.setProperties(DefaultIndexUpdater.java:589) at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:856) at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:157) at org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:1132) at org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:1017) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:892) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:841) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:815) at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexRepository(ReindexTaskHandlerLegacy.java:60) at org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:72) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:159) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:437) 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) Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at java.net.Socket.<init>(Socket.java:375) at java.net.Socket.<init>(Socket.java:249) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91) at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:158) ... 1 more {noformat} The index repair finally went: {noformat} [pxpool-1-thread-10] 2011-10-12 02:23:02 INFO - o.s.n.i.DefaultInde~ - Publishing index for repository central [pxpool-1-thread-10] 2011-10-12 02:23:02 INFO - o.a.m.i.p.DefaultIn~ - Unable to read properties file, will force index regeneration [pxpool-1-thread-10] 2011-10-12 02:23:19 INFO - o.s.n.f.DefaultFeed~ - Repairing repository index "central" from path / and below. : Process started on Wed Oct 12 02:08:49 CDT 2011, finished successfully on Wed Oct 12 02:23:19 CDT 2011 [pxpool-1-thread-19] 2011-10-12 02:23:26 INFO - o.s.n.f.DefaultFeed~ - Repairing repository index "central" from path / and below. : Process started on Wed Oct 12 02:23:26 CDT 2011, not yet finished. [pxpool-1-thread-19] 2011-10-12 02:23:26 INFO - o.s.n.i.DefaultInde~ - Trying to get remote index for repository "central" [id=central] [pxpool-1-thread-19] 2011-10-12 02:23:26 INFO - o.s.n.p.m.m.M2Repos~ - Expiring local cache in repository ID='central' from path='/.index' [pxpool-1-thread-19] 2011-10-12 02:23:26 INFO - o.s.n.p.w.DefaultWa~ - Aborted walking on repository ID='central' from path='/.index', cause: Item not found on path "/.index" in repository "central"! [pxpool-1-thread-19] 2011-10-12 02:23:26 INFO - o.s.n.p.m.m.M2Repos~ - Clearing NFC cache in repository ID='central' from path='/.index' {noformat} We continue to get 500s {noformat:title=nexus.log} [14649902@qtp-15839838-24231] 2011-10-12 06:13:29 WARN - o.r.C.Server - An exception occured writing the response entity: null [14649902@qtp-15839838-24231] 2011-10-12 06:13:29 WARN - org.mortbay.log - Committed before 500 An exception occured writing the response entity [14649902@qtp-15839838-24231] 2011-10-12 06:13:29 WARN - o.r.C.Server - Error while handling an HTTP server call: Committed {noformat} The only thing I can think of at this point is to restart Nexus, but I prefer to not do that since we have a high load. Any help would be awesome. More settings on our central proxy to maven central: {{Download Remote Indexes = True}} {{Auto blocking active = True}} {{File content validation = True}} {{Checksum Policy = Strict}} Maybe I'm blind and saw correct checksums when they were bad. Thanks, Bryce@atlassian

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

    Error while migrating saiku PRPT report to another server

    GitHub | 4 years ago | rahulsarma
    java.net.ConnectException: Connection refused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Connection refused as reported by TBC/TBL but works from browser

    Google Groups | 2 years ago | Nicolae Marasoiu
    org.topbraid.spin.sparqlmotion.modules.SMException: Failed to authenticate
  6. 0

    Web Service dipatch failes and sets the message status to ERROR if no connection can be made to the external server: {noformat} Web Service Sender error ERROR MESSAGE: Error creating web service dispatch java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at java.net.Socket.<init>(Socket.java:375) at java.net.Socket.<init>(Socket.java:249) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) at com.mirth.connect.connectors.ws.WebServiceDispatcher.getWsdlUrl(WebServiceDispatcher.java:163) at com.mirth.connect.connectors.ws.WebServiceDispatcher.createDispatch(WebServiceDispatcher.java:132) at com.mirth.connect.connectors.ws.WebServiceDispatcher.send(WebServiceDispatcher.java:228) at com.mirth.connect.donkey.server.channel.DestinationConnector.handleSend(DestinationConnector.java:612) at com.mirth.connect.donkey.server.channel.DestinationConnector.run(DestinationConnector.java:517) at java.lang.Thread.run(Thread.java:662) {noformat}

    Mirth Project | 2 years ago | Peter Scholz
    java.net.ConnectException: Connection refused

  1. michallos 1 times, last 7 days ago
  2. treefolk 2 times, last 3 days ago
  3. linxiaolong 18 times, last 4 weeks ago
  4. Kialandei 1 times, last 1 month ago
  5. DoktorDoener666 41 times, last 3 weeks ago
24 more registered users
65 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.ConnectException

    Connection refused

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.<init>
    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:366)
    6. java.net.Socket.connect(Socket.java:529)
    7. java.net.Socket.connect(Socket.java:478)
    8. java.net.Socket.<init>(Socket.java:375)
    9. java.net.Socket.<init>(Socket.java:249)
    9 frames
  3. HttpClient
    ControllerThreadSocketFactory$SocketTask.run
    1. org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
    2. org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91)
    3. org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:158)
    3 frames
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:662)
    1 frame