[RTFACT-15832] System Import to HA fails - Bearer authentication failed Created: 06/Feb/18  Updated: 27/Aug/18  Resolved: 28/May/18

Status: Resolved
Project: Artifactory Binary Repository
Component/s: Import/export
Affects Version/s: 5.7.0, 5.6.2, 5.8.3, 5.11.0, 5.11.1
Fix Version/s: 6.0.0

Type: Bug Priority: Critical
Reporter: Ariel Kabov Assignee: Maxim Yurkovsky
Resolution: Fixed Votes: 0
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.


Generated at Fri Jul 19 16:21:52 UTC 2019 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.