I’m experiencing build errors and extremely slow context build.
==> Building image with Docker
--> docker host: 20.10.12 linux x86_64
[+] Building 569.8s (5/10)
=> [internal] load build definition from Dockerfile 0.2s
=> => transferring dockerfile: 32B 0.2s
=> [internal] load .dockerignore 0.2s
=> => transferring context: 2B 0.2s
=> [internal] load metadata for docker.io/library/node:18-alpine3.15 0.5s
=> [1/6] FROM docker.io/library/node:18-alpine3.15@sha256:cd3a7004267e419477bbfc50e0502df8607a0b9b4465092f6e2c2ce4092faa45 0.0s
=> ERROR [internal] load build context 566.2s
=> => transferring context: 38.48MB 566.2s
------
> [internal] load build context:
------
Error: failed to fetch an image or build from source: error building: failed to solve: rpc error: code = Canceled desc = grpc: the client connection is closing
Seems to be the same issue I experienced back in December:
https://community.fly.io/t/extremely-slow-docker-builds/17183/8
Edit:
I’ve deleted the builder but nothing has changed.
The context seems to be transferring at like 30-50 kBps.
It’s not my connection… Just did a speed test and got 150Mbps upload.
Edit:
Getting other errors now
Error: failed to fetch an image or build from source: error building: failed to receive status: rpc error: code = Unknown desc = no such job ydhv7frvv6vnwcmbqkl18flt4
And
WARN Failed to start remote builder heartbeat: failed building options: failed probing “personal”: read tcp [fdaa:0:24d2:a7b:8eb7:0:a:400]:26411->[fdaa:0:24d2::3]:53: i/o timeout