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

Version 3.0.0 Can not Connect to Single Node Replica Sets

    • 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?

      In this Ticket i Attached a Zip of my Repro Project. i used this with Project References to the MongoDBDriver to Repro the Issue and solve it. a Pull Request with Changes to get it working again, i will create on github shortly, under my personal Account.

      Steps to Reproduce:

      • Create a Single Node Replica Set for Testing Locally (Easiest for Repro: TestContainers)
      • Try to Connect to it for some Sort of Read/Write Operations without a Direct Connection From a C# Project i.e. the Attached Repro Project(Our Usecase, does not want Direct Connection, bcs we want to use transactions, and have integration Tests for those)
      • in our Repro Project, you will be prompted to input something or nothing, other than 'q'
      • Wait 30 seconds until the Connection Times out

      Now i already spend the Debugging time to figure it out and a PR will follow shortly.

       

       

            Assignee:
            ferdinando.papale@mongodb.com Ferdinando Papale
            Reporter:
            bastian.toepfer@raiys.de Bastian Töpfer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: