Skip to content

Instantly share code, notes, and snippets.

@brubrant
Created October 31, 2014 14:12
Show Gist options
  • Save brubrant/050da6992e8ed89f75a4 to your computer and use it in GitHub Desktop.
Save brubrant/050da6992e8ed89f75a4 to your computer and use it in GitHub Desktop.
MongoDB errors (modulus)
Error: failed to connect to [mongo.onmodulus.net:27017]
at null.<anonymous> (/mnt/data/1/node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:569:74)
at emit (events.js:106:17)
at null.<anonymous> (/mnt/data/1/node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:139:15)
at emit (events.js:98:17)
at Socket.<anonymous> (/mnt/data/1/node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/connection/connection.js:475:10)
at Socket.emit (events.js:95:17)
at net.js:440:14
at process._tickCallback (node.js:419:13)
-------------------------------
Error: no open connections
at Db._executeQueryCommand (/mnt/data/1/node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/db.js:1705:21)
at Cursor.nextObject (/mnt/data/1/node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/cursor.js:649:13)
at Collection.findOne (/mnt/data/1/node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/collection.js:1008:10)
at /mnt/data/1/node_modules/connect-mongo/lib/connect-mongo.js:186:18
at MongoStore._get_collection (/mnt/data/1/node_modules/connect-mongo/lib/connect-mongo.js:126:21)
at MongoStore.get (/mnt/data/1/node_modules/connect-mongo/lib/connect-mongo.js:185:10)
at Object.session [as handle] (/mnt/data/1/node_modules/express/node_modules/connect/lib/middleware/session.js:305:11)
at next (/mnt/data/1/node_modules/express/node_modules/connect/lib/proto.js:199:15)
at Object.methodOverride [as handle] (/mnt/data/1/node_modules/express/node_modules/connect/lib/middleware/methodOverride.js:37:5)
at next (/mnt/data/1/node_modules/express/node_modules/connect/lib/proto.js:199:15)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment