Deploy FastAPI , no errors

Hello ,I am trying to deploy a fastapi app usign render , it always fail , with no error on console .

The same issue. fastApi app build and deployed succesfully, uvcorn starts but nothing works :thinking:((

1 Like

I am facing the same problem , now : :rofl:

It is starting and live but it doesn’t work

it start to work for me :grinning:

What did you do to make it work ?

I just change start command as: uvicorn main:app --host 0.0.0.0 --port 10000

I am using the same addres and port but still not working ,
what server did you use ?

https://myapi.onrender.com
python 3.8.5
anyio==3.6.2

click==8.1.3

colorama==0.4.6

fastapi==0.91.0

greenlet==2.0.2

h11==0.14.0

idna==3.4

numpy==1.24.2

pandas==1.5.3

pydantic==1.10.4

pyodbc==4.0.35

python-dateutil==2.8.2

pytz==2022.7.1

six==1.16.0

sniffio==1.3.0

SQLAlchemy==2.0.3

starlette==0.24.0

typing_extensions==4.4.0

uvicorn==0.20.0

1 Like

did you use some Procfile or something similar ?

I have Procfile with following content: web: uvicorn main:app --reload
I have created it for heroku and It still in the project but I guess render doesn’t use one.

Ok thank you , I am still confused mine doesn’t work even if I did the same process

Do you use free plan or paid plan ?

free

Hey,

Please open a ticket with support if you’re experiencing an issue. You can do that via the “Contact Support” form in the dashboard.

Regards.
Jérémy, Render Support

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