vmware-stsd fail to start or remain in a 'Starting' state./var/log/vmware/sso/websso.log:YYYY-MM-DDTHH:MM:SS.MSSZ WARN websso[83:tomcat-http--45] [CorId=####-####-####-####-####] [com.vmware.identity.interop.ldap.LdapErrorChecker] Error received by LDAP client: com.vmware.identity.interop.ldap.OpenLdapClientLibrary, error code: -1YYYY-MM-DDTHH:MM:SS.MSSZ websso[83:tomcat-http--45] [CorId=####-####-####-####-####] [com.vmware.identity.idm.server.ServerUtils] cannot bind connection: [ldap://192.0.2.1:389, <SERVICE_ACCOUNT>]YYYY-MM-DDTHH:MM:SS.MSSZ ERROR websso[83:tomcat-http--45] [CorId=####-####-####-####-####] [com.vmware.identity.idm.server.ServerUtils] cannot establish ldap connection with URI: [ldap://192.0.2.1:389] because [com.vmware.identity.interop.ldap.ServerDownLdapException] with reason [Can't contact LDAP server] therefore will try to attempt to use secondary URIs, if applicable|
/var/log/vmware/sso/vmware-identity-sts.log contain: Throwing InvalidTimeRangeException! The requested token start time differs from the issue instant more than the acceptable deviation (clock tolerance) of 600000 ms.This issue occurs when the vCenter Security Token Service (STS) attempts to bind to a configured Active Directory Identity Source that is unreachable via the network or DNS.
Because the LDAP client hangs while attempting to connect to the offline Domain Controller, the authentication request processing time exceeds the default 10-minute (600,000 ms) clock tolerance threshold. This causes the STS service to reject the SAML token generation with an InvalidTimeRangeException, even if the actual system clocks are synchronized.
To resolve this issue, the connection to the Identity Source must be restored or reconfigured:
curl -v telnet://<DC_FQDN>:389 (or 636 for LDAPS) from the VCSA shell to confirm the path is open.nslookupadministrator@vsphere.local (via the /etc/hosts workaround if necessary) and update the Identity Source to point to a reachable, highly available Domain Controller./etc/hosts are removed once the network path is corrected.If immediate UI access is required to modify Identity Source settings:
root uservi /etc/hosts127.0.0.1 <DC_FQDN>service-control --restart vmware-stsd