This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-05-29
Channels
- # announcements (3)
- # aws (12)
- # babashka (11)
- # beginners (46)
- # calva (10)
- # cider (6)
- # clara (3)
- # cljdoc (6)
- # cljs-dev (13)
- # cljsrn (2)
- # clojure (49)
- # clojure-europe (2)
- # clojure-gamedev (1)
- # clojure-germany (22)
- # clojure-uk (2)
- # clojurescript (28)
- # clojureverse-ops (8)
- # conjure (6)
- # cursive (2)
- # emacs (1)
- # figwheel-main (9)
- # heroku (12)
- # jobs-discuss (1)
- # malli (10)
- # off-topic (1)
- # practicalli (8)
- # re-frame (25)
- # reagent (6)
- # shadow-cljs (24)
- # testing (10)
- # vscode (4)
keep on getting. : Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 180 seconds of launch
Are you reading in the PORT environment variable that Heroku provides when starting the web server (i.e jetty) ? If jetty is not run using the provided port value, Heroku will shut it down (as Heroku cannot route traffic to the app)
If I read the code correctly, then it seems the port is hard coded to port 3000 This will fail when run on Heroku
This page has examples of how I deployed a Clojure WebApp project managed by Clojure CLI tools. Hopefully you find some of it useful. https://practical.li/clojure-webapps/projects/banking-on-clojure/deployment-via-ci.html
I'll try deploy a fork of your project in the morning, it looks very interesting