java.io.IOException

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.

  • 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
    via by Diego Álvarez,
    • 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(HealthCheckTask.java:417)[na:na] at com.sonatype.nexus.plugins.healthcheck.task.HealthCheckTask.doRunSafe(HealthCheckTask.java:178)[na:na] at com.sonatype.nexus.plugins.healthcheck.task.HealthCheckTask.doRun(HealthCheckTask.java:133)[na:na] at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:158)[nexus-app-2.2-01.jar:na] at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:459)[plexus-task-scheduler-1.6.0.jar:na] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[na:1.7.0_09] at java.util.concurrent.FutureTask.run(FutureTask.java:166)[na:1.7.0_09] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[na:1.7.0_09] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[na:1.7.0_09] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)[na:1.7.0_09] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)[na:1.7.0_09] at java.lang.Thread.run(Thread.java:722)[na:1.7.0_09]
    No Bugmate found.