FastAPI Deployment Issue

After deployment it’s showing only this logs, but API is not working, it just keeps on loading.

I have added PYTHON_VERSION & PORT in my environment variables. Am I missing anything?

Can anyone help???

Hi,

I’m not a FastAPI expert, but a quick search seems to show there is some config required to use Gunicorn with FastAPI (and uvicorn): https://fastapi.tiangolo.com/deployment/server-workers/

Alan

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