Last active
December 19, 2015 00:09
-
-
Save peterbrowse/5867047 to your computer and use it in GitHub Desktop.
Error being returned from Mongohq on attempting to initiate a connection to db instance. The link to the db instance from nodejitsu is: mongodb://nodejitsu:9fba9d1b7e6535879cc01e67610e1b1d@linus.mongohq.com:10083/nodejitsudb9381640
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[06/26 13:32:42 GMT+0100] VERBOSE pool mongodb - createResource() - creating obj - count=1 min=0 max=40 | |
[06/26 13:32:42 GMT+0100] INFO pool mongodb - dispense() clients=1 available=0 | |
[06/26 13:32:43 GMT+0100] Error: connection closed - on line 25 of server.js |
Hello @peterbrowse, this was the reply from MongoHQ Support
Ian Hansen (MongoHQ)
Jul 10 05:15 pm (CDT)
Hey Julian,
I spend my days in NodeJS. I'd be very interested to see what version of the node driver they are using. I've been fighting driver issues specifically with connection pooling for a while, but the latest release (since 1.3.7) seems to be working well.
I haven't used common-pool, but I've used https://github.com/coopernurse/node-pool (which seems to be a more up-to-date version of the common-pool that I found).
I've been able to step away completely from common-pool and use the pooling built into the driver now.
Best regards,
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please see heading intro