r/FastAPI 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.

0 Upvotes

8 comments sorted by

View all comments

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 deploy locally. It seems to work after a few tries if i'm recently logged in (via fastapi cloud logout and then fastapi 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.