Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-2620

Failure on Hostname Parsing for SRV Polling

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Unknown Unknown
    • 1.11.0, 1.8.6, 1.9.3, 1.10.4
    • None
    • None
    • None

    Description

      In the investigation of HELP-38552, it turned out that the driver did not parse the SRV hostname correctly for any URI with a username and password. e.g, for a URI of mongodb+srv://<USER:PASS>@<HOST>/<PATH>, the hosts was set to <USER:PASS> instead of <HOST>. Therefore, the driver could not connect to the SRV server to get topology updates after the initial SRV call. The connecting error was not returned or logged, either.

      Attachments

        Activity

          People

            qingyang.hu@mongodb.com Qingyang Hu
            qingyang.hu@mongodb.com Qingyang Hu
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: