Application error An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command

Hi,

I am new to Streamlit. I have built a multi page application using radio buttons. Please find the app here GitHub - sindhumallya1006/propensit_webapp

I am trying to deploy this app on heroku and facing the following error Application error

An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command

I have looked at the logs and this is the error:
2021-06-19T13:26:19.758017+00:00 heroku[router]: at=error code=H14 desc=“No web processes running” method=GET path="/" host=propensit-webapp.herokuapp.com request_id=a358fc0e-cad5-4f44-9907-a48a51c90a3f fwd=“202.12.83.217” dyno= connect= service= status=503 bytes= protocol=https

I have tried rectifying the errors using various existing issues but no good yet.

Please do help me with this.

Hi @sindhumallya, welcome to the Streamlit community!! :wave: :partying_face:

Thanks for sharing your code repo. The problem is likely due to your Procfile. Try removing the file extension from Procfile.txt to Procfile. Once you remove the .txt extension from your Procfile, recommit and push your code to Heroku.

Let us know if that helps!

Happy Streamlit’ing! :balloon:
Snehan

Source: python - H14 error in heroku - "no web processes running" - Stack Overflow

2 Likes

Hi @snehankekre,

Thank you for your response! Your suggestion worked and I was able to successfully deploy the Streamlit application https://customer-purchase.herokuapp.com/

Regards,
Sindhu Mallya

2 Likes

Hi, I am new to streamlit. I recently built an app which I was able to use locally. But I encountered an error when I wanted to deploy on heroku. Here is the link to the repo:

Below is the error:
at=error code=H10 desc=“App crashed” method=GET path="/" host=mental-health-diagnostic-app.herokuapp.com request_id=f567cd7d-27ce-4d0a-b59e-2a0a56c9f8c3 fwd=“102.89.32.102” dyno= connect= service= status=503 bytes= protocol=https
2022-02-06T21:21:35.146183+00:00 heroku[router]: at=error code=H10 desc=“App crashed” method=GET path="/favicon.ico" host=mental-health-diagnostic-app.herokuapp.com request_id=b091715b-3e9f-46d7-a8b0-83b76c158440 fwd=“102.89.33.21” dyno= connect= service= status=503 bytes= protocol=https

Pls help me with this. My Procfile is also without the .txt extension. So I do not know where the problem is from.