Cannot establish a TCP connection to server at port 443 "Error resolving version'" in VMware Live Recovery
search cancel

Cannot establish a TCP connection to server at port 443 "Error resolving version'" in VMware Live Recovery

book

Article ID: 432985

calendar_today

Updated On:

Products

VMware vCenter Server 8.0 VMware vSAN 6.x VMware Live Recovery VMware vSphere ESXi

Issue/Introduction

The VMware Live Recovery (VLR) appliance reports recurring background task failures in the vSphere Client. These tasks specifically fail during the "Register vSphere Replication Server" workflow, even if the Site Recovery Manager (SRM) feature is not actively in use.

Environment

VMware Live Recovery Appliance 9.0, 9.0.1, 9.0.2, 9.0.3, 9.0.4, 9.0.5

VMware vSAN ESA

vSAN Data Protection

 

Cause

  • Maintenance Mode: When an ESXi host is in Maintenance Mode, the Host-Based Replication (HBR) userworld daemon closes its active listener on TCP port 443.

    vCenter tasks show the following failure: Cannot establish a TCP connection to server at ####:443. Details: 'Error resolving version'. Cause: A generic error occurred in the vSphere Replication Management Server.

    The hms.log on the VLR appliance contains: com.vmware.vim.vmomi.client.exception.InternalException: Error resolving version Caused by: java.util.concurrent.ExecutionException: (vmodl.fault.SystemError) { reason = Host is in maintenance mode }

  • Firewall: Port 443 is blocked between the VLR appliance and the ESXi management interfaces.

  • When testing the port 443 with nc -zv, connection timeout is observed below.

 

 

Resolution

  1. Verify the state of the ESXi hosts in the vCenter inventory.
  2. If hosts are in Maintenance Mode, exit Maintenance Mode. 
  3. Ensure port 443 is open bidirectionally between the VLR appliance and all ESXi hosts.
  4. Test connectivity from the VLR appliance using the command: nc -zv #### 443
  5. Allow the hms service to complete the automated registration. If tasks continue to fail, restart the hms service: systemctl restart hms

Additional Information

  • KB 405139: vCenter task flooded with "Cause: A general system error occurred: Host is in maintenance mode" generated from vSphere replication due to scanned host in maintenance mode.

  • KB 435535: Register vSphere Replication Server failed tasks flood vCenter after Live Recovery deployment

  • KB 395674: Error: Register vSphere Replication server

  • For required ports, refer to page VMware Ports and Protocols to access to the correct page, select Ports and Protocols and select vSAN.