Error: queryTxt ETIMEOUT :: Error while connecting with Atlas

Error: queryTxt ETIMEOUT test-cluster-wt6zx.mongodb.net
    at QueryReqWrap.onresolve [as oncomplete] (dns.js:202:19) {
  errno: 'ETIMEOUT',
  code: 'ETIMEOUT',
  syscall: 'queryTxt',
  hostname: 'test-cluster-wt6zx.mongodb.net'
}

I’m facing this connection Error while conncecting with Atlas. It worked fine till yesterday.
I’ve double checked my username and password.
I’ve whitelisted all the IP’s.

I’m stuck in the middle of a project and cannot connect to the DB itself.

4 Likes

It is timing out at name resolution time. Try using different DNS servers. You may try with google’s 8.8.8.8 and 8.8.4.4.

7 Likes

A post was split to a new topic: ‘ETIMEOUT’ error connecting to Atlas