-
Notifications
You must be signed in to change notification settings - Fork 1
Dropped DB connection on deploy #32
Description
We've had occasional dropped connections between Azure and MongoHQ before, but mostly in stage and never after deploys. This needs to be investigated further...
Copypasta from the Logentries alert:
error: valtech-shortie/nodejsLog
2014-08-27 11:53:40.768
2014-08-27T11:53:41.640Z error unhandled error Error: failed to connect to [candidate.11.mongolayer.com:10125]
at null. (D:\home\site\wwwroot\node_modules\mongodb\lib\mongodb\connection\server.js:553:74)
at EventEmitter.emit (events.js:106:17)
at null. (D:\home\site\wwwroot\node_modules\mongodb\lib\mongodb\connection\connection_pool.js:140:15)
at EventEmitter.emit (events.js:98:17)
at Socket. (D:\home\site\wwwroot\node_modules\mongodb\lib\mongodb\connection\connection.js:512:10)
at Socket.EventEmitter.emit (events.js:95:17)
at net.js:441:14
at D:\home\site\wwwroot\node_modules\newrelic\node_modules\continuation-local-storage\node_modules\async-listener\glue.js:177:31
at process._tickCallback (node.js:415:13) {}
Go to the log: https://logentries.com/app/4092e6e9#id=328dc269&r=d&s=log
You are receiving this email because your Logentries alarm "error"
has been triggered.
In context:
2014-08-27 11:53:38.695 2014-08-27T11:53:39.532Z info 304 GET 16ms /img/header.png {}
2014-08-27 11:53:38.695 2014-08-27T11:53:39.563Z info 200 GET 0ms /js/admin-list.js {}
2014-08-27 11:53:38.958 2014-08-27T11:53:39.825Z info Will fetch list of shorties from repository {}
2014-08-27 11:53:40.002 2014-08-27T11:53:40.875Z info 200 GET 0ms /admin {}
2014-08-27 11:53:40.174 2014-08-27T11:53:41.048Z info 200 GET 0ms /css/admin.css {}
2014-08-27 11:53:40.298 2014-08-27T11:53:41.157Z info 200 GET 15ms /img/header.png {}
2014-08-27 11:53:40.376 2014-08-27T11:53:41.173Z info 200 GET 15ms /js/admin-main.js {}
2014-08-27 11:53:40.737 2014-08-27T11:53:41.609Z info 404 GET 21386ms /404 {}
2014-08-27 11:53:40.768 2014-08-27T11:53:41.624Z error unhandled error Error: failed to connect to [candidate.11.mongolayer.com:10125]
at null. (D:\home\site\wwwroot\node_modules\mongodb\lib\mongodb\connection\server.js:553:74)
at EventEmitter.emit (events.js:106:17)
at null. (D:\home\site\wwwroot\node_modules\mongodb\lib\mongodb\connection\connection_pool.js:140:15)
at EventEmitter.emit (events.js:98:17)
at Socket. (D:\home\site\wwwroot\node_modules\mongodb\lib\mongodb\connection\connection.js:512:10)
at Socket.EventEmitter.emit (events.js:95:17)
at net.js:441:14
at D:\home\site\wwwroot\node_modules\newrelic\node_modules\continuation-local-storage\node_modules\async-listener\glue.js:177:31
at process._tickCallback (node.js:415:13) {}
2014-08-27 11:53:40.768 2014-08-27T11:53:41.624Z info 500 GET 2155ms /api/shorties/ {}
2014-08-27 11:53:40.768 2014-08-27T11:53:41.640Z error unhandled error Error: failed to connect to [candidate.11.mongolayer.com:10125]
at null. (D:\home\site\wwwroot\node_modules\mongodb\lib\mongodb\connection\server.js:553:74)
at EventEmitter.emit (events.js:106:17)
at null. (D:\home\site\wwwroot\node_modules\mongodb\lib\mongodb\connection\connection_pool.js:140:15)
at EventEmitter.emit (events.js:98:17)
at Socket. (D:\home\site\wwwroot\node_modules\mongodb\lib\mongodb\connection\connection.js:512:10)
at Socket.EventEmitter.emit (events.js:95:17)
at net.js:441:14
at D:\home\site\wwwroot\node_modules\newrelic\node_modules\continuation-local-storage\node_modules\async-listener\glue.js:177:31
at process._tickCallback (node.js:415:13) {}