Knowledge Base
The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides

|
Unable to connect to vCenter Inventory Service (2032356)
Details
Immediately after logging in to the vSphere Web Client, you see the error:
Unable to connect to vCenter Inventory Service running at https://server-address:server-port
In the vSphere Web Client, there is a limit of 60 simultaneous sessions per user. If you encounter this error, you might have exceeded the session limit.
To verify that this is the cause of the error, check the ds.log log file located at:
Unable to connect to vCenter Inventory Service running at https://server-address:server-port
In the vSphere Web Client, there is a limit of 60 simultaneous sessions per user. If you encounter this error, you might have exceeded the session limit.
To verify that this is the cause of the error, check the ds.log log file located at:
- Server on which the Inventory service is installed – ProgramData\VMware\Infrastructure\Inventory Service\Logs\
- vCenter Server Appliance – /var/log/vmware/vpx/inventoryservice/
Look for entries similar to:
[2012-06-08 09:59:49,138 pool-10-thread-1 ERROR com.vmware.vim.vcauthenticate.servlets.AuthenticationHelper] Authentication error: com.vmware.vim.vcauthenticate.exception.VimAuthenticateException: com.vmware.vim.query.server.authorization.exception.AuthorizationException: Too many sessions for user: username
Solution
To resolve this issue, increase the number of allowed sessions per user.
To increase the number of allowed sessions per user:
- Open the security-config.xml file using a text editor. This file is located at:
- vCenter Server on Windows – Inventory service install location/lib/server/config/
- vCenter Server Appliance – /usr/lib/vmware-vpx/inventoryservice/lib/server/config/
- Insert the following entry as line 79:
<property name="maxUsagePerPrincipal" value="max" />
Where max is the maximum number of sessions per user.
For example, to increase the per-user session limit to 200, change the following section of the file:
76: <bean id="authorizationManager" class="com.vmware.cis.authorization.impl.AuthorizationManagerImpl"
77: init-method="init">
78: <property name="dataProvider" ref="authProvider" />
79: </bean>
To:
76: <bean id="authorizationManager" class="com.vmware.cis.authorization.impl.AuthorizationManagerImpl"
77: init-method="init">
78: <property name="dataProvider" ref="authProvider" />
79: <property name="maxUsagePerPrincipal" value="200" />
80: </bean>
For related information, see Reset the vCenter Server Inventory Service database 5.1 (2042200).
Update History
Request a Product Feature
To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.
Actions
KB:
- Updated:
- Categories:
- Languages:
- Product Family:
- Product(s):
- Product Version(s):

