Skip to content
Advertisement

Heroku getting at=error code=H10 while deploying python Flask web app

I am trying to deploy my first flask application in heroku. Followed steps exactly as mentioned in heroku documentation. But It is throwing Application error as shown below

JavaScript

Project Structure

JavaScript

wsgi.py file

JavaScript

Procfile

JavaScript

app/main.py

JavaScript

requirements.txt

JavaScript

runtime.txt

JavaScript

Advertisement

Answer

Welcome to Stackoverflow @vishnuvreddy

Since you are deciding port using

JavaScript

and mentioned --bind in Procfile as below

JavaScript

conflict each other.

Solution

Change Procfile to

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement