When attempting to register or pair a vCenter Server with VMware HCX Manager, the connection may fail even if DNS and basic network connectivity are functional. This issue typically occurs during the site-pairing phase or initial configuration when an active proxy configuration intercepts traffic destined for the local vCenter. This article provides the steps to identify and bypass or remove the proxy configuration to restore communication between the appliances.
Symptoms:
"Error: VCenter https://<vcenterfqdn> is not reachable. Failed to initialize connection to vSphere server <vcenterfqdn>"nslookup) and ICMP (ping), from the HCX Manager appliance to the vCenter Server are successful.This issue occurs when a proxy server is configured in the HCX Appliance Management Interface (VAMI on port 9443) that unintentionally intercepts, routes, or blocks the internal traffic intended for the local vCenter Server. If the vCenter Server is not explicitly bypassed in the proxy settings, the HCX Manager will attempt to reach the vCenter Server through the proxy, leading to connection failures.
To resolve this issue, remove the proxy configuration (or configure a proper proxy bypass/exception for the vCenter Server) and restart the relevant HCX services.
Resolution:
Note: Ensure that no active migrations are in progress before applying this workaround. Restarting the services during this procedure will cause ongoing migrations to fail.
https://<HCX-Manager-IP-or-FQDN>:9443 using the admin credentials.