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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • 1.31.0
    • None
    • Connectivity
    • None
    • Not Needed
    • Iteration Geneva

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: