Why can't I deploy?

The first time I used Fly, it was great. My last two projects just get stuck in a deploy loop. Why?

Updating existing machines in ‘speedrun-red’ with rolling strategy
Failed to update machines: failed to update machine d8dd967fe44308: failed to update VM d8dd967fe44308: request returned non-2xx status, 504 Retrying…
Failed to update machines: failed to update machine d8dd967fe44308: failed to update VM d8dd967fe44308: request returned non-2xx status, 504 Retrying…
Failed to update machines: failed to update machine d8dd967fe44308: failed to update VM d8dd967fe44308: request returned non-2xx status, 504 Retrying…
WARN error refreshing lease for machine e824113ce06e18: failed to get lease on VM e824113ce06e18: Post “https://api.machines.dev/v1/apps/speedrun-red/machines/e824113ce06e18/lease?ttl=13”: read tcp [2a00:23c7:b83:ef01:9505:1c4b:810:e5f]:60518->[2a09:8280:1::8969]:443: read: connection reset by peer
:heavy_check_mark: [1/3] Machine 148e232ef33128 is now in a good state
Failed to update machines: failed to update machine d8dd967fe44308: failed to update VM d8dd967fe44308: request returned non-2xx status, 504 Retrying…
^C

⠏ [1/3] Updating d8dd967fe44308 [app]


⠧ [1/3] Clearing lease for d8dd967fe44308
:heavy_check_mark: [2/3] Cleared lease for 148e232ef33128
:heavy_check_mark: [3/3] Cleared lease for e824113ce06e18

image

Joking aside (pls don’t ban me Fly)… what kind of app are you deploying? The builders might have issues, try fly deploy --recrete-builder or maybe changing regions FLY_REGISTRY_HOST=registry-iad.fly.io fly deploy (change the region code to something that works)

There was an API issue during the time you were trying this. We also experienced something similar, it might be worth trying again now that it appears to have been fixed.

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