Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-4960

directConnection still applied to connection when it is changed to srv after failed connection attempt

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • 1.31.0
    • Affects Version/s: None
    • Component/s: Connectivity
    • Labels:
      None
    • Not Needed
    • Iteration Geneva

      Repro (vid attached):
      Connect to a single connection that fails (localhost:27099), cancel the connection. Fill in a connection string with `mongodb+srv` and try connecting, it will fail with `directConnection not supported with SRV URI`
      We probably need to update where we are setting the `directConnection` on a connection

            Assignee:
            Unassigned Unassigned
            Reporter:
            rhys.howell@mongodb.com Rhys Howell
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: