Fast api Stuck at deploy

Hi my fastapi app builds correctly:
Jun 10 12:51:40 AM ==> Starting service with ‘uvicorn fastapistart:app --reload --port 8000’
Jun 10 12:51:41 AM INFO: Will watch for changes in these directories: [‘/opt/render/project/src’]
Jun 10 12:51:41 AM INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
Jun 10 12:51:41 AM INFO: Started reloader process [51] using StatReload
Jun 10 12:51:48 AM INFO: Started server process [53]
Jun 10 12:51:48 AM INFO: Waiting for application startup.
Jun 10 12:51:48 AM INFO: Application startup complete.

but it stuck at deploy.
Can you help me?

Hi Tiago,

You’ll need to bind you’re service to 0.0.0.0, not 127.0.0.1.

It can also sometimes help to explicitly set a PORT environment variable.

Give that a try and let me know if it helps.

Regards,

Matt

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