Error: 503 Service Unavailable when accessing the vSphere HTML5 client - VMware vCenter Server
search cancel

Error: 503 Service Unavailable when accessing the vSphere HTML5 client - VMware vCenter Server

book

Article ID: 436721

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • Accessing the vCenter Server via the vSphere HTML5 client results in a "503 Service Unavailable" error in the browser.

  • The vsphere-ui (vSphere Client) service fails to start, or remains in an unstable/stopped state following an abrupt host failure, hard shutdown, or power outage.

Environment

  • VMware vCenter Server 7.0

  • VMware vCenter Server 8.0

Cause

This issue occurs due to technical inconsistencies in the plugin directory triggered by an abrupt shutdown. Corrupted, 0-byte, or duplicate .disabled files in the VCSA plugin directory (/usr/lib/vmware-vsphere-ui/plugin-packages/) cause vSphere-UI service startup to fail.

Resolution

Before proceeding, take a backup or create a powered-off snapshot of the vCenter Server Virtual Machine.

Step 1: Identify and Remove Conflicting Plugin Files

  1. Connect to the vCenter Server Appliance (VCSA) via SSH and log in as the root user.

  2. Navigate to the plugin packages directory: cd /usr/lib/vmware-vsphere-ui/plugin-packages/

  3. List the files to identify any 0-byte or duplicate .disabled files: ls -ltrah

  4. Move the identified empty or duplicate .disabled file(s) to a temporary directory outside the default path (replace <filename> with the actual file name found): mv <filename>.disabled /tmp/

Step 2: Clear the vSphere Client Serenity Cache

  1. Stop the vSphere Client service: service-control --stop vsphere-ui

  2. Clear the Serenity DB cache: rm -rf /storage/vsphere-ui/SerenityDB/serenity/*

Step 3: Restart and Validate the Service

  1. Start the vSphere UI service: service-control --start vsphere-ui

  2. Confirm the vSphere UI service is running: service-control --status vsphere-ui

  3. Monitor the VCSA virgo log to confirm the download errors no longer occur: tail -f /var/log/vmware/vsphere-ui/logs/vsphere_client_virgo.log

  4. Log in to the vSphere Client (https://<vCenter-FQDN-or-IP>/ui) to confirm the 503 error is resolved. Allow a few minutes for the plugin catalog to fully re-initialize.