{"action":"created","issue":{"url":"https://api.github.com/repos/telepat-io/telepat-api/issues/7","labels_url":"https://api.github.com/repos/telepat-io/telepat-api/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/telepat-io/telepat-api/issues/7/comments","events_url":"https://api.github.com/repos/telepat-io/telepat-api/issues/7/events","html_url":"https://github.com/telepat-io/telepat-api/issues/7","id":113586611,"number":7,"title":"500 error logging in","user":{"login":"aaronfranco","id":11521696,"avatar_url":"https://avatars.githubusercontent.com/u/11521696?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronfranco","html_url":"https://github.com/aaronfranco","followers_url":"https://api.github.com/users/aaronfranco/followers","following_url":"https://api.github.com/users/aaronfranco/following{/other_user}","gists_url":"https://api.github.com/users/aaronfranco/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronfranco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronfranco/subscriptions","organizations_url":"https://api.github.com/users/aaronfranco/orgs","repos_url":"https://api.github.com/users/aaronfranco/repos","events_url":"https://api.github.com/users/aaronfranco/events{/privacy}","received_events_url":"https://api.github.com/users/aaronfranco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-27T13:44:46Z","updated_at":"2015-10-27T15:27:05Z","closed_at":null,"body":"I have the demoApp running on docker. When I log in with Facebook, the Telepat-api server log shows the following error.\r\n\r\n````\r\n| POST /device/register 200 3.243 ms - 50\r\noctopusapi_1           | GET /context/all 304 10.052 ms - -\r\noctopusapi_1           | undefined\r\noctopusapi_1           | POST /user/login 500 20021.805 ms - 151\r\n````\r\n\r\nThen, on the front end, it results in this console error output.\r\n\r\n````\r\n\r\ntelepat.js:362 Telepat: Login failed with error: Error: Internal Server Error\r\n(anonymous function) @ telepat.js:362\r\nerror @ telepat.js:626\r\n(anonymous function) @ telepat.js:912\r\n(anonymous function) @ telepat.js:126\r\nRequest.callback @ telepat.js:36995\r\n(anonymous function) @ telepat.js:36647\r\nEmitter.emit @ telepat.js:30687\r\nxhr.onreadystatechange @ telepat.js:37072\r\ntelepat.js:362 Telepat: Emitting login_error event\r\n````\r\n\r\nWhen I list my apps, here are the credentials that I see and use in my demoApp.\r\n````\r\n➜  telepat-js git:(develop) ✗ telepat list apps\r\nAdmin login OK.\r\n[ { name: 'Test Application',\r\n    keys: [ 'testApiKey' ],\r\n    admins: [ 'f4d558ec-49c8-44ae-aaf0-95dca43c00dd' ],\r\n    id: 'b378415b-7f88-4574-a90d-aef470453b2e',\r\n    created: 1445910189,\r\n    modified: 1445910189,\r\n    schema: { comments: [Object], events: [Object] } } ]\r\n````\r\nPlease let me know if I'm missing anything."},"comment":{"url":"https://api.github.com/repos/telepat-io/telepat-api/issues/comments/151540179","html_url":"https://github.com/telepat-io/telepat-api/issues/7#issuecomment-151540179","issue_url":"https://api.github.com/repos/telepat-io/telepat-api/issues/7","id":151540179,"user":{"login":"aaronfranco","id":11521696,"avatar_url":"https://avatars.githubusercontent.com/u/11521696?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronfranco","html_url":"https://github.com/aaronfranco","followers_url":"https://api.github.com/users/aaronfranco/followers","following_url":"https://api.github.com/users/aaronfranco/following{/other_user}","gists_url":"https://api.github.com/users/aaronfranco/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronfranco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronfranco/subscriptions","organizations_url":"https://api.github.com/users/aaronfranco/orgs","repos_url":"https://api.github.com/users/aaronfranco/repos","events_url":"https://api.github.com/users/aaronfranco/events{/privacy}","received_events_url":"https://api.github.com/users/aaronfranco/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T15:27:05Z","updated_at":"2015-10-27T15:27:05Z","body":"Here is the error message coming back from the server\r\n````\r\nmessage: \"{\"error\":{\"code\":\"ENOTFOUND\",\"errno\":\"ENOTFOUND\",\"syscall\":\"getaddrinfo\",\"hostname\":\"graph.facebook.com\"}}\"\r\n````"}}