Unable to open vCenter 6.5 flash based web client

When you open web client following pop-up error is seen.

Cannot navigate to the desired location.
Error details: An error occurred while activating extension vsphere.core.viTree.hostsAndClustersView.
Invalid domain view id: vsphere.core.viTree.hostsAndClustersView"

When we click on Yes then you see following stack.

Error: Invalid domain view id: vsphere.core.viTree.hostsAndClustersView
at com.vmware.vsphere.client.views.app::AppViewMediator/showDomainView()
at com.vmware.vsphere.client.views.app::AppViewMediator/activateExtensionInternal()
at MethodInfo-1531()
at com.vmware.vsphere.client.views.app::AppViewMediator/onUiReady()
at EventFunctor/notifyTarget()
at EventFunctor/onEvent()
at flash.events::EventDispatcher/dispatchEvent()
at com.vmware.frinje::EventBus/dispatchEvent()
at com.vmware.frinje::EventBus/onEvent()
at flash.events::EventDispatcher/dispatchEvent()
at com.vmware.docking::DockableUiManager/onLayoutDataRetrieved()
at com.vmware.docking::DockableUiManager/onUserDataRetrieved()
at EventFunctor/notifyTarget()
at EventFunctor/onEvent()
at flash.events::EventDispatcher/dispatchEvent()
at com.vmware.frinje::EventBus/dispatchEvent()
at com.vmware.frinje::EventBus/onEvent()
at flash.events::EventDispatcher/dispatchEvent()
at Function/<anonymous>()
at Function/<anonymous>()
at Function/<anonymous>()
at com.vmware.flexutil::MxmlDeserializer/onThreadTerminated()
at flash.events::EventDispatcher/dispatchEvent()
at com.vmware.flexutil::PseudoThread/terminate()
at com.vmware.flexutil::PseudoThread/onTimer()
at flash.utils::Timer/tick()

This does not allow web client to load. However HTML based web client works fine.
Following lines can be seen in vsphere_client_virgo.log (/var/log/vmware/vsphere-client/logs)

[2019-06-27T19:46:51.237Z] [ERROR] http-bio-9090-exec-3 70000894 100040 200011 com.vmware.vise.util.logging.LogServiceImpl [Flex|AppErrorHandler]Unable to load resource module from /veeam-zip-ui/locales/veeam-zip-ui-resources-en_US.swf
Error: Unable to load resource module from /veeam-zip-ui/locales/veeam-zip-ui-resources-en_US.swf
at MethodInfo-666()
at flash.events::EventDispatcher/dispatchEvent()
at ModuleInfoProxy/moduleEventHandler()
at flash.events::EventDispatcher/dispatchEvent()
at ModuleInfo/errorHandler()
[2019-06-27T19:46:52.384Z] [INFO ] http-bio-9090-exec-10 org.springframework.flex.servlet.MessageBrokerHandlerAdapter Channel endpoint amf received request.
[2019-06-27T19:46:52.514Z] [INFO ] http-bio-9090-exec-6 org.springframework.flex.servlet.MessageBrokerHandlerAdapter Channel endpoint amf received request.
[2019-06-27T19:46:52.515Z] [INFO ] http-bio-9090-exec-6 com.vmware.vise.util.session.SessionUtil Generated hashed session id: 100041
[2019-06-27T19:46:52.515Z] [INFO ] http-bio-9090-exec-6 com.vmware.vise.util.session.SessionUtil Mapping: /vsphere-client/telemetry-ui: sessionid to -> 100041 with clientId: 200011
[2019-06-27T19:46:52.515Z] [INFO ] http-bio-9090-exec-6 70000895 100041 200011 com.vmware.vise.util.session.SessionUtil Associated sessionId 100041 with clientId 200011. Context path: /vsphere-client/telemetry-ui
[2019-06-27T19:46:52.665Z] [INFO ] http-bio-9090-exec-3 70000896 100040 200011 org.springframework.flex.servlet.MessageBrokerHandlerAdapter Channel endpoint amf received request.
[2019-06-27T19:46:52.666Z] [ERROR] http-bio-9090-exec-3 70000896 100040 200011 com.vmware.vise.util.logging.LogServiceImpl [Flex|AppErrorHandler]Unable to load resource module from /veeam-backup-ui/locales/VeeamBackupUi-en_US.swf
Error: Unable to load resource module from /veeam-backup-ui/locales/VeeamBackupUi-en_US.swf
at MethodInfo-666()
at flash.events::EventDispatcher/dispatchEvent()
at ModuleInfoProxy/moduleEventHandler()
at flash.events::EventDispatcher/dispatchEvent()
at ModuleInfo/errorHandler()

Potential solution:

  • AS per the error this is being caused by VEEAM backup client plugin. Veeam support may fix this issue by reinstalling the plugin. Most the common troubleshooting is mentioned in VEEAM KB
  • Some of the cases it is observed this error may cause because of workstation locale (language) is not English, in that case vCenter URL https://vCenter_IP/vsphere-client/?locale=en_US&csp with English can be use (just change vCenterIP OR Name of your vCenter).

Due to 3party plugin, many time you may encounter timeout while loading the inventory that takes more than default 120 seconds. When you expend inventory such datacenter/cluster or any other folder then at the bottom of the page you may see following warning.

The query execution timed out because of a back-end data adapter com.ni.eseries.vcenterWebClientui.ESeriesDataAdapter' which took more than 120 seconds.

At the same time vsphere_client_virgo.log (/var/log/vmware/vsphere-client/logs/ ) shows following lines.

[2019-06-14T08:15:10.716-08:00] [INFO ] data-service-pool-791 70000774 100041 200031 System.out Backend -- Find Extension --Key:com.netapp.santricity.vmware.vcenter.plugin
[2019-06-14T08:15:10.718-08:00] [INFO ] data-service-pool-791 70000774 100041 200031 System.out Backend -- Extension with Key com.netapp.santricity.vmware.vcenter.plugin Found
[2019-06-14T08:15:10.718-08:00] [INFO ] data-service-pool-791 70000774 100041 200031 System.out Backend -- Setup server URLs -- ReST:https://10.160.16.251:8084 Plugin:https://10.0.0.121:8084/vcenter2 Date:Fri Jun 14 08:15:10 AKDT 2019
[2019-06-14T08:15:10.718-08:00] [INFO ] data-service-pool-791 70000774 100041 200031 System.out VCenterPluginRest -- New Loaded Server URL: 'https://10.0.0.121:8084/vcenter2/vcenterRest' with date of Fri Jun 14 08:15:10 AKDT 2019
[2019-06-14T08:15:12.833-08:00] [WARN ] http-bio-9090-exec-12 com.vmware.vise.util.concurrent.ExecutorUtil Task 'Adapter com.vmware.opsmgmt.client.alarms.impl.AlarmIssueAdapter' timed out and was cancelled.
[2019-06-14T08:15:12.838-08:00] [ERROR] data-service-pool-796 70001202 100084 200043 com.vmware.opsmgmt.client.alarms.util.EntityNameRetriever Error retrieving entity names com.vmware.vise.data.query.DataServiceException: The data service execution was interrupted

[2019-06-14T08:15:12.838-08:00] [INFO ] data-service-pool-761 com.vmware.vise.util.session.SessionUtil Generated hashed session id: 100085
[2019-06-14T08:15:12.842-08:00] [INFO ] data-service-pool-761 com.vmware.vise.util.session.SessionUtil Mapping: ds/sdk: sessionid to -> 100085 with clientId: 200043
[2019-06-14T08:15:12.848-08:00] [ERROR] data-service-pool-796 70001202 100084 200043 com.vmware.opsmgmt.client.alarms.util.EntityNameRetriever Error retrieving entity names com.vmware.vise.data.query.DataServiceException: The data service execution was interrupted
at com.vmware.vise.data.query.impl.DataServiceImpl.getResults(DataServiceImpl.java:364)
at com.vmware.vise.data.query.impl.DataServiceImpl.getResponse(DataServiceImpl.java:196)
at com.vmware.vise.data.query.impl.DataServiceImpl.getData(DataServiceImpl.java:171)
at sun.reflect.GeneratedMethodAccessor304.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)

Here you can see the timeout issue is being caused by NetApp plugin. We can increase the default timeout as per KB OR contact NetAPP vendor to fix the issue with their add-in.

If you feel these issues are causing because of some of unwanted plugin installed in past then remove it using mob page, Refer KB

Advertisements