Heroku - No web process running

arjun gulyani picture arjun gulyani · Aug 31, 2016 · Viewed 19.3k times · Source

I made a twitter bot using tweepy in Python and tried deploying it using Heroku. The Bot just tweets after certain intervals. After deploying it, the Python program just doesn't run and Heroku log shows the following error :

at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=fathomless-island-25537.herokuapp.com request_id=0aa76d12-31e6-4940-85ec-a8476af4f82f fwd="182.64.210.145" dyno= connect= service= status=503 bytes=

After looking through some similar problems where a django app has to be deployed, I tried:

heroku ps:scale web=1

and got:

Scaling dynos... !
 !  Couldn't find that formation.

Does it mean that the program failed to establish a web process or is there something else related to dynos ? Or if I have to include some code related to dynos in my program ? I don't know which part of this whole process has a problem. Apologies if it's too basic.

Answer

Scott Eifel picture Scott Eifel · Mar 1, 2019

I was having trouble getting my app to load, until I modified my Procfile

from saying

web: gunicorn app:app

to

web gunicorn app:app

Removing the : after web made it work for me.