After opening VSCode, connections fail to connect

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Connectivity
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • None
    • Developer Tools

      I can't reliably reproduce this bug. 

      I opened VSCode after fully closing it on my mac. When it opened I opened the extension and tried to connect to a cluster. It fails consistently with Unable to connect: querySrv ECONNREFUSED mongodb._tcp.cluster0.omittted{_}.mongodb-dev.net
      This happens to all connections with credentials.

      Opening a new VSCode window, all of the connections work in the new window. They still don't work in the original window.

      This only happens with connections with passwords/credentials. localhost succeeds. I'm thinking there's a race condition in our connection loading logic. It could be something with migrations - it's worth seeing if this happens after the extension auto updated.

      Not marking this as a p2 as I haven't been able to reproduce this again. It is a disruptive experience that will make folks not use the extension, so if it is reproducible it should be a p2.

            Assignee:
            Unassigned
            Reporter:
            Rhys Howell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: