Details
-
Bug
-
Resolution: Fixed
-
Critical
-
1.9.2.3
-
1
Description
Was attempting to build against the rso "nexus-private-dev" group. Found this to be extremely unstable, it kept being auto-blocked.
Root cause is that every time an artifact request comes in which is blocked by the repository target privileges in that repo we're auto-blocking the proxy.
Make a proxy for this URL in your local nexus (note, you will need to supply authorization credentials) : https://repository.sonatype.org/content/groups/private-nexus-dev/
Request something through it that there isn't a repository target privilege for:
http://localhost:8081/nexus/content/repositories/private-nexus-dev-proxy/foo/bar/1.0/bar-1.0.jar
In local Nexus log you will see we auto-block:
2011-10-26 11:21:15 WARN [p-1312724941-50] - org.sonatype.nexus.proxy.maven.maven2.M2Repository - Remote peer of proxy repository "aaa" (id=aaa) threw a org.sonatype.nexus.proxy.RemoteAccessDeniedException exception. Please set up authorization information for this repository. Auto-blocking this repository to prevent further connection-leaks and known-to-fail outbound connections until administrator fixes the problems, or Nexus detects remote repository as healthy. - Cause(s): Forbidden
2011-10-26 11:21:15 INFO [atusChecker-aaa] - org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.aaa - Next attempt to auto-unblock the "aaa" (id=aaa) repository by checking it's remote peer health will occur in 40 seconds.
Attachments
Issue Links
- relates
-
NEXUS-9508 Nexus auto-blocks repositories too aggressively
-
- Closed
-
-
NEXUS-16539 Nexus 3 does not auto-block on 401 responses from https://maven.oracle.com
-
- Closed
-
-
NEXUS-6515 Remote returning 401 causes repository to auto-block
-
- Closed
-