{"action":"created","issue":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/6082","repository_url":"https://api.github.com/repos/rethinkdb/rethinkdb","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/6082/labels{/name}","comments_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/6082/comments","events_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/6082/events","html_url":"https://github.com/rethinkdb/rethinkdb/issues/6082","id":173772486,"number":6082,"title":"App crashes when disconnected from internet.","user":{"login":"modirajdeep","id":7919852,"avatar_url":"https://avatars.githubusercontent.com/u/7919852?v=3","gravatar_id":"","url":"https://api.github.com/users/modirajdeep","html_url":"https://github.com/modirajdeep","followers_url":"https://api.github.com/users/modirajdeep/followers","following_url":"https://api.github.com/users/modirajdeep/following{/other_user}","gists_url":"https://api.github.com/users/modirajdeep/gists{/gist_id}","starred_url":"https://api.github.com/users/modirajdeep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modirajdeep/subscriptions","organizations_url":"https://api.github.com/users/modirajdeep/orgs","repos_url":"https://api.github.com/users/modirajdeep/repos","events_url":"https://api.github.com/users/modirajdeep/events{/privacy}","received_events_url":"https://api.github.com/users/modirajdeep/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-29T13:19:09Z","updated_at":"2016-08-29T20:20:12Z","closed_at":null,"body":"I'm on rethinkdb 2.3.3 on windows. When my laptop disconnects from the internet, my node.js app crashes with this error -\r\n \r\n```\r\nevents.js:160\r\n      throw er; // Unhandled 'error' event\r\n      ^\r\n\r\nError: getaddrinfo ENOENT localhost:80\r\n    at Object.exports._errnoException (util.js:1012:11)\r\n    at errnoException (dns.js:33:15)\r\n    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:79:26)\r\n```\r\nWhen I try restarting the app I get this error -4\r\n\r\n```\r\n{ ReqlDriverError: Could not connect to localhost:28015.\r\ngetaddrinfo ENOENT localhost:28015\r\n    at ReqlDriverError.ReqlError [as constructor] (D:\\Axelta IOT\\test\\node_modules\\rethinkdb\\errors.js:23:13)\r\n    at new ReqlDriverError (D:\\Axelta IOT\\test\\node_modules\\rethinkdb\\errors.js:68:50)\r\n    at TcpConnection.<anonymous> (D:\\Axelta IOT\\test\\node_modules\\rethinkdb\\net.js:94:27)\r\n    at TcpConnection.g (events.js:286:16)\r\n    at emitOne (events.js:96:13)\r\n    at TcpConnection.emit (events.js:188:7)\r\n    at Socket.<anonymous> (D:\\Axelta IOT\\test\\node_modules\\rethinkdb\\net.js:699:22)\r\n    at emitOne (events.js:101:20)\r\n    at Socket.emit (events.js:188:7)\r\n    at connectErrorNT (net.js:1015:8)\r\n    at _combinedTickCallback (internal/process/next_tick.js:74:11)\r\n    at process._tickCallback (internal/process/next_tick.js:98:9)\r\n  name: 'ReqlDriverError',\r\n  msg: 'Could not connect to localhost:28015.\\ngetaddrinfo ENOENT localhost:28015',\r\n  frames: undefined,\r\n  message: 'Could not connect to localhost:28015.\\ngetaddrinfo ENOENT localhost:28015' }\r\n```\r\n\r\nHowever everything works fine when the internet is back. Please help."},"comment":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/comments/243243027","html_url":"https://github.com/rethinkdb/rethinkdb/issues/6082#issuecomment-243243027","issue_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/6082","id":243243027,"user":{"login":"modirajdeep","id":7919852,"avatar_url":"https://avatars.githubusercontent.com/u/7919852?v=3","gravatar_id":"","url":"https://api.github.com/users/modirajdeep","html_url":"https://github.com/modirajdeep","followers_url":"https://api.github.com/users/modirajdeep/followers","following_url":"https://api.github.com/users/modirajdeep/following{/other_user}","gists_url":"https://api.github.com/users/modirajdeep/gists{/gist_id}","starred_url":"https://api.github.com/users/modirajdeep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modirajdeep/subscriptions","organizations_url":"https://api.github.com/users/modirajdeep/orgs","repos_url":"https://api.github.com/users/modirajdeep/repos","events_url":"https://api.github.com/users/modirajdeep/events{/privacy}","received_events_url":"https://api.github.com/users/modirajdeep/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T20:20:12Z","updated_at":"2016-08-29T20:20:12Z","body":"@danielmewes Yes it works now. That was the solution. Thank you."}}
{"actor":{"display_login":"modirajdeep"}}