vsalimgareev
Contributor
Contributor

vSphere Server 6.5 web client - endless session

I have installed vSphere Server 6.5 on Windows Server 2016

I need an endless session. I used this manual: Increasing the VMware vSphere Web Client session timeout period (2040626) | VMware KB

1. In the file C:\ProgramData\VMware\vCenterServer\cfg\vsphere-client\webclient.properties set "session.timeout = 0"

Once a day, the error "vsphere web client session is no longer authenticated"

In what there can be a reason and how to remove this error?

2. For vSphere HTML5 Client, you can not set an infinite session. By setting "session.timeout" = 0 or -1 I get the error "vsphere web client session is no longer authenticated" when trying to log in.

How do I set an infinite session for the HTML5 Client?

thanks for answers

0 Kudos
3 Replies
AishR
VMware Employee
VMware Employee

Setting a negative value or 0 is the way to do it in 6.5 as well. Have you performed any other changes that might have led to this issue.

0 Kudos
Punitsolanki
Enthusiast
Enthusiast

If your network FW has a idle session timeout for client IP then This will not work.

any reason you want infinite session timeout minutes, this will negatively effect the performance as it will consume the java memory or wrapper.

hope this helps

Punit Solanki psolanki@vmware.com
0 Kudos
sumdesh
Contributor
Contributor

Hi

I am facing same problem with vSphere 6.5 web client.

If session remains idle for 2 min or more, it again asks for log in.

How to disable it? Please guide. It is annoying.

~Sumit

0 Kudos