-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Database connection consistently fails after version 8.6.4
#15351
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
Comments
I get the same error message with Mongoose 8.6.3 and 8.5.0, for example:
Are you sure you're connecting from an IP that's in your Atlas whitelist? The error message I'm getting is indicative of whitelisting issues: https://www.mongodb.com/community/forums/t/tls-handshake-alert-number-80-issue-between-aws-ecs-instance-and-atlas/248642 |
When I set the server up in Atlas, I forgot to add the |
What error are you seeing? Running your server I now get the following output with Mongoose 8.13.2:
|
I'm seeing the error that I posted in the OP under "Click here for the full error" when you click that details disclosure:
|
I got similar error here when I updated mongoose version from My Node version is: v20.19.1 Error:
|
@domfarolino what version of Node.js are you using? @DianaBianca are you using DocumentDB? If so take a look at #15018 |
Prerequisites
Mongoose version
Node.js version
19.3.0
MongoDB server version
8.0
Typescript version (if applicable)
N/A
Description
This is a follow-up to #15015, specifically #15015 (comment). I've made a minimal, reduced test case to illustrate the issue I shared with the OP poster of that issue, namely that I cannot get a database connection to succeed after
v8.6.4
: https://github.com/domfarolino/mongoose-test-server.Steps to Reproduce
Clone the https://github.com/domfarolino/mongoose-test-server repository and run:
The mongoose version is
8.13.2
, but with anything after8.6.4
you'll see the following in the console:...then after a long timeout, you'll see:
Click here for the full error
Expected Behavior
If you change the
mongoose
version to8.6.4
or anything earlier, you'll see the following:The text was updated successfully, but these errors were encountered: