Unable to run vCenter NTP server check.

/var/log/vmware/applmgmt/applmgmt.log or update_microservices.log may show UNAUTHENTICATED, 403 Forbidden or socket.timeout errors when attempting to verify NTP status.2026-06-24T13:21:08.864Z ERROR applmgmt-update-microservice 118519 [vc@4413 module="ntp_precheck" funcName="checkNtpServers" lineNum="57"] Unable to retrieve NTP servers. err: {HTTPSConnectionPool(host='abc.abc', port=443): Max retries exceeded with url: /api (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 403 Forbidden')))}
VMware Cloud Foundation 9.x
Issue with the proxy configuration in vCenter, disallowing the vCenter to connect to itself.
The vCenter Server Appliance is configured to utilize an external HTTP/HTTPS proxy, but the local Primary Network Identifier (PNID) has not been correctly excluded from proxy routing. During the NTP precheck validation, the applmgmt microservice attempts to query its own local VAPI endpoint (/api) on port 443. Because the PNID is absent from the NO_PROXY exception list, the request is routed out to the external proxy server, which subsequently rejects the internal connection with a 403 Forbidden error.
Please check if the file /etc/sysconfig/proxy contains the vCenter PNID, localhost and 127.0.0.1 for the NO_PROXY variable:
Warning: Modifying the appliance network properties and proxy settings can disrupt infrastructure communications. Ensure a consistent, offline file-based backup and/or offline snapshot of the vCenter Server Appliance is captured before proceeding.
Enable the bash shell by running:
shell
Retrieve the precise vCenter PNID to verify the exact string expected in the exclusion list:
/usr/lib/vmware-vmafd/bin/vmafd-cli get-pnid --server-name localhost
Open the proxy configuration file using vi or a preferred text editor:
vi /etc/sysconfig/proxy
Modify the NO_PROXY variable to explicitly include localhost, 127.0.0.1, and the vCenter PNID (e.g., <REDACTED_HOSTNAME>):
NO_PROXY="localhost, 127.0.0.1, <REDACTED_HOSTNAME>"
Save and exit the configuration file.
Restart the vCenter Server Appliance to commit the changes and apply the environment variables globally:
reboot
Once the vCenter Server Appliance is back online and all core services are running, retry the vCenter 9.1.0.0100 upgrade precheck sequence.