

If this instance is used again it will be automatically re-opened.
#CONNECTION MONITOR TO CLOSED MONGODB COMPASS CODE#
(/var/task/node_modules/mongodb/lib/core/connection/connection.js:333:10)ĮrrorLabels: , Use close () method on your MongoClient instance: client pymongo.MongoClient () some code here client.close () close () is an alias for disconnect () method: Disconnecting will close all underlying sockets in the connection pool.

(/var/task/node_modules/mongodb/lib/core/topologies/server.js:431:11)Īt connect (/var/task/node_modules/mongodb/lib/core/connection/pool.js:580:14)Īt callback (/var/task/node_modules/mongodb/lib/core/connection/connect.js:109:5)Īt (/var/task/node_modules/mongodb/lib/core/connection/connect.js:352:21)Īt _authenticateSingleConnection (/var/task/node_modules/mongodb/lib/core/auth/auth_provider.js:66:11)Īt sendAuthCommand (/var/task/node_modules/mongodb/lib/core/auth/scram.js:177:16)Īt Connection.errorHandler (/var/task/node_modules/mongodb/lib/core/connection/connect.js:321:5)Īt Socket. If you want to ensure a performant and available database, you should be tracking. When trying to connect to a cluster hosted through MongoDB Atlas i'm getting the following error: 1streamdo MongoErr. There youll see a button saying 'Add current ip address'.Click that you have to modify your ip address a little (the main part). I'm currently running MongoDB 3.4, NodeJS v6.10.3 and Mongoose 4.9.5. To use the new Server Discover and Monitoring engine, pass option ]Īt Pool. Your MongoDB database environment can be simple or complicated, local or distributed, on-premises or in the cloud. Under this tab click on 'Network Access'. (node:41563) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version.
