A MongoDB instance is configured to use SSL and the Foglight agent is not able to connect; the following errors is seen on the MongoDB agent logs:
yyyy-MM-dd HH:mm:ss.SSS ERROR [FglAM:RestoreAgent[18]-0] com.sma.mongodb.utilities.VersionInfo - An unexpected error occurred which may cause undesired behavior. You may want to contact customer support if you see this error again: Error retrieving server version.
com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting for a server that matches ReadPreferenceServerSelector{readPreference=primary}. Client view of cluster state is {type=UNKNOWN, servers=[{address=hostname:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketReadException: Prematurely reached end of stream}}]