The vSphere Client (H5 client) shows error stack traces
search cancel

The vSphere Client (H5 client) shows error stack traces

book

Article ID: 321005

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

  • This article provides information to customers with very security sensitive environments in which the returned stack traces might be an issue.

  • HTTP requests that have hit an error during processing return a stack trace.

Environment

  • VMware vCenter Server

Cause

This issue occurs due to the default mode of the H5 client which was to return the stack traces for debug purposes.

Resolution

Update error.stackTrace.show=false in the webclient.properties file.

  1. SSH to the vCenter with root user
  2. Navigate to the folder /etc/vmware/vsphere-ui/
    cd /etc/vmware/vsphere-ui/
  3. Edit the file webclient.properties using the below vi command in this path: -
    vi webclient.properties
  4. Go to the end of the file add the below line 
    "error.stackTrace.show = false"
  5. Save and Exit
    Esc > :wq!
  6. Restart the vsphere-ui service using the below command.
    service-control --restart vsphere-ui