heroku

vinai 2017-09-21T17:27:43.000100Z

Jurko - I just do a git push heroku master

vinai 2017-09-21T17:28:34.000075Z

The only tutorial I know is the one on heroku.https://devcenter.heroku.com/articles/getting-started-with-clojure#introduction

vinai 2017-09-21T17:28:39.000349Z

It's pretty good.

vinai 2017-09-21T17:30:52.000133Z

That said... I am having trouble with a deployment, too. The app compiles cleanly both locally and on heroku (clj + cljs without any warnings or errors). However, heroku logs shows

2017-09-21T17:27:04.939205+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2017-09-21T17:27:04.939205+00:00 heroku[web.1]: Stopping process with SIGKILL
2017-09-21T17:27:05.433004+00:00 heroku[web.1]: Process exited with status 137
2017-09-21T17:27:05.449591+00:00 heroku[web.1]: State changed from starting to crashed
If I run the jar locally with the same command that is in the Procfile it works. How can I debug what is wrong on the heroku instance?

vinai 2017-09-21T17:43:21.000455Z

Does the build time count towards the 60 seconds launch window?

vinai 2017-09-21T17:45:38.000022Z

Interesting. Adding a web: prefix to the Procfile seems to have fixed the issue. Might be a random thing though.