denodrivers / mongo

🍃 MongoDB driver for Deno 🦕
https://deno.land/x/mongo
MIT License
514 stars 95 forks source link

Connection fail #396

Closed js-writer closed 1 year ago

js-writer commented 1 year ago

Suddenly I got this error: MongoError: "Connection failed: Could not find a master node" at MongoClient.connect (https://deno.land/x/mongo@v0.31.2/src/client.ts:46:13) Yesterday everything was working fine. And I changed nothing in my code... I'm using "Connecting to a Mongo Atlas Database" because "Connect using srv url" is really slow...

lucsoft commented 1 year ago

Atlas is a bit flaky if this issue persists you could try use our atlas specific deno module

js-writer commented 1 year ago

It turned out mongo changed my primary cluster...