Python Flask deploy failing


I am trying to port my python flask app from Heroku (where it works)
and although the build is successful, the Deploy is marked as “failed” and the website doesn’t work.

Unfortunately there is no real error message - except the warnings:

Feb 19 05:48:20 PM  WARNING: You are using pip version 22.0.4; however, version 23.0.1 is available.
Feb 19 05:48:20 PM  You should consider upgrading via the '/opt/render/project/src/.venv/bin/python3.9 -m pip install --upgrade pip' command.
Feb 19 05:48:20 PM  ==> Generating container image from build. This may take a few minutes...
Feb 19 05:50:35 PM  ==> Uploading build...
Feb 19 05:51:00 PM  ==> Build uploaded in 17s
Feb 19 05:51:00 PM  ==> Build successful 🎉
Feb 19 05:51:00 PM  ==> Deploying...
Feb 19 05:51:49 PM  ==> Starting service with 'gunicorn main:app'
Feb 19 05:56:51 PM  [2023-02-19 16:56:51 +0000] [51] [INFO] Starting gunicorn 19.10.0
Feb 19 05:56:51 PM  [2023-02-19 16:56:51 +0000] [51] [INFO] Listening at: (51)
Feb 19 05:56:51 PM  [2023-02-19 16:56:51 +0000] [51] [INFO] Using worker: sync
Feb 19 05:56:51 PM  /opt/render/project/python/Python-3.9.16/lib/python3.9/ RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
Feb 19 05:56:51 PM    return, *args, **kwargs)
Feb 19 05:56:51 PM  [2023-02-19 16:56:51 +0000] [66] [INFO] Booting worker with pid: 66

Anything I am missing? Or how could I get more information?

Thank you!


Those logs don’t seem to show any obvious issues.

Please could you share some specific details of the issue you are experiencing that may help us troubleshoot it with you, e.g. service name/ID, URL, etc. If you don’t want to share these details on the community forum, please feel free to raise a ticket from the “Contact Support” link at the bottom of the Dashboard.


Hi Alan

thank you! The service id is

Unfortunately I don’t have any more information other than the logs provided. Unless there are other ways to get more detailed logs?


I’m still not seeing anything obviously wrong, but it looks like your app didn’t respond to the healthcheck in time, maybe try a new manual deploy?


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.