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

"scope" authentication errors when connecting to registry.connect.redhat.com

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.9.0
    • Fix Version/s: 3.12.0
    • Component/s: Docker
    • Labels:
    • Story Points:
      3

      Description

      Steps to reproduce:

      1. Create Docker proxy repository
      2. Remote storage: https://registry.connect.redhat.com
      3. HTTP Authentication: RH Credentials |0|
      4. Connect to registry via Docker client or via HTTPs {registry}/v2/sonatype/nexus-repository-manager/manifests/latest

      Error:

      Logs show error due to Could not retrieve token due to missing parameter: scope

      2018-04-02 20:18:35,925+0000 WARN [qtp1573000070-263] *UNKNOWN org.apache.http.impl.auth.HttpAuthenticator - BEARER [complete=true] authentication error: Could not retrieve token due to missing parameter: scope
      2018-04-02 20:18:35,961+0000 WARN [qtp1573000070-263] *UNKNOWN org.sonatype.nexus.repository.docker.internal.V2Handlers - Error: GET /v2/sonatype/nexus-repository-manager/manifests/latest: 401 - org.sonatype.nexus.repository.docker.internal.V2Exception: access to the requested resource is not authorized
      2018-04-02 20:18:37,085+0000 WARN [qtp1573000070-263] *UNKNOWN org.sonatype.nexus.repository.docker.internal.auth.BearerScheme - Failed to retrieve docker bearer token
      org.apache.http.auth.AuthenticationException: Could not retrieve token due to missing parameter: scope
      at org.sonatype.nexus.repository.docker.internal.auth.BearerScheme.requireParameter(BearerScheme.java:120)
      at org.sonatype.nexus.repository.docker.internal.auth.BearerScheme.authenticate(BearerScheme.java:103)
      at org.apache.http.impl.auth.HttpAuthenticator.doAuth(HttpAuthenticator.java:239)
      at org.apache.http.impl.auth.HttpAuthenticator.generateAuthResponse(HttpAuthenticator.java:202)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mdodgson Mark Dodgson
                Reporter:
                jyoung Justin Young
                CC:
                Stuart Rosenfeld
                Last Updated By:
                John Kruger
                Team:
                Nexus - Formats
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

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