[email protected] account./var/log/vmware/vsphere-ui/logs/dataservice.log, you see warning messages indicating a 60-second timeout:[<DATE_TIME_###########################>] [WARN ] serenity-thread-pool-578 DataServiceThreadPoolDecorator$1 [queryId: q-13291:QuickSearch:1025008341:01:library01] Data Service execution for task: io.opentelemetry.context.Context$$Lambda$664/583652280@3b00d81 has failed after 59803 ms com.vmware.vcenter.apigw.security.AuthenticationException: Failed to log into [uri=http://localhost:1080/external-vecs/http2/<VCENTER_DETAILS_#######################>/443/cls/, sessionMgr=SessionManagerInfo [_sessionMgrSvcId=com.vmware.cis.session, _loginOpId=create, _logoutOpId=delete], ssoDomain=vsphere.local(<SSO_DOMAIN_ID_####################################>)]: com.vmware.vapi.std.errors.internal_server_error => {data=<unset>, error_type=INTERNAL_SERVER_ERROR, messages=[com.vmware.vapi.std.localizable_message => {args=[Failed trying to retrieve token: ns0:RequestFailed: Cannot established a connection to server :: Can't contact LDAP server], default_message=Provider method implementation threw unexpected exception: Failed trying to retrieve token: ns0:RequestFailed: Cannot established a connection to server :: Can't contact LDAP server, localized=<unset>, id=vapi.bindings.method.impl.unexpected, params=<unset>}]}
Caused by: com.vmware.vcenter.apigw.security.AuthenticationException: Failed to log into [uri=http://localhost:1080/external-vecs/http2/<VCENTER_DETAILS_#######################>/443/cls/, sessionMgr=SessionManagerInfo [_sessionMgrSvcId=com.vmware.cis.session, _loginOpId=create, _logoutOpId=delete], ssoDomain=vsphere.local(<SSO_DOMAIN_ID_####################################>)]: com.vmware.vapi.std.errors.internal_server_error => {data=<unset>, error_type=INTERNAL_SERVER_ERROR, messages=[com.vmware.vapi.std.localizable_message => {args=[Failed trying to retrieve token: ns0:RequestFailed: Cannot established a connection to server :: Can't contact LDAP server], default_message=Provider method implementation threw unexpected exception: Failed trying to retrieve token: ns0:RequestFailed: Cannot established a connection to server :: Can't contact LDAP server, localized=<unset>, id=vapi.bindings.method.impl.unexpected, params=<unset>}]}
[<DATE_TIME_###########################>] [WARN ] p-nio-127.0.0.1-5090-exec-99 <USER_DETAILS_####################> ProfilingLogService [queryId: q-13291:QuickSearch:1025008341] The Data Service detected slow execution: The query batch execution took too long: 59810 milliseconds. A DataProviderAdapter ([Adapter: com.vmware.vise.data.adapters.core.DataServiceCoreAdapter@6b5de6ff, typeInfo: null]) execution took too long: 59810 milliseconds.
vCenter in Enhanced Linked Mode environment(ELM)
This issue occurs due to a federated search timeout within a vCenter Enhanced Linked Mode (ELM) environment.
When you perform a global search, the primary vCenter passes your Active Directory session token to the linked vCenter Server (e.g., ####-vc02) to retrieve its inventory.
If the secondary vCenter Server is unable to establish a connection to the configured LDAP server to validate the passed token due to network constraints, firewall blocks, or site-specific routing the query hangs for 60 seconds. Once the timeout is reached, the primary vCenter defaults to returning only local inventory results.
To resolve this issue, you must ensure that all vCenter Servers in the Enhanced Linked Mode environment have successful LDAP connectivity to validate Active Directory session tokens.
Once the secondary vCenter can validate the session token, federated search results return instantly.
For more information on configuring identity sources, see Add or Edit a vCenter Single Sign-On Identity Source.