Error caused vCenter Server disconnect - org.apache.http.conn.HttpHostConnectException: Connect to vcenter.example.com:443 [vcenter.fqdn/vcenter.ipddr] failed: Connection timed out (Connection timed out) - Connect to vcenter.example.com:443 [vcenter.fqdn/vcenter.ipddr] failed: Connection timed out (Connection timed out) - Connection timed out (Connection timed out)Error caused vCenter Server disconnectFailed to connectcurl -k -v https://vcenter.example.com:443* Trying vcenter.example.com:443...* connect to vcenter.example.com port 443 failed: Connection timed out* Failed to connect to vcenter.example.com port 443 after 130071 ms: Connection timed out* Closing connection 0curl: (28) Failed to connect to vcenter.example.com port 443 after 130071 ms: Connection timed outcurl -k -v https://vcd-cell.example.com * Trying vcd-cell.example.com:443...* connect to vcd-cell.example.com port 443 failed: No route to host* Failed to connect to vcd-cell.example.com port 443 after 3073 ms: No route to host* Closing connection 0curl: (7) Failed to connect to vcd-cell.example.com port 443 after 3073 ms: No route to host
/opt/vmware/vcloud-director/logs/vcloud-container-debug.logERROR | Backend-activity-pool-7910 | VirtualCenterService | Error occurred while connecting to VC VMware Cloud Director 10.x
This issue can occur if there is a network communication issue that stops traffic from vCenter Server reaching the Cloud Director cells.
To resolve the issue ensure network traffic from vCenter Server can reach the Cloud Director cell(s).
ip routecurl to connect to the Cloud Director cell and confirm this is successful, for example:
curl -v telnet://vcloud.example.com:443* Host vcloud.example.com::443 was resolved.* IPv6: (none)* IPv4: 192.###.##.##* Trying 192.###.##.##:443...* Connected to vcloud.example.com: (192.###.##.##) port 443curl to connect to the vCenter Server and confirm this is successful, for example:Impact/Risks: Cloud Director will encounter issues such as task execution failures if it cannot connect to vCenter Server.