{"action":"created","issue":{"url":"https://api.github.com/repos/Schmavery/facebook-chat-api/issues/333","repository_url":"https://api.github.com/repos/Schmavery/facebook-chat-api","labels_url":"https://api.github.com/repos/Schmavery/facebook-chat-api/issues/333/labels{/name}","comments_url":"https://api.github.com/repos/Schmavery/facebook-chat-api/issues/333/comments","events_url":"https://api.github.com/repos/Schmavery/facebook-chat-api/issues/333/events","html_url":"https://github.com/Schmavery/facebook-chat-api/issues/333","id":176927358,"number":333,"title":"Error when trying to log in","user":{"login":"p0358","id":5182588,"avatar_url":"https://avatars.githubusercontent.com/u/5182588?v=3","gravatar_id":"","url":"https://api.github.com/users/p0358","html_url":"https://github.com/p0358","followers_url":"https://api.github.com/users/p0358/followers","following_url":"https://api.github.com/users/p0358/following{/other_user}","gists_url":"https://api.github.com/users/p0358/gists{/gist_id}","starred_url":"https://api.github.com/users/p0358/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p0358/subscriptions","organizations_url":"https://api.github.com/users/p0358/orgs","repos_url":"https://api.github.com/users/p0358/repos","events_url":"https://api.github.com/users/p0358/events{/privacy}","received_events_url":"https://api.github.com/users/p0358/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Schmavery/facebook-chat-api/labels/facebook%20bug","name":"facebook bug","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-14T14:46:32Z","updated_at":"2016-09-28T08:11:54Z","closed_at":"2016-09-28T08:11:54Z","body":"I'm getting this error when I try to log in:\r\n\r\n```\r\nERR! Error in login: Error: read ECONNRESET\r\nERR! Error in login:   at exports._errnoException (util.js:1026:11)\r\nERR! Error in login:   at TLSWrap.onread (net.js:564:26)\r\nERR! Error in login:\r\nERR! Error in login:  { Error: read ECONNRESET\r\nERR! Error in login:   at exports._errnoException (util.js:1026:11)\r\nERR! Error in login:   at TLSWrap.onread (net.js:564:26)\r\nERR! Error in login:\r\nERR! Error in login:   cause:\r\nERR! Error in login:    { Error: read ECONNRESET\r\nERR! Error in login:      at exports._errnoException (util.js:1026:11)\r\nERR! Error in login:      at TLSWrap.onread (net.js:564:26)\r\nERR! Error in login:     code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' },\r\nERR! Error in login:   isOperational: true,\r\nERR! Error in login:   code: 'ECONNRESET',\r\nERR! Error in login:   errno: 'ECONNRESET',\r\nERR! Error in login:   syscall: 'read' }\r\n```\r\n\r\nHappens on 2 machines in different countries and I can normally log via browser. It still throws the same error as `Error in getThreadInfo` if it logs in, sometimes messages are being sent, sometimes they're not.\r\n\r\nI got this now as well:\r\n```\r\nERR! Error in getUserInfo  TypeError: Cannot read property 'name' of undefined\r\nERR! Error in getUserInfo   at callback (/var/www/Concierge/core/core_integrations/facebook.js:21:67)\r\nERR! Error in getUserInfo   at /var/www/Concierge/node_modules/facebook-chat-api/src/getUserInfo.js:49:14\r\nERR! Error in getUserInfo   at tryCatcher (/var/www/Concierge/node_modules/bluebird/js/main/util.js:26:23)\r\nERR! Error in getUserInfo   at Promise._settlePromiseFromHandler (/var/www/Concierge/node_modules/bluebird/js/main/promise.js:510:31)\r\nERR! Error in getUserInfo   at Promise._settlePromiseAt (/var/www/Concierge/node_modules/bluebird/js/main/promise.js:584:18)\r\nERR! Error in getUserInfo   at Async._drainQueue (/var/www/Concierge/node_modules/bluebird/js/main/async.js:128:12)\r\nERR! Error in getUserInfo   at Async._drainQueues (/var/www/Concierge/node_modules/bluebird/js/main/async.js:133:10)\r\nERR! Error in getUserInfo   at Immediate.Async.drainQueues (/var/www/Concierge/node_modules/bluebird/js/main/async.js:15:14)\r\nERR! Error in getUserInfo   at runCallback (timers.js:574:20)\r\nERR! Error in getUserInfo   at tryOnImmediate (timers.js:554:5)\r\nERR! Error in getUserInfo   at processImmediate [as _immediateCallback] (timers.js:533:5)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Schmavery/facebook-chat-api/issues/comments/250100851","html_url":"https://github.com/Schmavery/facebook-chat-api/issues/333#issuecomment-250100851","issue_url":"https://api.github.com/repos/Schmavery/facebook-chat-api/issues/333","id":250100851,"user":{"login":"Schmavery","id":2154522,"avatar_url":"https://avatars.githubusercontent.com/u/2154522?v=3","gravatar_id":"","url":"https://api.github.com/users/Schmavery","html_url":"https://github.com/Schmavery","followers_url":"https://api.github.com/users/Schmavery/followers","following_url":"https://api.github.com/users/Schmavery/following{/other_user}","gists_url":"https://api.github.com/users/Schmavery/gists{/gist_id}","starred_url":"https://api.github.com/users/Schmavery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Schmavery/subscriptions","organizations_url":"https://api.github.com/users/Schmavery/orgs","repos_url":"https://api.github.com/users/Schmavery/repos","events_url":"https://api.github.com/users/Schmavery/events{/privacy}","received_events_url":"https://api.github.com/users/Schmavery/received_events","type":"User","site_admin":false},"created_at":"2016-09-28T08:11:54Z","updated_at":"2016-09-28T08:11:54Z","body":"I didn't get this when trying it just now so hopefully facebook took care of this.  Thanks for reporting!"}}
{"actor":{"display_login":"Schmavery"}}