0

heroku logs sohowing this error. what i'm doing wrong please suggest me?

Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2014-08-27T01:54:33.096092+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=aqueous-bayou-5108.herokuapp.com request_id=4e479089-3755-40b9-aad8-94a5bd55ac1a fwd="180.215.131.218" dyno= connect= service= status=503 bytes=
2014-08-27T01:54:33.593740+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=aqueous-bayou-5108.herokuapp.com request_id=f052cb47-9e27-4de5-903f-d5d6ac33d6d0 fwd="180.215.131.218" dyno= connect= service= status=503 bytes=
2014-08-27T01:54:33.943547+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=aqueous-bayou-5108.herokuapp.com request_id=70a09969-afd6-4528-974c-be4528d5bab8 fwd="180.215.131.218" dyno= connect= service= status=503 bytes=
2014-08-27T02:09:51.315842+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=aqueous-bayou-5108.herokuapp.com request_id=b5b2be11-1fcc-4af3-9941-4cfb5b675b23 fwd="180.215.131.218" dyno= connect= service= status=503 bytes=
Nitzan Shaked
  • 13,460
  • 5
  • 45
  • 54
Durgesh Narayan
  • 96
  • 1
  • 11
  • possible duplicate of [Heroku + node.js error (Web process failed to bind to $PORT within 60 seconds of launch)](http://stackoverflow.com/questions/15693192/heroku-node-js-error-web-process-failed-to-bind-to-port-within-60-seconds-of) – Nitzan Shaked Aug 28 '14 at 23:24
  • thanks nitzan for reply i'm not getting can you please elaborate? – Durgesh Narayan Aug 29 '14 at 01:13
  • every time showing this error in heroku logs "Process exited with status 137". – Durgesh Narayan Aug 29 '14 at 01:19
  • On Heroku, for reasons I won't explain in a short comment (go read the original question, or some of my answers regarding this specific issue on SO), you can't just listen on any port (you probably listen on 80? 8000? 3000? 5000? 8080? in your code). You need to listen on a port that Heroku tells you. Use the env variable `PORT`, convert to a number, and use that as the port number to listen on. – Nitzan Shaked Aug 29 '14 at 06:37
  • ok i see it's a port related issue. can you please guide me how i change the port in ember-cli framework? Thanks nitzan – Durgesh Narayan Aug 29 '14 at 13:43
  • either use a `.ember-cli` files (which is a JSON object with a `port` member, among other things), or if using `serve.js` use the `--port` option. – Nitzan Shaked Aug 29 '14 at 14:29
  • I have created a file named .ember-cli with this json object code. { "port": 9999 } but still heroku logs return same result. "Process exited with status 137." – Durgesh Narayan Aug 31 '14 at 04:36

1 Answers1

0

thanks nitzan really you are great. I have post this issue also on here "https://github.com/stefanpenner/ember-cli/issues/1080"

then i have change my buildpack url and now everything is working fine.

heroku config:set BUILDPACK_URL=https://github.com/tonycoco/heroku-buildpack-ember-cli.git

thanks.

Durgesh Narayan
  • 96
  • 1
  • 11