[CSHARP-2665] System.TimeoutException:“A timeout occured after 30000ms selecting a server using CompositeServerSelector Created: 11/Jul/19 Updated: 27/Oct/23 Resolved: 23/Jul/19 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 2.8.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | ding songjie | Assignee: | Scott L'Hommedieu (Inactive) |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
asp net core 2.2 vs 2017 windows 10 |
||
| Description |
|
I was Running a mongodb cluster with 1 primary and 2 secondry , and the auth was turned off . If i use this connection "mongodb://192.168.0.243:27017" ,it works fine , but if i use this connection "mongodb://192.168.0.243:27017,192.168.0.242:27017,192.168.0.246:27017" ,it throw a timeout exception . }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Disconnected", Servers : [{ ServerId: " { ClusterId : 1, EndPoint : "10.36.0.4:27017" }", EndPoint: "10.36.0.4:27017", State: "Disconnected", Type: "Unknown", LastUpdateTimestamp: "2019-07-11T10:05:57.1551274Z" }, { ServerId: " { ClusterId : 1, EndPoint : "10.39.0.5:27017" }", EndPoint: "10.39.0.5:27017", State: "Disconnected", Type: "Unknown", LastUpdateTimestamp: "2019-07-11T10:05:57.1550598Z" }, { ServerId: " { ClusterId : 1, EndPoint : "10.42.0.2:27017" }", EndPoint: "10.42.0.2:27017", State: "Disconnected", Type: "Unknown", LastUpdateTimestamp: "2019-07-11T10:05:57.1551144Z" }] }. |
| Comments |
| Comment by Scott L'Hommedieu (Inactive) [ 23/Jul/19 ] |
|
Hi 377973147@qq.com This issue is also detailed here Importantly:
There is currently no change suitable in the driver alone to remedy this issue. We will continue to pursue improvement in coordination with the server through SERVER-36603 |