{"action":"created","issue":{"url":"https://api.github.com/repos/kcbanner/connect-mongo/issues/23","labels_url":"https://api.github.com/repos/kcbanner/connect-mongo/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/kcbanner/connect-mongo/issues/23/comments","events_url":"https://api.github.com/repos/kcbanner/connect-mongo/issues/23/events","html_url":"https://github.com/kcbanner/connect-mongo/issues/23","id":2760438,"number":23,"title":"BUG: when mongod is restarted, application goes in unrecoverable state.","user":{"login":"jigargosar","id":20082,"avatar_url":"https://avatars.githubusercontent.com/u/20082?v=3","gravatar_id":"","url":"https://api.github.com/users/jigargosar","html_url":"https://github.com/jigargosar","followers_url":"https://api.github.com/users/jigargosar/followers","following_url":"https://api.github.com/users/jigargosar/following{/other_user}","gists_url":"https://api.github.com/users/jigargosar/gists{/gist_id}","starred_url":"https://api.github.com/users/jigargosar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jigargosar/subscriptions","organizations_url":"https://api.github.com/users/jigargosar/orgs","repos_url":"https://api.github.com/users/jigargosar/repos","events_url":"https://api.github.com/users/jigargosar/events{/privacy}","received_events_url":"https://api.github.com/users/jigargosar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2012-01-08T11:11:53Z","updated_at":"2015-05-05T13:00:42Z","closed_at":"2014-12-22T11:01:33Z","body":"* And contineously gives error \"Error: no open connections\"\r\n\r\n* why is connection establishment not retried?"},"comment":{"url":"https://api.github.com/repos/kcbanner/connect-mongo/issues/comments/99072319","html_url":"https://github.com/kcbanner/connect-mongo/issues/23#issuecomment-99072319","issue_url":"https://api.github.com/repos/kcbanner/connect-mongo/issues/23","id":99072319,"user":{"login":"pareshgehlot","id":4948554,"avatar_url":"https://avatars.githubusercontent.com/u/4948554?v=3","gravatar_id":"","url":"https://api.github.com/users/pareshgehlot","html_url":"https://github.com/pareshgehlot","followers_url":"https://api.github.com/users/pareshgehlot/followers","following_url":"https://api.github.com/users/pareshgehlot/following{/other_user}","gists_url":"https://api.github.com/users/pareshgehlot/gists{/gist_id}","starred_url":"https://api.github.com/users/pareshgehlot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pareshgehlot/subscriptions","organizations_url":"https://api.github.com/users/pareshgehlot/orgs","repos_url":"https://api.github.com/users/pareshgehlot/repos","events_url":"https://api.github.com/users/pareshgehlot/events{/privacy}","received_events_url":"https://api.github.com/users/pareshgehlot/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T13:00:42Z","updated_at":"2015-05-05T13:00:42Z","body":"I have the same issue...\r\n\r\nMy node app suddenly is not able to connect to mongo db\r\n\r\nIt continuously gives \"no open connections\" error\r\n\r\nEven though my mongo db service is active.\r\n\r\nAm not facing this with mongoose, but am facing it with \"connect-mongo\"\r\n\r\nOnce this issue rises its ugly head, if I restart my node app, connect-mongo is again able to connect to mongo db again.\r\n\r\n1. I don't know the exact reason, why it is happening? want to know the root cause\r\n\r\n2. I don't know why after restarting node app, connect-mongo is able to connect again to db.\r\n\r\n3. I tried \"auto_reconnect\" : \"true\", but in this case what happens is, my website continuously keeps on loading, as though the mongodb service is active, somehow connect-mongo looses db connection, and is unable to connect.\r\n\r\nThis is really causing a bad impact on my site.\r\n\r\nI request everyone to help.\r\n\r\nEvery help will be greatly appreciable.\r\n\r\nThanks in advance "}}