VMware VCSA error: 503 Service Unavailable Failed to connect to endpoint

Today I struggled with the following error when trying to login to my VMware VCSA:

503 Service Unavailable Failed to connect to endpoint:
[N7Vmacore4Http20NamedPipeServiceSpecE:0x00007f975808ee30]

It took me some time to bring it back to life – maybe this short summary can help you:

  • create a snapshot of your VCSA (backup is your friend…)
  • connect to your VCSA console and press Alt + F1
503 Service Unavailable
  • login with your root account
  • type “shell”
  • type “cd ..”
  • enter the following command to access the postgres database:
    /opt/vmware/vpostgres/current/bin/psql -U postgres -d VCDB
  • reindex the following tables with the commands below:

reindex pk_fle_snap_disk_unit

reindex vpx_vm_fle_snap_disk_unit_m1

503 Service Unavailable

Restart the VCSA and wait some time until it is successfully bootet. If you can log-on without any issue do not forget to delete the snapshot.

1 Comment

  1. Antony Nelson

    This issue may occur due to several reasons such as:

    The vCenter Server currently down because of maintenance.
    The reverse Proxy service on vCenter Server is down.
    The vSphere web client service is down.
    Mis-configured Firewall settings.

    To resolve 503 Service unavailable see VMware KB (https://kb.vmware.com/s/article/67818)

Leave a Comment

Your email address will not be published. Required fields are marked *