Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
None
-
ALL
Description
Error :
error msg="Cannot con
nect to MongoDB: cannot connect to MongoDB: server selection error: server selection timeout, current topology: { Type: Single, Servers: [
, ] }
Note: 127.0.0.1:27017 is not our host/port, not sure of this line in the log
Got this error on one VM(azure), which is part of a mongodb replicaset.
We faced an issue from application end yesterday.
During the issue duration , affected host was secondary, it became primary after an election happened thereafter.
We checked and found No health event reported for this VM.
Issue resolved on its own. But we are not sure of this error and as this is prod env we are trying to investigate.
We are using Mongo 4.4.6 version on Azure VM