Hi guys, the ams builder problem has drifted into a network problem with the S3 bucket used as registry backend. The difference with pushing layers from other regions is that the bucket has S3 Transfer Acceleration enabled, so Amsterdam will go into AWS from a different entrypoint than others.
In the meantime we ~have destroyed~ are destroying all ams builders and instructed our system to recreate them in iad on your next application deploy.
Make sure you have 0.2.51, not 0.2.50, try to install using this
curl -L https://fly.io/install.sh | sh -s 0.2.51
Then as Dangra suggested, first destroy and then deploy with env var set
FLY_REMOTE_BUILDER_REGION=iad fly deploy
For me it helped. Just make sure that yiu use correct flyctl, because I first install using brew, then curl, and I had to point to the specific path to use 0.2.51
I had the same message for my ams app. Scaling down and up worked for me. Maybe consider scaling down in waw and up in fra for example until they got it sorted? In my case, it was very simple because I don’t use volumes on fly.
Thanks for sharing the insights, I am facing this issue with my application, app region is SIN, also I have tried removing the builder, but it still stuck at preparing step.
For people having problems with deploys that hang pushing docker image layers to the registry the way to unblock it is to destroy the builder app and start a new deploy forcing the builder region to iad
# be sure you are running flyctl v0.2.51 or greater
❯ flyctl version
flyctl v0.2.51 linux/arm64 Commit: 3cb555f3be736f5e50be72c20f8dfd268f8cf238 BuildDate: 2024-05-08T20:14:10Z
# find the builder app name and destroy it
❯ fly apps list |grep builder
fly-builder-winter-tree-7706 personal suspended
❯ fly apps destroy fly-builder-winter-tree-7706
...
# finally start a deploy forcing the builder region
❯ FLY_REMOTE_BUILDER_REGION=iad fly deploy
...
For others having issues with machines that can’t be started, I will check in a moment but seems to be a different issue.
Sorry about the question but,
where do you write FLY_REMOTE_BUILDER_REGION=iad?
Writing it directly in the shell command before fly deploy says that’s it is not a recognized operation