503 Service Unavailable (Failed to connect to endpoint)

Hi Friends,


IT was mainly two type of issues 

1. Services not Started 
2. Certificate issue

Steps we need to perform to resolve this:-
  • Checked the certs SSL and STS were valid
  • Restarted the services. Service was stuck in vapi-endpoint
    • Services-control --start --all and services-control --stop --all
  • Checked vapi/endpoint logs shows No subject alternative name matching IP address.
    • log files location :- C:\ProgramData\vCenterServer\logs\vapi\endpoint.log
  • As PNID was IP address we need to update IP address.
  • PNID = the system name (FQDN or IP address) is used as the PNID.
  • Followed the KB https://kb.vmware.com/s/article/2112283?lang=en_us 
  • Re-generated the SSL certs updated the IPaddress and hostname to IP address (Hostname always should be PNID)
  • Command to check PNID is mentioned in the KB.
    • Windows:  "C:\Program Files\VMware\vCenter Server\vmafdd\vmafd-cli.exe" get-pnid --server-name localhost
    • https://kb.vmware.com/s/article/2130599 
  • Once certs were re-generated all the services were up and running.
  • We were able to access vCenter.




Comments

Popular posts from this blog

Zabbix Server is not working: the information dispaly may not be current

How to install VNX Launcher that has embedded java and Firefox

DHCP FAILED APIPA IS USED