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

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

Closed
marcodali opened this issue Dec 2, 2020 · 6 comments

Comments

@marcodali
Copy link

marcodali commented Dec 2, 2020

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

@marcodali
Copy link
Author

Screen Shot 2020-12-02 at 2 34 22

I found this, but not sure how to use it...

@hackers267
Copy link
Collaborator

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

@dl90
Copy link

dl90 commented Dec 15, 2020

I also tried to use mongo atlas and it was throwing the same error
connecting to mongodb locally seems ok, but looks like theres no support for auth atm

@nemcikjan
Copy link

Can you please confirm the date of this feature? thanks

@Jason5Lee
Copy link

This seem to be a issue related to macOS, I also met it.
Related: instructure/canvas-data-loader#3

@manyuanrong
Copy link
Member

closed by #198

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

6 participants