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

System Import to HA fails - Bearer authentication failed

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • 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
    • Regression:
      Yes

      Description

      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 'e739d572-8d2d-4ec4-a0e6-ada1b0655110'
      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:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: