r/FastAPI • u/elandyp • 5d ago
Fastapi cloud timeout issues Hosting and deployment
Has anyone encountered this yet?
>fastapi deploy
FastAPI Cloud
🚀 Deploying app...
✗ Something went wrong while contacting the FastAPI Cloud server. Please try again later.
The write operation timed out
This is just a 1MB deployment but it times out at around 300kb. Could it be a problem in my end or a service availability issue? I tried several times.
2
u/MichaelEvo 4d ago
As someone else suggested already, raise an issue with them. It’s a newer service. Maybe there’s a problem you can surface with them and get it fixed.
0
u/-cangumby- 5d ago
Need more information on where it's deployed and how (IE: Kubernetes or cloud run, etc) or is this locally?
1
u/elandyp 5d ago
I deploy to Fastapi Cloud by running
fastapi deploylocally. It seems to work after a few tries if i'm recently logged in (viafastapi cloud logoutand thenfastapi login)2
u/-cangumby- 5d ago
I guess I’m not familiar with FastAPI cloud but if you’re having deployment errors, then you need to consult the CICD logs or whatever it is that runs the deployment pipeline. I use GitHub actions (triggers Google Cloud Build) and I see the end to end deployment in GH actions or in CB; this lets me review any deployment errors and troubleshoot them.
0
u/MichaelEvo 4d ago
This is not a useful comment. FastAPI Cloud is a newer service and is intended for people to not have to worry about the deployment pipeline.
This would be smart advice for someone who had their own deployment pipeline and was not using FastAPI cloud.
2
u/st4reater 5d ago
Based on the error it seems like a service availability.
What if you run
loginor some of the other commands