|
I'm getting this error when I try to do a simple query. I've tested older versions of the driver like 2.10.4 and 2.10.0 and it works fine.
Query
var connStr = "mongodb://localhost:27029/?readPreference=primary";
|
MongoClient client = new MongoClient(connStr);
|
IMongoDatabase db = client.GetDatabase("COVID19_Clearance");
|
var users = db.GetCollection<dynamic>("User").Find(new BsonDocument()).ToList();
|
Error
A timeout occured after 30000ms selecting a server using CompositeServerSelector {
|
Selectors = MongoDB.Driver.MongoClient + AreSessionsSupportedServerSelector,
|
LatencyLimitingServerSelector {
|
AllowedLatencyRange = 00: 00: 00.0150000
|
}
|
}
|
.Client view of cluster state is {
|
ClusterId: "1",
|
ConnectionMode: "Automatic",
|
Type: "Unknown",
|
State: "Disconnected",
|
Servers: [{
|
ServerId: "{ ClusterId : 1, EndPoint : " 127.0.0.1: 27029 " }",
|
EndPoint: "127.0.0.1:27029",
|
ReasonChanged: "ServerInitialDescription",
|
State: "Disconnected",
|
ServerVersion: ,
|
TopologyVersion: ,
|
Type: "Unknown",
|
LastHeartbeatTimestamp: null,
|
LastUpdateTimestamp: "2020-08-11T20:16:18.1181398Z"
|
}
|
]
|
}
|
|