Skip to content Skip to sidebar Skip to footer

Python - Heroku Deployment Error Boot Timeout

I created a streamlit app in python and I'm trying to deploy it to Heroku following several youtube videos. However, I keep receiving the following errors and I'm not sure how to c

Solution 1:

A web dyno must bind to its assigned $PORT within 60 seconds of startup. If it doesn’t, it is terminated by the dyno manager and a R10 Boot Timeout error is logged.

You need to pass the $PORT to streamlit in your procfile:

web: sh setup.sh && streamlit run --server.port $PORT app.py

Here's documentation that may help: https://devcenter.heroku.com/articles/dynos#web-dynos

Post a Comment for "Python - Heroku Deployment Error Boot Timeout"