-
Notifications
You must be signed in to change notification settings - Fork 44
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
Cannot connect to mongobetween #30
Comments
I'm seeing the same issue but with the node driver and not the shell.
|
Sorry for not getting to this sooner, but I've been trying with the update and still cannot get it to work. I start mongobetween with the following command:
That seems to connect ok to my Atlas database.
Then I run my application which tries to connect to mongobetween with this url (I've changed the actual IP here):
But my application gets this error:
|
If I change the url that my app uses to connect to mongobetween, and take away the "+srv" part so it is:
Then I see log output in mongobetween:
But my application shows an error:
Any ideas? I would really love to use mongobetween, but am really struggling to get it up and running. Thanks for any help! |
@rshov did you ever manage to use it? |
No, I never did get it working unfortunately |
Hello, thank you for open sourcing this project, it seems to be just what I need for my Next.js application which deploys my API as AWS Lambda functions, causing way too many database connections.
Unfortunately I can't seem to get mongobetween working. It connects to my database ok, but my application is not able to connect to mongobetween. I'm hoping to get some help.
I'm attempting to use mongobetween to proxy to a MongoDB Atlas database at version 4.4.6 (it's a 3-node replica set with no sharding).
My application uses Mongoose 5.11.8 (which uses the MongoDB Node.js driver, I'm assuming v3.6 but I couldn't confirm this).
I spun up a basic server on DigitalOcean and installed Go v1.16.5 with the latest mongobetween.
Command used to start mongobetween:
./go/bin/mongobetween -pretty -loglevel debug ":27016=mongodb+srv://username:password@server.mongodb.net/database?maxpoolsize=50&label=cluster0"
MongoBetween seems to connect to my Atlas database ok, but my application receives the following error:
I then tried connecting directly from the mongo shell and got Authentication failed:
Could this be from using too new of a Mongo client version?
Thank you so much for any help you can provide.
Raymond
The text was updated successfully, but these errors were encountered: