-
Notifications
You must be signed in to change notification settings - Fork 422
Description
This works on my development environment, but crashes 100% of the time in production. I think there may be an interaction with mongoose and/or mongodb.
node v0.8.7
newrelic v0.11.9
TypeError: Object # has no method '_normalizeConnectArgs'
at Socket.connect (HOME_DIR/node_modules/newrelic/node_modules/continuation-local-storage/node_modules/async-listener/index.js:53:20)
at Object.exports.connect.exports.createConnection (net.js:84:35)
at Connection.start (HOME_DIR/vulpes/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection.js:150:29)
at _connect (HOME_DIR/vulpes/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:195:16)
at ConnectionPool.start (HOME_DIR/vulpes/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:215:3)
at Server.connect (HOME_DIR/vulpes/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/server.js:683:18)
at ReplSet.connect (HOME_DIR/vulpes/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/repl_set/repl_set.js:218:10)
at Db.open (HOME_DIR/vulpes/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:262:23)
at NativeConnection.doOpenSet (HOME_DIR/vulpes/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:147:11)
at NativeConnection.Connection._open (HOME_DIR/vulpes/node_modules/mongoose/lib/connection.js:403:15)