I’ve seen bunch of posts about this from the past but nothing has resolved the issue for me. This is my first time using fly.io. fly deploy is repeatedly failing with:
-------
✖ Machine 3d8d7419b41128 [app] update failed: failed to update VM 3d8d7419b41128: request returned non-2xx status, 504
-------
Checking DNS configuration for kpbj-fm.fly.dev
Error: failed to update VM 3d8d7419b41128: request returned non-2xx status, 504 (Request ID: 01HVFXGF8SDS1DTCP070NG489A-lax)
I’ve tried deleting the machine and switching regions to no effect. In fact, the error message above references lax but this message was from AFTER switching to sjc, which seems very suspicious.
Have you tried deleting your fly builder? ran in to this non stop and this always fixed things. I just use BuildJet to build my images and deploy them to fly in my GitHub Actions workflows now without any issues
Hi @solomon—by chance do you know what the ENTRYPOINT of your image is? Based on our internal logs, it seems like the image unpack is failing and retrying because the ENTRYPOINT is one string instead of an array of strings. I’m not very familiar with this, but a quick web search makes it sound like Docker accepts a single string ENTRYPOINT but other tools don’t. (FWIW, we use containerd to pull and unpack images.)
In any case, it’s definitely a frustrating UX that this fails silently, so thank you for bringing this to our attention!
Sorry for the delayed response! We just deployed a change so that image configuration errors like this will cause deployment to fail, and you’ll see an error message in fly logs rather than an image pull crash-loop. Hopefully this will make it clear what’s happening in the future.