java.io.IOException: Failed to determine health check interval for repository central, status code 403 Forbidden

Sonatype JIRA | Diego Álvarez | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    I've recently installed Nexus 2.2 in my company. When I try to Update indexes of proxy repositories (Central, Apache Snapshots, Codehaus Snapshopts), the following errors appears in the wrapper.log file: jvm 1 | 2012-10-31 10:40:09 INFO [pool-1-thread-3] - org.sonatype.nexus.tasks.UpdateIndexTask - Scheduled task (UpdateIndexTask) started :: Updating repository index "Central" from path / and below. jvm 1 | 2012-10-31 10:40:10 INFO [pool-1-thread-3] - org.sonatype.nexus.index.DefaultIndexerManager - Trying to get remote index for repository "Central" [id=central] jvm 1 | 2012-10-31 10:40:10 WARN [pool-1-thread-3] - org.sonatype.nexus.index.DefaultIndexerManager - Cannot fetch remote index for repository "Central" [id=central] due to IO problem. jvm 1 | org.sonatype.nexus.proxy.RemoteAccessDeniedException: Forbidden jvm 1 | at org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientRemoteStorage.doExecuteRequest(HttpClientRemoteStorage.java:501) ~[nexus-proxy-2.2-01.jar:na] jvm 1 | at org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientRemoteStorage.executeRequest(HttpClientRemoteStorage.java:448) ~[nexus-proxy-2.2-01.jar:na] jvm 1 | at org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientRemoteStorage.retrieveItem(HttpClientRemoteStorage.java:171) ~[nexus-proxy-2.2-01.jar:na] .............. Also, when the Health Check Management for repository central is trying to run, the following error appears: jvm 1 | 2012-10-31 10:41:40 INFO [pool-1-thread-2] - com.sonatype.nexus.plugins.healthcheck.task.HealthCheckTask - Scheduled task (HealthCheckTask) started :: Health Check Management for Repository central jvm 1 | 2012-10-31 10:41:40 WARN [pool-1-thread-2] - com.sonatype.nexus.plugins.healthcheck.task.HealthCheckTask - Scheduled task (HealthCheckTask) failed :: Health Check Management for Repository central (started 2012-10-31T10:41:40+01:00, runtime 0:00:00.160) jvm 1 | java.io.IOException: Failed to determine health check interval for repository central, status code 403 Forbidden jvm 1 | at com.sonatype.nexus.plugins.healthcheck.task.HealthCheckTask.doDeltaCheck(HealthCheckTask.java:417) ~[na:na] jvm 1 | at com.sonatype.nexus.plugins.healthcheck.task.HealthCheckTask.doRunSafe(HealthCheckTask.java:178) ~[na:na] jvm 1 | at com.sonatype.nexus.plugins.healthcheck.task.HealthCheckTask.doRun(HealthCheckTask.java:133) ~[na:na] jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:158) ~[nexus-app-2.2-01.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(FutureTask.java:334) [na:1.7.0_09] jvm 1 | at java.util.concurrent.FutureTask.run(FutureTask.java:166) [na:1.7.0_09] jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_09] jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) [na:1.7.0_09] jvm 1 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [na:1.7.0_09] jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [na:1.7.0_09] jvm 1 | at java.lang.Thread.run(Thread.java:722) [na:1.7.0_09] I've configured the HTTP Proxy settings andthe "Download Remote Indexes" option is enabled. How can I solve this? We need to migrate the platform from an older version of Nexus. Thanks in advanced. Diego

    Sonatype JIRA | 4 years ago | Diego Álvarez
    java.io.IOException: Failed to determine health check interval for repository central, status code 403 Forbidden
  2. 0

    ADB Connection Error

    Stack Overflow | 4 years ago | Raveesh Lawrance
    java.io.IOException: An existing connection was forcibly closed by the remote host at sun.nio.ch.SocketDispatcher.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(Unknown Source) at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source) at sun.nio.ch.IOUtil.read(Unknown Source) at sun.nio.ch.SocketChannelImpl.read(Unknown Source) at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:395) at com.android.ddmlib.Device.executeShellCommand(Device.java:462) at com.android.ddmuilib.logcat.LogCatReceiver$1.run(LogCatReceiver.java:110)
  3. 0

    java.lang.IllegalArgumentException: URI scheme is not "file"

    java-forums.org | 8 months ago
    java.io.IOException: Server returned HTTP response code: 403 for URL: at sun.net. at slideshowapplet.SlideshowApplet.doListofImagefiles (SlideshowApplet.java:461) at slideshowapplet.SlideshowApplet.init(SlideshowAppl et.java:180) at sun.plugin2.applet.Plugin2Manager$AppletExecutionR unnable.run(Plugin2Manager.java:1658)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.IllegalArgumentException: URI scheme is not "file"

    java-forums.org | 8 months ago
    java.io.IOException: Server returned HTTP response code: 403 for URL: at sun.net. at slideshowapplet.SlideshowApplet.doListofImagefiles (SlideshowApplet.java:484) at slideshowapplet.SlideshowApplet.init(SlideshowAppl et.java:182) at sun.plugin2.applet.Plugin2Manager$AppletExecutionR unnable.run(Plugin2Manager.java:1658)
  6. 0

    data nodes evicted randomly and cluster marks node... - Cloudera Community

    cloudera.com | 2 years ago
    java.io.IOException: Broken pipe         at sun.nio.ch.FileDispatcherImpl.write0(Native Method)         at sun.nio.ch.SocketDispatcher.write(SocketDispatcher .java:47)         at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.jav a:93)         at sun.nio.ch.IOUtil.write(IOUtil.java:65)

    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.io.IOException

      Failed to determine health check interval for repository central, status code 403 Forbidden

      at com.sonatype.nexus.plugins.healthcheck.task.HealthCheckTask.doDeltaCheck()
    2. com.sonatype.nexus
      HealthCheckTask.doRun
      1. com.sonatype.nexus.plugins.healthcheck.task.HealthCheckTask.doDeltaCheck(HealthCheckTask.java:417)[na:na]
      2. com.sonatype.nexus.plugins.healthcheck.task.HealthCheckTask.doRunSafe(HealthCheckTask.java:178)[na:na]
      3. com.sonatype.nexus.plugins.healthcheck.task.HealthCheckTask.doRun(HealthCheckTask.java:133)[na:na]
      3 frames
    3. ${project.groupId}:${project.artifactId}
      AbstractNexusTask.call
      1. org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:158)[nexus-app-2.2-01.jar:na]
      1 frame
    4. ${project.groupId}:${project.artifactId}
      DefaultScheduledTask.call
      1. org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:459)[plexus-task-scheduler-1.6.0.jar:na]
      1 frame
    5. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[na:1.7.0_09]
      2. java.util.concurrent.FutureTask.run(FutureTask.java:166)[na:1.7.0_09]
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[na:1.7.0_09]
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[na:1.7.0_09]
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)[na:1.7.0_09]
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)[na:1.7.0_09]
      7. java.lang.Thread.run(Thread.java:722)[na:1.7.0_09]
      7 frames