Error failed to fetch an image or build from source: error rendering push status stream: EOF

Is the Docker registry currently giving problems? I’ve had issues deploying from around two hours ago:

First I got the following:

 => => exporting layers                                                                                                                                                                                0.0s
 => => writing image sha256:741b8e823415587cd13c4fbf4f79913552ce55da4b211ca8ddf3757a9833fa2e                                                                                                           0.0s
 => => naming to registry.fly.io/igc:deployment-01GQGSNBWNCVKR9QG5JGZMWH6J                                                                                                                             0.0s
--> Building image done
==> Pushing image to fly
The push refers to repository [registry.fly.io/igc]
93201fa7c74e: Layer already exists
7ba47360dcb3: Layer already exists
d408498b1080: Layer already exists
84a7a998a628: Layer already exists
115f617f2a52: Layer already exists
8acc755903da: Layer already exists
4fffc6f589b2: Layer already exists
29df5dbd1dba: Pushing [==================================================>]  517.2MB
29df5dbd1dba: Pushing [==================================================>]  517.2MB
e33bb45a6387: Layer already exists
e9ba2940f15e: Layer already exists
5f70bf18a086: Layer already exists
d45969274e30: Layer already exists
a1fc54409f4f: Layer already exists
67a4178b7d47: Layer already exists

Error failed to fetch an image or build from source: error rendering push status stream: received unexpected HTTP status: 502 Bad Gateway

Then it changed to:

 => exporting to image                                                                                                                                                                                 0.0s
 => => exporting layers                                                                                                                                                                                0.0s
 => => writing image sha256:6df14bd19c33779744fbc31b5e1976a46d91b12423bc2858bf5ee672c0c3dff5                                                                                                           0.0s
 => => naming to registry.fly.io/igc:deployment-01GQGZNQ7R1CF50J6EX7TQV8R8                                                                                                                             0.0s
--> Building image done
==> Pushing image to fly
The push refers to repository [registry.fly.io/igc]
dc24996a849b: Layer already exists
5c6aad85fef0: Layer already exists
1d0afb040c5e: Layer already exists
9f8fff63d81b: Pushing [==================================================>]    168MB
059f753b44d9: Layer already exists
4a4f95642027: Layer already exists
12c56e92a811: Layer already exists
79d137743a61: Pushing [==================================================>]  517.2MB
af639775e6aa: Pushing [==================================================>]  141.8MB
77a711e74fcd: Layer already exists
b19c49d06e4e: Layer already exists
5f70bf18a086: Layer already exists
30c6a4a242e8: Layer already exists
a1fc54409f4f: Layer already exists
67a4178b7d47: Layer already exists
Error failed to fetch an image or build from source: error rendering push status stream: EOF

I’ve been keeping an eye on https://status.flyio.net/ but there’s no metrics for the Registry (from which this error seems to be coming?)

EDIT:

I’ve tried the following to remedy this:

  • Destroyed the builder machine
  • Deploy with --no-cache
  • --local-only which didn’t work because I’m on an M1 and one of the packages are causing QEMU to segfault.

EDIT 2:
Now receiving error:

--> Building image done
==> Pushing image to fly
The push refers to repository [registry.fly.io/igc]
bc380a192fde: Layer already exists
3a0b4ce84892: Layer already exists
71602499f533: Layer already exists
4bfe473d8033: Layer already exists
3766d6640d70: Layer already exists
4d06568f582e: Layer already exists
2cd80361d0dd: Layer already exists
c156411af27f: Pushing [==================================================>]    514MB
f160f94d3cac: Pushing [==================================================>]  141.8MB
8c9132118576: Layer already exists
793904db9459: Layer already exists
5f70bf18a086: Layer already exists
c2df47dab46e: Layer already exists
a1fc54409f4f: Layer already exists
67a4178b7d47: Layer already exists
Error failed to fetch an image or build from source: error rendering push status stream: write tcp [2605:4c40:33:84a3:0:e3e4:69e:1]:60282->[2a09:8280:1:f132:9b03:c39f:b404:f5d2]:443: write: broken pipe

This seems to have been fixed. All good now.

This happens to me on 7/10 deployments with Fly and has done ever since I started using it back in November. When it works its great, but it mostly doesn’t.