PTA diamond.log error: Timed out after 10000 ms while waiting for a server that matches AnyServerSelector{}
100
Created On 11/10/26 11:03 AM - Last Modified 11/10/26 15:50 PM
Symptom
PTA stopped functioning. Diamond log shows error similar to:
LOG | [<timestamp>] | ERROR | {aid=web} | {sid=} | {rid=} | {tid=localhost-startStop-1} | com.cyberark.diamond.services.IndexingService.ensureIndex(IndexingService.java:70) - GNL0062E :: Error while creating an index on field '<session-id>' in collection '<psm-session>'
org.springframework.dao.DataAccessResourceFailureException: Timed out after 10000 ms while waiting for a server that matches AnyServerSelector{}. Client view of cluster state is {type=Unknown, servers=[{address=localhost:27017, type=Unknown, state=Connecting, exception={com.mongodb.MongoException$Network: Exception opening the socket}, caused by {java.net.ConnectException: Connection refused (Connection refused)}}]; nested exception is com.mongodb.MongoTimeoutException: Timed out after 10000 ms while waiting for a server that matches AnyServerSelector{}. Client view of cluster state is {type=Unknown, servers=[{address=localhost:27017, type=Unknown, state=Connecting, exception={com.mongodb.MongoException$Network: Exception opening the socket}, caused by {java.net.ConnectException: Connection refused (Connection refused)}}]
Mongod.log shows:
<timestamp> F NETWORK [main] The provided SSL certificate is expired or not yet valid.
Environment
12.2;12.6;13.0;13.2 Privileged Access Manager (PAM, self-hosted) PTA PTA
Cause
The PTA MongoDB database is offline and not working, because of an expired or invalid SSL certificate.
Resolution
Install valid certificates on PTA. See documentation:
https://docs.cyberark.com/PAS/Latest/en/Content/PTA/PTA-Certificate-Procedures.htm