This article offers steps to identify and troubleshoot issues related to extending the vSphere Web Client session timeout.
The 'webclient.properties' configuration file in the VCSA for the webclient service may be incomplete when reviewed.
Shared below are the steps considered to isolate and remediate the noticed behavior.
Take appropriate snapshots of the vCenter or vCenters if in ELM.
SSH to vCenter via root.
Stop the VPXD service.service-control --stop vmware-vpxd
Backup the existing vpxd.cfg file prior to making any changes.cp /etc/vmware-vpx/vpxd.cfg /root/vpxd.cfg_bkp
Open the vpxd.cfg file using a text editor like vi file editor.vi /etc/vmware-vpx/vpxd.cfg
Add the following <soap> elements within the <vmacore> </vmacore> tags as shown below.
<soap> <sessionTimeout>240</sessionTimeout> </soap>
Assuming that the steps in "Increasing the VMware vSphere Web Client session timeout period" were followed to increase the timeout parameter in webclient.properties, verify the following:
/etc/vmware/vsphere-ui/webclient.properties
/etc/vmware-vpx/vpxd.cfg
Start the VMware vCenter Server service and restart the vSphere Client service.service-control --start vmware-vpxdservice-control --restart vsphere-ui
Note: For vSphere 6.5 and earlier, run: service-control --restart vsphere-client
If the issue continues despite completing the above, the affected VCSA exhibiting this behavior likely has incomplete content in the webclient.properties file. If possible, it is recommended to obtain a file from a working vCenter. Refer to the Additional Information section for examples of an affected and working vCenter webclient.properties file.
Example
Affected VCSA webclient.properties content:
#Timestamp
live.updates.lists.enabled=true
profiling.propertyProviderAdapterTimeThreshold=1500
live.updates.objectstate.enabled=true
installation.id=######
sso.active.sessions.max=150
profiling.queryBatchTimeThreshold=7000
dataservice.timeoutSeconds=120
session.timeout=240
alarms.refresh.rate=60
dataservice.connectionTimeoutSeconds=10
live.updates.navtree.enabled=true
connecton.state.check.interval=10
ovf.download.timeout=14400000
live.updates.enabled=true
sso.pending.password.expiration.notification.days=30
live.updates.alarms.enabled=true
portletsVmSummaryView.enabled=true
profiling.dataAdapterTimeThreshold=3000
webclient.properties (END)
Unaffected VCSA webclient.properties content
# Note: unless otherwise noted, changes in this file require a server restart or a new client session.
# To change the Help url reference, change the value to the required url.
# If you are deploying a Help package locally on the vSphere Web Client system, then provide a relative url.
# For example, if you deployed help.war, you would specify help.url=/help/
#help.url=http://techpubs.vmware.com/
# Flags that enable the live refresh in different areas of the client.
live.updates.enabled = true
live.updates.alarms.enabled = true
live.updates.navtree.enabled = true
live.updates.lists.enabled = true
live.updates.objectstate.enabled = true
# Web client session timeout in minutes, default is 120, i.e. 2 hours
session.timeout = 240
....
...
...
# If the total time consumed by all queries in a given batch exceeds
# this time, a warning will be logged.
# The value is in milliseconds
profiling.queryBatchTimeThreshold=7000
# Data Service Data Adapter Time Threshold
# If an adapter's execution exceeds this time, a warning will be logged.
# The value is in milliseconds
profiling.dataAdapterTimeThreshold=3000
# Data Service Property Provider Adapter Time Threshold
# If a PropertyProviderAdapter's execution exceeds this time,
# a warning will be logged. The value is in milliseconds
profiling.propertyProviderAdapterTimeThreshold=1500
installation.id=#####
webclient.properties (END)