{"action":"created","issue":{"url":"https://api.github.com/repos/itsanna/olive-coders/issues/1","repository_url":"https://api.github.com/repos/itsanna/olive-coders","labels_url":"https://api.github.com/repos/itsanna/olive-coders/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/itsanna/olive-coders/issues/1/comments","events_url":"https://api.github.com/repos/itsanna/olive-coders/issues/1/events","html_url":"https://github.com/itsanna/olive-coders/issues/1","id":142154309,"number":1,"title":"Heroku Deployment Issue","user":{"login":"hzhu","id":1811365,"avatar_url":"https://avatars.githubusercontent.com/u/1811365?v=3","gravatar_id":"","url":"https://api.github.com/users/hzhu","html_url":"https://github.com/hzhu","followers_url":"https://api.github.com/users/hzhu/followers","following_url":"https://api.github.com/users/hzhu/following{/other_user}","gists_url":"https://api.github.com/users/hzhu/gists{/gist_id}","starred_url":"https://api.github.com/users/hzhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzhu/subscriptions","organizations_url":"https://api.github.com/users/hzhu/orgs","repos_url":"https://api.github.com/users/hzhu/repos","events_url":"https://api.github.com/users/hzhu/events{/privacy}","received_events_url":"https://api.github.com/users/hzhu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-20T11:29:07Z","updated_at":"2016-03-21T23:26:31Z","closed_at":null,"body":"According to the logs:\r\n```\r\n2016-03-19T17:53:41.851902+00:00 heroku[web.1]: Starting process with command `node server.js`\r\n2016-03-19T17:53:44.317008+00:00 app[web.1]: Listening at http://localhost:5000\r\n2016-03-19T17:54:41.863681+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch\r\n\r\n```\r\n[Here's a description of R10](https://devcenter.heroku.com/articles/error-codes#r10-boot-timeout)\r\n\r\nTo see these logs you will need the [Heroku CLI tool](https://devcenter.heroku.com/articles/heroku-command#installing-the-heroku-cli).\r\n\r\nAfter installing you should be able to type `heroku --version` in terminal and see a valid output.\r\n\r\nYou'll have to setup your login credentials (user / pass) and then you can access your app's logs by typing this in terminal:\r\n\r\n```\r\nheroku logs --tail --app fast-sands-26610\r\n```\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/itsanna/olive-coders/issues/comments/199534473","html_url":"https://github.com/itsanna/olive-coders/issues/1#issuecomment-199534473","issue_url":"https://api.github.com/repos/itsanna/olive-coders/issues/1","id":199534473,"user":{"login":"itsanna","id":12437598,"avatar_url":"https://avatars.githubusercontent.com/u/12437598?v=3","gravatar_id":"","url":"https://api.github.com/users/itsanna","html_url":"https://github.com/itsanna","followers_url":"https://api.github.com/users/itsanna/followers","following_url":"https://api.github.com/users/itsanna/following{/other_user}","gists_url":"https://api.github.com/users/itsanna/gists{/gist_id}","starred_url":"https://api.github.com/users/itsanna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsanna/subscriptions","organizations_url":"https://api.github.com/users/itsanna/orgs","repos_url":"https://api.github.com/users/itsanna/repos","events_url":"https://api.github.com/users/itsanna/events{/privacy}","received_events_url":"https://api.github.com/users/itsanna/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T23:26:31Z","updated_at":"2016-03-21T23:26:31Z","body":"I believe there were two areas that were an issue.\r\n\r\n* I received the following error in my Chrome console when I excluded `bundle.js` from git.\r\n`Uncaught SyntaxError: Unexpected token <`\r\n\r\n* The way I was listening to the port in `server.js` was giving me a `503 (Service Unavailable)` error.\r\n\r\n\r\n"}}