failed to fetch an image or build from source: error connecting to docker

fly deploy              
==> Verifying app config
Validating /Users/wildix/Other/oneauth/fly.toml
Platform: machines
✓ Configuration is valid
--> Verified app config
==> Building image
WARN Failed to start remote builder heartbeat: You hit a Fly API error with request ID: 01H27WTN07SR48XN6FVF8DZZTT-waw
Error: failed to fetch an image or build from source: error connecting to docker: You hit a Fly API error with request ID: 01H27WTNRDHD6GN3KBA7C7JJMM-waw

I can’t create new app and can’t update my old apps.

2 Likes

Having same issue today when deploying my app.

Seems like an api call if failing. When you see this again please try running LOG_LEVEL=debug fly deploy and share the output, at least the last few requests that get logged. Thx!

I received a similar error today that prevented me from deploying:

Error: failed to fetch an image or build from source: error connecting to docker: failed building options: failed probing "personal": read tcp [fdaa:0:424a:a7b:ce2:0:a:0]:50724->[fdaa:0:424a::3]:53: i/o timeout

It looked like it was happening because my free builder machine was stuck in a “suspended” state. It seemed to correct itself after some time.