-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 1.4.8
-
Component/s: None
-
Environment:OS X 10.9.4
MongoDB 2.6.4
Node 0.10.30
-
2
-
Empty show more show less
The authenticate method of Db success but then the connection ends. Finally, a few seconds after the app crashes (because of auto_reconnect=true):
TypeError: Cannot read property 'connection' of undefined
at authenticate (/Users/Alex/Developer/Kaph/co.kaph.id.ws/node_modules/mongodb/lib/mongodb/auth/mongodb_x509.js:12:13)
at _apply_auths_serially (/Users/Alex/Developer/Kaph/co.kaph.id.ws/node_modules/mongodb/lib/mongodb/connection/base.js:323:5)
at Server.Base._apply_auths (/Users/Alex/Developer/Kaph/co.kaph.id.ws/node_modules/mongodb/lib/mongodb/connection/base.js:300:3)
at /Users/Alex/Developer/Kaph/co.kaph.id.ws/node_modules/mongodb/lib/mongodb/connection/server.js:651:16
at /Users/Alex/Developer/Kaph/co.kaph.id.ws/node_modules/mongodb/lib/mongodb/connection/server.js:388:9
at Server.Base._callHandler (/Users/Alex/Developer/Kaph/co.kaph.id.ws/node_modules/mongodb/lib/mongodb/connection/base.js:445:41)
at /Users/Alex/Developer/Kaph/co.kaph.id.ws/node_modules/mongodb/lib/mongodb/connection/server.js:478:18
at MongoReply.parseBody (/Users/Alex/Developer/Kaph/co.kaph.id.ws/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:68:5)
at null.<anonymous> (/Users/Alex/Developer/Kaph/co.kaph.id.ws/node_modules/mongodb/lib/mongodb/connection/server.js:436:20)
at emit (events.js:95:17)