Skip to content
Frontend service hangs on deploy (build steps)
bbsaab
OP

10 months ago

Looks like the build is hanging on requests from Docker Hub. Eventually whole process times out with this error:

Build Failed: build daemon returned an error < failed to run Build function: Canceled: context canceled >

Solved

6 Replies

ccioloss

10 months ago

seeing the same problem


ccioloss

10 months ago

hanging on "resolve image config for docker-image://docker.io/docker/dockerfile:1"


bbsaab
OP

10 months ago

Yes, similar issue... this is the specific build step I'm hanging on for Docker Hub: load metadata for docker.io/library/node:22-bookworm-slim


10 months ago

Hmm,

Are any of y'all able to consistently reproduce this? Would love to look into getting live logs on whats stuck


Status changed to Awaiting User Response Railway • 11 months ago


bbsaab
OP

10 months ago

Latest deploy effort did build successfully.

However, prior to that I had several timeouts during frontend service build specifically at the docker hub call. Here's the plain text log:

2026-01-05T20:51:52.120693749Z [inf] scheduling build on Metal builder "builder-libyha" 2026-01-05T20:52:02.295827291Z [inf] fetching snapshot 2026-01-05T20:52:02.295862584Z [inf] fetched snapshot sha256:493f1a767a74843b8b95f76dfaf1f255d617339247b29217e5663f4bce475a22 (938 kB bytes) 2026-01-05T20:52:02.522180861Z [inf] unpacking archive 2026-01-05T20:52:03.050701890Z [inf] [internal] load build definition from frontend/Dockerfile 2026-01-05T20:52:03.050704714Z [inf] [internal] load build definition from frontend/Dockerfile 2026-01-05T20:52:03.050711174Z [inf] [internal] load build definition from frontend/Dockerfile 2026-01-05T20:52:03.050810153Z [inf] [internal] load build definition from frontend/Dockerfile 2026-01-05T20:52:03.235887341Z [inf] [internal] load build definition from frontend/Dockerfile 2026-01-05T20:52:03.256387269Z [inf] [internal] load metadata for docker.io/library/node:22-bookworm-slim 2026-01-05T21:12:06.014662266Z [err] Build Failed: build daemon returned an error < failed to run Build function: Canceled: context canceled >


Status changed to Awaiting Railway Response Railway • 11 months ago


10 months ago

Ah unfortunately that looks like an issue we're actively working on with metal builder.

Have a project ongoing that should resolve and speed up multiple parts of the "push code" -> "get it live" flow.

For now, as a short term fix you can simply disable "use metal builder".

Sorry you ran into this!


Status changed to Awaiting User Response Railway • 11 months ago


Status changed to Solved bbsaab • 11 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...