VMware Cloud Community
TryllZ
Expert
Expert

vCenter Server Appliance does not respect timeout settings

Hi,

I have a workstation setup and am trying to keep the vCenter logged in, and have followed the steps mentioned here Configure the vSphere Web Client Timeout Value​, however, every time I resume the suspended vCenter after several hours it logs out. I have set the timeout settings to 0 to avoid timeout, yet it does not respect that and keeps logging out.

Any thoughts, on how to keep it logged in.

Thank You

0 Kudos
5 Replies
asajm
Expert
Expert

Hi TryllZ

Check this Configure the vSphere Web Client Timeout Value

If you think your queries have been answered
Marking this response as "Solution " or "Kudo"
ASAJM
0 Kudos
NathanosBlightc
Commander
Commander

For VCSA (Appliance) you should edit the following file by a default editor in the shell ( for example with vi) and then modify the session.timeout value and set it to 0. (by default is 120min)

/etc/vmware/vsphere-ui/webclient.properties

Then you must restart related services to commit modification:

service-control --stop vsphere-ui | service-control --start vsphere-ui

service-control --stop vsphere-client | service-control --stop vsphere-clientsession.timeout

Please mark my comment as the Correct Answer if this solution resolved your problem
0 Kudos
TryllZ
Expert
Expert

Thanks for the reply.

I have tried the steps mentioned herein, none of them work.

I have even restarted vCenter, no effect none whatsoever.

Thank You

0 Kudos
NathanosBlightc
Commander
Commander

After you restart the VCSA if you run cat /etc/vmware/vsphere-ui/webclient.properties what is the value for session.timeout?

Please mark my comment as the Correct Answer if this solution resolved your problem
0 Kudos
TryllZ
Expert
Expert

It shows the set timeout value of 0 [zero].

vServer-2019-10-06-18-04-21.png

0 Kudos