Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rsError: queryTxt ETIMEOUT cluster0.rsiaf.mongodb.net #16

Open
wael93 opened this issue Sep 21, 2020 · 0 comments
Open

rsError: queryTxt ETIMEOUT cluster0.rsiaf.mongodb.net #16

wael93 opened this issue Sep 21, 2020 · 0 comments

Comments

@wael93
Copy link

wael93 commented Sep 21, 2020

I use mongoo connection url Like

**mongoose
  .connect(
    `mongodb+srv://${process.env.MONGO_USER}:${
      process.env.MONGO_PASSWORD
    }@cluster0.rsiaf.mongodb.net/${process.env.MONGO_DB}?retryWrites=true&w=majority&ssl=true`
  , { useNewUrlParser: true })
  .then(() => {
    app.listen(3000);
  })
  .catch(err => {
    console.log(err);
  });**

but alwes apper same erorr

rsError: queryTxt ETIMEOUT cluster0.rsiaf.mongodb.net
    at QueryReqWrap.onresolve [as oncomplete] (dns.js:203:19) {
  errno: undefined,
  code: 'ETIMEOUT',
  syscall: 'queryTxt',
  hostname: 'cluster0.rsiaf.mongodb.net'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant