Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-6515

Remote returning 401 causes repository to auto-block

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Bug
    • Affects Version/s: 2.6.4, 2.7.2, 2.8
    • Fix Version/s: None
    • Component/s: Repository
    • Labels:

      Description

      If a proxy repository's remote returns 401 for some paths it causes the entire repository to be auto-blocked.

      2014-04-03 12:03:25 INFO [qtp981159220-78] anonymous org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientRemoteStorage - Initializing remote transport for proxy repository "abc" [id=abc]...
      2014-04-03 12:03:26 WARN [qtp981159220-78] anonymous org.sonatype.nexus.proxy.maven.maven2.M2Repository - Remote peer of proxy repository "abc" [id=abc] threw a org.sonatype.nexus.proxy.RemoteAuthenticationNeededException 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): Unauthorized
      2014-04-03 12:03:26 INFO [RepositoryStatusChecker-abc] *SYSTEM org.sonatype.nexus.proxy.maven.maven2.M2Repository-abc - Next attempt to auto-unblock the "abc" (id=abc) repository by checking its remote peer health will occur in 40 seconds.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              rseddon Rich Seddon
              Last Updated By:
              Peter Lynch Peter Lynch
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  tigCommentSecurity.panel-title