Users are experiencing sporadic connection issues when attempting to connect to MongoDB Atlas clusters using SRV connection strings. The issue manifests as follows:
- The initial connection attempt fails with a server selection timeout error
- Subsequent reconnection attempts typically succeed without issues
- The problem appears to be specific to SRV connection strings
- Using non-SRV connection strings provides a temporary workaround
While we have identified a workaround, further investigation is needed to determine the root cause of these timeout errors. Since we use DnsClient.Net for resolving SRV records it might be a bug in that library.
- causes
-
CSHARP-5282 C# driver fails to connect to DB Atlas 50% of the time
- Closed
- is duplicated by
-
CSHARP-5282 C# driver fails to connect to DB Atlas 50% of the time
- Closed