0

I am attempting to create a web app to heroku.

It says that it deploys successfully but when I try to open it I get an error saying to check the console log.

There I find the following error code:

at=error code=H14 desc="No web processes running" method=GET path="/" host=name_name.herokuapp.com request_id=40cff699-28b5-4ea7-985b-c135dc8a526b fwd="174.16.132.201" dyno= connect= service= status=503 bytes= protocol=https

After searching around it appears to be a problem with my procfile. I have tried switching between 'web' and 'worker' but both give me the same error (above). Other peoples procfiles look very different to mine but I don't know enough about them to know what to change.

My current procfile:

worker: sh setup.sh && streamlit run name_name.py
vvvvv
  • 25,404
  • 19
  • 49
  • 81
Matt
  • 9
  • 1

1 Answers1

0

Sample Procfile, note it must be capital P.

The app.py is the script filename.

web: sh setup.sh && streamlit run app.py
vvvvv
  • 25,404
  • 19
  • 49
  • 81
ferdy
  • 4,396
  • 2
  • 4
  • 16