Why we are getting "Failed to join the JPD. Are the credentials correct?" when adding JPD to Source Artifactory
In some scenarios, when we add JPD to the Home Artifactory, we get the below error in the Register platform deployment UI. This article will help to fix this issue.
In the mission control logs, you should see the below error.
mc-service.log:2023-06-01T10:01:11.767Z [jfmc ] [INFO ] [8b3bc9ed1cc36d8 ] [o.j.m.j.RegisterJpdStrategy:58] [http-nio-8080-exec-5] - JPD created: JPD-6 2023-06-01T10:01:11.768Z [jfmc ] [INFO ] [8b3bc9ed1cc36d8 ] [o.j.m.c.RemoteJpdClient:145 ] [http-nio-8080-exec-5] - Trying to join http://support-team-test:8082/ 2023-06-01T10:01:11.791Z [jfmc ] [INFO ] [8b3bc9ed1cc36d8 ] [.a.c.AccessClientBootstrap:146] [http-nio-8080-exec-5] - Cluster join: Executing join on 'http://support-team-test:8082/access' 2023-06-01T10:01:11.816Z [jfmc ] [INFO ] [8b3bc9ed1cc36d8 ] [.e.BaseJaxRsExceptionMapper:19] [http-nio-8080-exec-5] - Request POST http://localhost:8080/mc/api/ui/v1/jpds?jfLoader=true failed: Failed to join the JPD. Are the credentials correct?
mc-request.log:2023-06-01T10:01:06.741Z|8b3bc9ed1cc36d8|http://support-team-test:8082/router/api/v1/system/ping%7CGET%7C200%7COK%7C9 2023-06-01T10:01:11.742Z|8b3bc9ed1cc36d8|http://support-team-test:8082/access/api/v1/system/ping%7CGET%7C200%7COK%7C7
Resolution:Generally, the above error occurs if you have provided an incorrect join.key/pairing token when you add the JPD under Register platform deployment. Please double-check that your pairing token is correct.