Skip to content

Crash: Object #<Object> has no method '_normalizeConnectArgs'  #67

@bentrombley

Description

@bentrombley

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions