vSphere Client service has stopped working
search cancel

vSphere Client service has stopped working

book

Article ID: 397290

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • Unable to access vSphere Client with an error:

    vSphere Client service has stopped working.
    For troubleshooting refer Skyline Health Diagnostics.
    Learn more by checking VMware vSphere Documentation and Support.
    For appliance administration, navigate to vCenter Server Management appliance

  • vmon.log shows that a direct response route was created when the vsphere-ui healthstatus retrieval failed with timeout for some reason and the status became UNHEALTHY temporarily, but the direct response route was not deleted when the vsphere-ui service was started.

    ####-##-##T##:##:##.###Z Wa(03) host-23029 <vsphere-ui> Service api-health command's stderr: Exception while retrieving health xml from url http://localhost:5090/ui/healthstatus. Exception: timed out
    ####-##-##T##:##:##.###Z Wa(03)+ host-23029
    ####-##-##T##:##:##.###Z Wa(03) host-23029 Informing envoy to create a direct response route as vsphere-ui is stopped
    ####-##-##T##:##:##.###Z In(05) host-23029 <static-ui> Constructed command: /usr/bin/python /usr/lib/vmware-vmon/vmon-direct-response-route.py create stopped
    ####-##-##T##:##:##.###Z Wa(03) host-23029 <vsphere-ui> Health of service failed. Health data: {"localizable_msgs": [{"id": "com.vmware.vmon.svc_health_fail", "default_message": "Failed to retrieve service health.", "args": []}]}
    ####-##-##T##:##:##.###Z In(05) host-23029 <vsphere-ui> Recover from service api health check failure. Fail count 0
    ####-##-##T##:##:##.###Z In(05) host-23029 <event-pub> Constructed command: /usr/bin/python /usr/lib/vmware-vmon/vmonEventPublisher.py --eventdata vsphere-ui,UNHEALTHY,HEALTHY,1

    ...
    ####-##-##T##:##:##.###Z In(05) host-23029 <vsphere-ui> Running the API Health command as user vsphere-ui
    ####-##-##T##:##:##.###Z In(05) host-23029 <vsphere-ui-healthcmd> Constructed command: /usr/bin/python /usr/lib/vmware-vmon/vmonApiHealthCmd.py -n vsphere-ui -u /ui/healthstatus -t 30
    ####-##-##T##:##:##.###Z In(05) host-23029 <event-pub> Constructed command: /usr/bin/python /usr/lib/vmware-vmon/vmonEventPublisher.py --eventdata vsphere-ui,HEALTHY,UNHEALTHY,1

  • vsphere-ui service is currently up and running.

    # service-control --status vsphere-ui
    Running:
    vsphere-ui

Environment

VMware vCenter Server 7.0 Update 3

Cause

 

Until the direct response route is deleted, this error screen will continue to appear.

Resolution

As a workaround, restart vsphere-ui service.

# service-control --restart vsphere-ui

This is fixed in vCenter Server 7.0 Update3d.
It prevents creating direct response route (static page) upon vsphere-ui service health failure.

Additional Information