Session information lost during login and logout from vSphere client(HTML) on Firefox and Safari using vCenter 6.7
book
Article ID: 320110
calendar_today
Updated On:
Products
VMware vCenter Server
Issue/Introduction
Symptoms:
In the plugin view, you see message similar to:
java.lang.IllegalStateException: Data Service invoked in a user's session lacking authentication token, but a token is required. at com.vmware.vise.data.adapters.core.DataServiceCoreAdapter.requireTokenInSession(DataServiceCoreAdapter.java:534) at com.vmware.vise.data.adapters.core.DataServiceCoreAdapter.getAdapterForCurrentSession(DataServiceCoreAdapter.java:228) at com.vmware.vise.data.adapters.core.DataServiceCoreAdapter.getData(DataServiceCoreAdapter.java:220) at com.vmware.vise.data.query.impl.DataAdapterUtil.getDataFromAdapter(DataAdapterUtil.java:219) at com.vmware.vise.data.query.impl.DataAdapterUtil.getResultFromAdapter(DataAdapterUtil.java:176) at com.vmware.vise.data.query.impl.DataAdapterUtil.access$000(DataAdapterUtil.java:43) at com.vmware.vise.data.query.impl.DataAdapterUtil$1.call(DataAdapterUtil.java:82) at com.vmware.vise.data.query.impl.DataAdapterUtil$1.call(DataAdapterUtil.java:79) at com.vmware.vise.util.concurrent.ExecutorUtil$2.call(ExecutorUtil.java:773) at com.vmware.vise.util.concurrent.ExecutorUtil$ThreadContextPropagatingTask.call(ExecutorUtil.java:1234) at com.vmware.vise.data.query.impl.DataServiceThreadPoolDecorator$1.call(DataServiceThreadPoolDecorator.java:174) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.
Environment
VMware vCenter Server 6.7.x
Cause
This issue is caused when the old session authentication token is cached and used for new session.
Resolution
Currently, there is no resolution.
Workaround:
To workaround this issue, perform one of the below methods.
Use Chrome browser ( Where this issue is not reproducible)
Refresh the browser in Firefox or Safari
Navigate to any other view first and then click the given plugin view.