开发者

Running Clojure on Heroku and getting Error H14 (No Web Process running)

开发者 https://www.devze.com 2023-03-14 03:50 出处:网络
I\'ve followed this gist, this blog post and downloaded and deployed this exa开发者_高级运维mple and in all 3 cases I get:

I've followed this gist, this blog post and downloaded and deployed this exa开发者_高级运维mple and in all 3 cases I get:

Error H14 (No web processes running) -> GET etc-etc-999.herokuapp.com 

Is there any usual clojure + heroku gotcha's that I might be falling foul of?

Things I've tried/checked:

  • I've tried running my app locally and it works,
  • I've made sure my local and remote copies are in sync,
  • I've tried seting the heroku config PORT=8080 and tried un-setting it
  • I've tried restarting the apps
  • I've got a working Procfile
  • I've checked that I have 1 web process up and running.
  • and have made sure I'm set up to use the cedar stack.


Ok I finally found the problem...

GET "/"

Works fine locally and is exactly how the above git project does it...

But I had to change this to:

GET "/*"

To get it to work on Heroku.

0

精彩评论

暂无评论...
验证码 换一张
取 消