Closed prasiman closed 6 months ago
Hi,
I just deployed this app into Heroku, and got this error after initiating Flask app
What do you suggest?
2024-02-18T16:23:34.307507+00:00 heroku[web.1]: Starting process with command python ./main.py 2024-02-18T16:23:43.348509+00:00 app[web.1]: Debugging is enabled! This will generate a screenshot and console logs on error! 2024-02-18T16:23:43.348573+00:00 app[web.1]: Downloading extension... 2024-02-18T16:23:43.348574+00:00 app[web.1]: Extension MD5: fb1bba752f49b280f6c677b373fdf212 2024-02-18T16:23:43.348575+00:00 app[web.1]: Downloaded! Installing extension and driver manager... 2024-02-18T16:23:43.348577+00:00 app[web.1]: Installed! Starting... 2024-02-18T16:23:43.348577+00:00 app[web.1]: Started! Logging in... 2024-02-18T16:23:43.348577+00:00 app[web.1]: Logging in... 2024-02-18T16:23:43.348577+00:00 app[web.1]: Logging in... 2024-02-18T16:23:43.348577+00:00 app[web.1]: Logging in... 2024-02-18T16:23:43.348577+00:00 app[web.1]: Logged in! Waiting for connection... 2024-02-18T16:23:43.348577+00:00 app[web.1]: Loading connection... 2024-02-18T16:23:43.348577+00:00 app[web.1]: Connected! Starting API... 2024-02-18T16:23:43.348578+00:00 app[web.1]: Serving Flask app 'main' 2024-02-18T16:23:43.348581+00:00 app[web.1]: Debug mode: off 2024-02-18T16:23:43.348638+00:00 app[web.1]: Permission denied 2024-02-18T16:23:43.492068+00:00 heroku[web.1]: Process exited with status 1 2024-02-18T16:23:43.513348+00:00 heroku[web.1]: State changed from starting to crashed
python ./main.py
Update: Port 80 is reserved for Heroku and cannot be used in the app. The solution is to use another port than 80.
Hi,
I just deployed this app into Heroku, and got this error after initiating Flask app
What do you suggest?