vCenter Server services fail to start post-reboot with "Operation timed out" when a proxy is configured
search cancel

vCenter Server services fail to start post-reboot with "Operation timed out" when a proxy is configured

book

Article ID: 439180

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

Symptoms : 
After rebooting the vCenter Server Appliance (VCSA), multiple services fail to start. Running service-control --start --all results in the following error:

Service-control failed. Error: Failed to start services in profile ALL. RC=1, stderr=Failed to start sps, vsan-health, sca, cis-license, eam, vpxd-svcs, analytics, vc-ws1a-broker, vsm services. Error: Operation timed out

Log Analysis:

/var/log/vmware/vpxd/vpxd.log contains entries such as: Connection refused: The remote service is not running, OR is overloaded, OR a firewall is rejecting connections.

/var/log/vmware/vmon/vmon.log indicates: Exception while retrieving health xml from url http://localhost:[PORT]/... Exception: HTTP Error 504: Gateway Timeout vCenter Server did not came up after reboot - Some services fail to start

Environment

vCenter 8.x

Cause

This issue occurs when a proxy is configured on the VCSA, but the internal loopback traffic (localhost, 127.0.0.1) is not excluded from proxying. Internal vCenter components communicate via the loopback interface; if NO_PROXY does not explicitly include these addresses, services attempt to route internal API calls through the external proxy server, leading to timeouts and startup failures Multiple vCenter services fail to start.

Resolution

Please refer to KB article 370265 for detailed instructions on configuring the proxy settings for your vCenter Server.