Symptoms
HCX Migration workflow will fail to execute and the below errors can be seen in the Resync Service Mesh window:Error 1: Error in communicating with remote side to find NSX types:- Invalid credentials, please retry.Error 2: Error in communicating with remote side to find NSX types:- A JSONObject text must begin with '{' at character 0 of , please retry.
Cause
Authentication issue in site pairing.
Impact / Risks
HCX Migration workflow will fail to execute.Service Mesh appliance fails to upgrade.
Resolution
Here are the steps that you need to follow to re-authenticate the site pairing:Method 1:
Login to HCX connectorClick on site pairing, select the site paring and click on edit connectionReenter the cloud-end credential
Method 2:
Login to HCX on API interface: https://<HCX connector-url or IP>/hybridity/docs/index.html
e.g: https://hcx-connector-01a.corp.local/hybridity/docs/index.html
From choose product drop down select, HCX connector.
First, get the authorization code by using the below API. see for the x-hm-authorization key in response
Click on Platform ---> /hybridity/API/sessions
Now use this authorization code, to authenticate cloud registration.
Click on Cloud Registration --->/hybridity/api/cloudConfigs Register the cloud endpointClick on the lock and then put the authorization code from step 3, put FQDN and username password for the cloud endpoint.
You should see a 200 ok response code.
Related Information
HCX - Site Pairing Connectivity Diagnostics (78340)