question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to lookup address information: nodename nor servname provided, or not known

See original GitHub issue

I have this error

error: Uncaught (in promise) Error: failed to lookup address information: nodename nor servname provided, or not known at processResponse (core.js:223:11) at Object.jsonOpAsync (core.js:240:12) at async Object.connect (deno:cli/rt/30_net.js:224:13) at async MongoClient.connect (client.ts:20:18)

Trying connect with Atlas using the following code:

const client = new MongoClient(); await client.connect( mongodb+srv://${env.dbUser}:${env.dbPass}@${env.dbHost}/, );

deno 1.5.4 mongo@v0.20.0

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
hackers267commented, Dec 2, 2020

The protocol mongodb+srv don’t surpport now, but may surpport the next version.

0reactions
manyuanrongcommented, May 19, 2021

closed by #198

Read more comments on GitHub >

github_iconTop Results From Across the Web

Io Error: failed to lookup address information: nodename nor ...
No longer receiving the error 'failed to lookup address information: nodename nor servname provided, or not known'. This might be an OSX issue ......
Read more >
How to solve "nodename nor servname provided, or not ...
I'm not getting that error when I run it with the default options so I'm not sure where it is coming from for...
Read more >
'failed to lookup address information' error is displayed on ...
Now, when i execute a test, it seems Gecko driver is initialized but below mentioned error is displayed and the browser is not...
Read more >
nodename nor servname provided, or not known
Hello,. Are you getting this issue on MAC OS X? If so, you need to update Your /private/etc/hosts File. Please give us more...
Read more >
Specify DNS to resolve an address - iOS - Apple Developer
In my app, I want to resolve an address with a DNS server address of my ... but I always gets the error...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found