Unable to edit the "Network Profile" in Source HCX UI. Editing it throws an error "NSX-T config was not found for VC uuid <vCenter-id>"
Unable to generate connection rules. JSONObject["vcUrl"] not found"NSX is registered with Source HCX in admin page i.e. <https://<hcx-ip>:9443
Review of the HCX app.log confirms the following specific error signatures during the task execution:
java.lang.RuntimeException: NSX-T config was not found for VC uuid ########-####-####-####-##########
JSONException: JSONObject["vcUrl"] not found
VMware HCX 4.11.x
VMware HCX 9.1.1
This error occurs when there is no NSX Manager installed on the source/on-premises environment, but an NSX Manager is incorrectly registered with the source/on-premises HCX Manager in the admin page.
Log in to the HCX Appliance Management interface at https://<HCX-IP>:9443 using the admin credentials.
Locate the NSX section and click Delete to remove the current NSX registration
Note: This does not delete any configurations in NSX itself; it only removes the registration link in HCX
Navigate to the Services tab (or Troubleshooting > Service Actions)
Service restart sequence for 4.11.x is as follows (Wait for each service to return to a "Running" state.):
Click STOP on the three (3) HCX Services in the following order:
Web Service
Migration Planning Service
Application Service
Click START on the three (3) HCX Services in the following order:
Application Service
Migration Planning Service
Web Service
Service restart sequence for 9.1.1 is as follows (Wait for each service to return to a "Running" state.):
Click STOP on the three (3) HCX Services in the following order:
Migration Planning Service
Web Service
Application Service
Click START on the three (3) HCX Services in the following order:
Application Service
Web Service (Should automatically trigger a start on the Migration Planning Service)
Migration Planning Service
If the environment requires NSX integration, return to the Configuration tab and re-register the NSX Manager
Best Practice: Always use the Fully Qualified Domain Name (FQDN) of the NSX Manager rather than the IP address to ensure certificate and UUID alignment
Log in to the standard HCX User Interface (https://<HCX-IP>)
Navigate to Infrastructure > Interconnect > Network Profiles/Compute Profiles
Retry the previously failed workflow
For related information on Network Profile creation failures, see Error : Unable to create Network Profile in VMware HCX..
For general registration guidance, see the VMware HCX User Guide.