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

Sonatype JIRA | Diego Álvarez | 4 years ago
  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. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    [JENKINS-6278] Problem with security to start slave-agent with JNLP at WindowsXP. - Jenkins JIRA

    jenkins-ci.org | 12 months ago
    java.io.IOException: Failed to load 403 Forbidden

    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