Application Error on Heroku

Hello everyone. I recently tried to host botpress on Heroku via the the 1-click app button. However after deployment, I came across this issue. Can anyone help me out with this? Thank you in advance.

2 Likes

I have also same problem.

even i have the same issue

Some Logs
2021-03-24T19:28:22.172463+00:00 heroku[web.1]: Error R10 (Boot timeout) โ†’ Web process failed to bind to $PORT within 60 seconds of launch

Hello,

I just created a Heroku app running Botpress using this tutorial:

The only thing I changed is the Dockerfile and here is what I used

FROM botpress/server:v12_19_2
WORKDIR /botpress
CMD ["/bin/bash", "-c", "./bp"]

I think you are right and the Deploy button is not working

1 Like

Thanks this works also when configuring to postgres there is one more config which needs to be executed i.e.

heroku config:set PGSSLMODE=require --app $APP_NAME

1 Like

Awesome! Works for me, thanks!

1 Like

I also faced a lot of challenges with setup on Heroku and in deployment of recurring changes. Here is a clean documentation which can help.

fosslectures/botpress-heroku: This project is intended to deploy Botpress chatbot on Heroku cloud using docker image. (github.com)