botpress / v12

Botpress OSS – v12
https://v12.botpress.com
GNU Affero General Public License v3.0
68 stars 83 forks source link

[BUG] One click heroku deployment fails #1298

Closed cgarrovillo closed 2 years ago

cgarrovillo commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

2021-03-26T23:19:57.491579+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch

According to https://stackoverflow.com/questions/15693192/heroku-node-js-error-web-process-failed-to-bind-to-port-within-60-seconds-of this is because of the application trying to statically bind to a port.

To Reproduce Steps to reproduce the behavior:

  1. Click on Deploy to Heroku
  2. Visit site
  3. See error

Expected behavior A clear and concise description of what you expected to happen.

Actually one click deploy

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Additional context Add any other context about the problem here.

rproskuryakov commented 3 years ago

Got the same problem with trying to deploy botpress on Heroku

infowesley commented 3 years ago

I found the solution on this post: https://forum.botpress.com/t/application-error-on-heroku/4836/5

You need to add a new Config Var:

PGSSLMODE=require

EFF commented 2 years ago

fixed