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

403 forbidden when a proxy repository authenticates to private docker registry in gitlab

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.11.0
    • Fix Version/s: 3.12.0
    • Component/s: Docker
    • Labels:
      None

      Description

      1. Have a private docker registry hosted at registry.gitlab.com or a local install of gitlab with a private registry
      2. Create a docker proxy repository in NXRM to the remote gitlab registry URL and an index type that is NOT Docker Hub ( ie. is not HUB)
      3. Nexus will fail to authenticate requests sent to to the remote registry. The remote responds with 403 Forbidden

      Cause

      There is a bug where NXRM will only use preemptive auth to the remote if the index type is HUB. For a private remote registry this may not apply.

      Resolution

      A change has been made as part of NEXUS-16718 that causes Nexus to send pre-emptive auth for all docker proxy repository index types instead of just hub. Upgrade to 3.12.0 when it is released.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                plynch Peter Lynch
                Last Updated By:
                Joe Tom
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: