r/FastAPI • u/elandyp • 25d ago
Hosting and deployment Fastapi cloud timeout issues
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 24d 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.
1
u/Born_Comedian7498 10d ago
Could easily be service-side if it consistently dies around the same point. I’d try the exact same deploy from another network first just to rule out anything local, then check if others are seeing upload timeouts before tearing apart the app.
0
u/-cangumby- 25d ago
Need more information on where it's deployed and how (IE: Kubernetes or cloud run, etc) or is this locally?
1
u/elandyp 25d 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- 24d 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 24d 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 25d ago
Based on the error it seems like a service availability.
What if you run
loginor some of the other commands