markov-elear icon indicating copy to clipboard operation
markov-elear copied to clipboard

Bot crashes on Heroku

Open divs1210 opened this issue 9 years ago • 1 comments

Hey! I've followed your article on howistart to make my bot (https://github.com/divs1210/yushing-bot). It works amazingly on my local machine, but crashes on Heroku with the following logs:

2015-07-27T16:49:21.225477+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2015-07-27T16:49:21.225477+00:00 heroku[web.1]: Stopping process with SIGKILL
2015-07-27T16:49:22.007152+00:00 heroku[web.1]: State changed from starting to crashed
2015-07-27T16:49:21.994882+00:00 heroku[web.1]: Process exited with status 137

How do I get around this?

divs1210 avatar Jul 27 '15 17:07 divs1210

Check on heroku what dynos your project is setup to use. It sounds like it is trying to run a web dyno that is trying to connect on a port

gigasquid avatar Jul 27 '15 17:07 gigasquid