[CSHARP-3192] MongoDB.Driver 2.11.0 - Error in Visual studio Created: 19/Aug/20  Updated: 27/Oct/23  Resolved: 14/Sep/20

Status: Closed
Project: C# Driver
Component/s: Connectivity, Session Management
Affects Version/s: 2.11.0
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Aravind S Assignee: Dmitry Lukyanov (Inactive)
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Visual studio Professional 2017 , C#



 Description   

Hi , 

I have updated the Mongo DB driver from 2.10.4 to latest 2.11.0 in visual studio professional 2017 from the nugget package manager . After updating am not able to connect to the local mongo DB server . Am getting the below error for all the members in team whoever updater to latest 2.11.0 version.

 But it works good without any error in 2.10.4 version.  find the below error.

System.TimeoutException: '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 : "[192.168.201.196|callto:192.168.201.196]:27017" }

", EndPoint: "[192.168.201.196|callto:192.168.201.196]:27017", ReasonChanged: "ServerInitialDescription", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", LastHeartbeatTimestamp: null, LastUpdateTimestamp: "2020-08-04T06:07:32.1311970Z" }] }.'



 Comments   
Comment by Esha Bhargava [ 14/Sep/20 ]

There hasn't been any recent activity on this ticket, so we're resolving it. Thanks for reaching out! Please feel free to reopen this if we've missed something.

Comment by Dmitry Lukyanov (Inactive) [ 20/Aug/20 ]

Hello aravind.s@logicvalley.in , can you please provide your connection string(without secure information) and any options which you configure in MongoClientSettings? It will be great if you can provide a small repro (console app) with this issue.

Also, am I correct in surmising that it happens for any operation(like Find or Insert) constantly?

 

Generated at Wed Feb 07 21:44:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.