-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Critical - P2
-
Affects Version/s: 2.11.0
-
Component/s: Connectivity
-
None
-
Environment:Windows 10 v1709
Visual Studio 2019
.NET Core 3.1
-
None
-
None
-
None
-
None
-
None
-
None
-
None
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"
}
]
}
- is cloned by
-
CSHARP-3183 Timeout in connection when running test in parallel
-
- Closed
-
- is duplicated by
-
CSHARP-3184 Clarify System.Threading.Timer behavior in RequestHeartbeat_should_respect_to_minHeartbeatInterval
-
- Closed
-