Jurko - I just do a git push heroku master
The only tutorial I know is the one on heroku.https://devcenter.heroku.com/articles/getting-started-with-clojure#introduction
It's pretty good.
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?Does the build time count towards the 60 seconds launch window?
Interesting. Adding a web:
prefix to the Procfile seems to have fixed the issue. Might be a random thing though.