Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-5410

Occasional timeout errors with SRV connection strings

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • Dotnet Drivers
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      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. 

            Assignee:
            Unassigned Unassigned
            Reporter:
            adelin.mbidaowona@mongodb.com Adelin Mbida Owona
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: