Watch keynotes and sessions from MongoDB.live, our virtual developer conference.

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.

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.

1 Like