I have built a simple web server on aiohttp and try to deploy it on heroku, but after deployment I get an error message:
at=error code=H14 desc="No web processes running" dyno= connect= service= status=503 bytes= protocol=https
project structure:
├── application.py
├── Procfile
├── requirements.txt
├── routes.py
└── views
├── bot_team_oranizer.py
├── index.py
└── __init__.py
application.py
from aiohttp import web
from routes import setup_routes
app = web.Application()
setup_routes(app)
web.run_app(app)
Procfile:
web: gunicorn application:app
Why is the web server not starting on heroku?