feat: support atlas shared cluster
See original GitHub issueDatabase conected right after a short time get error error:
Uncaught (in promise) Error: MongoError: "Invalid response header" if (!headerBuffer) throw new MongoDriverError("Invalid response header");
^
at WireProtocol.receive (https://deno.land/x/mongo@v0.29.2/src/protocol/protocol.ts:106:32)
I connect with srv url
my code
import { MongoClient } from "https://deno.land/x/mongo@v0.29.2/mod.ts";
import { logger } from "../utils/logger.ts";
import { configs } from "../../configs.ts";
const log = logger({ name: "DB Manager" });
log.info("Initializing Database 👀");
const client = new MongoClient();
const db = configs.DATABASE;
client.connect(
"mongodb+srv://vidar:[]password@discordenobot.ldfgs.mongodb.net/DiscordenoBot?authMechanism=SCRAM-SHA-1"
);
log.info("Database connected successfully ✅");
Normally the srv url is in env. if i produce the same on node i get no error
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Atlas M0 (Free Cluster), M2, and M5 Limitations - MongoDB
You can deploy M0 free clusters and M2/M5 shared clusters only in a subset of regions on AWS, Google Cloud, and Azure. To...
Read more >terraform-provider-mongodbatlas/CHANGELOG.md at master
Terraform MongoDB Atlas Provider: Deploy, update, and manage MongoDB Atlas ... to upgrade shared/TENANT tiers for clusters and advanced clusters #874 ...
Read more >Finding the Right MongoDB Atlas Cluster Size: Doe…
How do you determine whether your MongoDB Atlas cluster is over provisioned, whether the new feature in your next application release will ...
Read more >MongoDB Atlas Best Practices - Microsoft
Scaling a MongoDB Atlas Cluster ... performance and storage efficiency, as well as support the ... For all dedicated MongoDB Atlas clusters, users...
Read more >Iowa High School Away Game Atlas
Help. Share. 30mi. All. Search. loading... Home. +. –. The layer, Iowa School Districts, School & Athletic Facilities, cannot be added to the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

sry didnt want close it 🙈
why did you close it? we should improve our atlas support