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: https://stackoverflow.com/a/61256798

1 Like

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

1 Like