-
Notifications
You must be signed in to change notification settings - Fork 399
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
Crash: Object #<Object> has no method '_normalizeConnectArgs' #67
Comments
Hi @bentrombley thanks for the report. If you have the opportunity, can you try updating the agent to it's latest release (last was 0.12.1). There have been several bug fixes in the last few releases. If that doesn't fix the issue, could you let us know about any possible difference between dev and production?
Thanks very much for your feedback! |
Thanks for the quick response! I realize that in production we were on node 0.8 (dev is .10), so I upgraded node to 0.10.21. and the newrelic module to 0.12.1 and so far everything is working again. |
That's great to hear @bentrombley. If you should run into any other errors, please let us know right away. |
I have the same issue. I am running node 0.8.3 but cannot upgrade to a greater version of node. �'TypeError: Object # has no method '_normalizeConnectArgs''�, Oct 24 22:30:55 default: �error�:' at Socket.connect (/home/node_modules/newrelic/node_modules/continuation-local-storage/node_modules/async-listener/index.js:53:20)'�, |
Thanks for the report! We totally do support Node 0.8, so if you're willing to help me out, I'll totally work with you to get to the bottom of this! If you could tell me what version of node-mongodb-native you're using, and what version of the agent you're running, that would be super useful. Also, if you can provide me with a reduced error I can use for debugging (it's fine if it includes npm dependencies), that would be awesome. |
This is fixed by othiym23/async-listener@d4a5ad1, which is included in newrelic v1.0.1. I specifically tested the change under 0.8.3, so give newrelic another shot and it should work this time! Thanks for the reports and let me know if you're still having problems with 1.0.1. |
update files list to include versioned tests so they can run in main …
ci: Add Open Source Policy Workflow
Support Middleware post 12.2.0
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)
The text was updated successfully, but these errors were encountered: