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.

Add support for Mongo 3.6 connection strings

See original GitHub issue

I’m using the MongoDb from and the version 3.6 offers me a connection string like this:


When I try to use it, I simply receive MongoError: getaddrinfo ENOTFOUND. Any thoughts? If I switch back to mongodb://,, it works.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:5

github_iconTop GitHub Comments

singhs020commented, Jun 20, 2018

@michaelauderer In my opinion Monk should be updated. It is a tiny layer over mongo and it should bring in the new driver to support enhancements and features offered by new version of mongo.

singhs020commented, Jun 18, 2018

The package is still using “mongodb”: “^2.1.18”, which does not support the new connection string format by mongo. As per the official mongo docs mentioned here, the native driver needs to be updated to v3.0.0 in order to utilise the new DNS Seedlist Connection Format.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Connection String URI Format — MongoDB Manual
This file is used to validate the certificate presented by the mongod / mongos instance. This option is not supported by all drivers....
Read more >
Here to SRV you with easier replica set connections | MongoDB
We can run this script using the node specified in the 3.6 connection string as a parameter. The node is specified in the...
Read more >
FAQ: Connection String Options — MongoDB Atlas
Atlas provides multiple connection strings. These strings allow you to connect to your clusters from both public and private contexts.
Read more >
Get Connection String — Start with Guides - MongoDB
In this guide, you will retrieve your database deployment's connection string. Add your IP address to the allowlist to allow access to your...
Read more >
Connect via Your Application — MongoDB Atlas
Your driver version must be compatible with your version of the MongoDB server. We recommend choosing the latest driver that is compatible with...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found