Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-15832

System Import to HA fails - Bearer authentication failed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 2 - Critical
    • Resolution: Done
    • Affects Version/s: 5.7.0, 5.6.2, 5.8.3, 5.11.0, 5.11.1
    • Fix Version/s: 6.0.0
    • Component/s: Import/export
    • Labels:
      None
    • Severity:
      Critical
    • Regression:
      Yes

      Description

      SENSITIVE DATA HAS BEEN REMOVED FROM THIS TICKET ACCORDING TO JFROG'S INTERNAL POLICY.

       

      Performing a system import, while running as HA (even with one node) fails with the following error:

      Caused by: java.lang.RuntimeException: Failed to verify access token with id 'RESTRICTED_TOKEN'
      Caused by: org.jfrog.access.client.AccessClientHttpException: HTTP response status 401:{
        "errors" : [ {
          "code" : "UNAUTHORIZED",
          "message" : "Bearer authentication failed",
          "detail" : "invalid token"
        } ]
      }
      

      My tests were from version 5.6.2(HA) to 5.8.3(HA). (also to 5.6.2/5.7.0)
      Once from RPM to Docker, and other from Docker to Docker.

      As a workaround, you can start the target server as a standalone, and after running the import convert it into HA.

        Attachments

          Activity

            People

            Assignee:
            Maximy Maxim Yurkovsky
            Reporter:
            arielk Ariel Kabov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

                Connection: RTFACT Sync
                RTMID-15832 -
                SYNCHRONIZED
                • Last Sync Date: