Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-4163

queryTxt EREFUSED error when trying to connect to Altas

    • Type: Icon: Bug Bug
    • Resolution: Won't Do
    • Priority: Icon: Blocker - P1 Blocker - P1
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Not Needed

      When trying to connect using node.js driver, through mongo shell or compass to a properly setup Atlas cluster, a queryTxt EREFUSED error occurs.

      The environment is:

      • Windows 10
      • Mongosh 1.3.1
      • MongoDB Compass 1.31.1
      • NodeJS 16.14.2
      • MongoDB 5.0.6 API Version 1 on Atlas

      The attached screenshot shows the error from mongosh

      a dig of the SRV record returns 

      ; <<>> DiG 9.10.6 <<>> formio-dev.xd60b.mongodbgov.net
      ;; global options: +cmd
      ;; Got answer:
      ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48330
      ;; flags: qr rd ra ad; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
      
      
      ;; OPT PSEUDOSECTION:
      ; EDNS: version: 0, flags:; udp: 512
      ;; QUESTION SECTION:
      ;formio-dev.xd60b.mongodbgov.net. IN	A
      
      
      ;; AUTHORITY SECTION:
      mongodbgov.net.		900	IN	SOA	ns-1403.awsdns-47.org. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400
      
      
      ;; Query time: 66 msec
      ;; SERVER: 2601:543:437f:8283:4af8:b3ff:fef8:41d9#53(2601:543:437f:8283:4af8:b3ff:fef8:41d9)
      ;; WHEN: Tue Apr 05 17:58:53 EDT 2022
      ;; MSG SIZE  rcvd: 145
      

       

            Assignee:
            Unassigned Unassigned
            Reporter:
            nicholas.watson@mongodb.com Nicholas Watson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: