Failure on Hostname Parsing for SRV Polling

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Unknown
    • 1.11.0, 1.8.6, 1.9.3, 1.10.4
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Qingyang Hu
              Reporter:
              Qingyang Hu
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: