-
-
Notifications
You must be signed in to change notification settings - Fork 118
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
MongoError: Topology closed #70
Comments
Hi @Ased2235, is this the same mongo version as listed on the github repo's package.json or did you install a later version? |
Same as github repo's package.json |
The error says that the server connection was closed, so you need to reopen the connection. Perhaps the connection disconnected or was closed somewhere? |
But it's not closed as i have one more active connection to ping the server. |
Hmm, the error reports that the database connection is closed are you sure you don't close the connection somewhere? |
No, it's active I already tested it but only here it shows close error. I don't know why it is doing this. |
Im getting the same error. Please lmk if this was fixed |
For those of you running in to this error, the problem is indeed multiple parallel instances of Mongo being open. Save those connect calls to a separate script and import that. |
Hello, when i run
npm start
it's showing this errorcan anyone help me?
Thanks!
The text was updated successfully, but these errors were encountered: