25 days ago
My reader service repeatedly fails during the image build stage. Redeploying the same commit produces the same error.
Error:
Build Failed: build daemon returned an error < listing workers for Build: failed to list workers: Unavailable: connection error: desc = "error reading server preface: raw-read unix @->/run/buildkit/buildkitd.sock: use of closed network connection" >
The logs show that Railway fetches and unpacks the source snapshot, then Railpack generates the build plan. The failure occurs afterward, with no dependency installation or application build output.
Railway’s diagnosis labels this an “Infrastructure Error” and states that the builder lost its connection to the build daemon before any build steps ran.
Environment:
- Railpack: 0.43.0
- Node.js selected by Railway: 22.23.3
- Package manager: npm
- Build command: npm ci --prefix apps/reader-hosted --include=dev && node apps/reader-hosted/build.mjs
- Start command: node apps/reader-hosted/server.mjs
- Example failure: October 26, 2026, at 22:05:22 (UTC+8)
Checks performed:
- Both the current and previous commits install dependencies and build successfully in clean local directories.
- The latest commit changes frontend UI code and tests only; dependencies, lockfiles, build configuration, and startup commands are unchanged.
- Local startup and health checks pass.
Could you investigate the BuildKit daemon connection failure and advise how to unblock deployments? I can provide the deployment ID and full build logs if needed.
2 Replies
25 days ago
Same here
Status changed to Awaiting Railway Response Railway • 25 days ago
25 days ago
Your redeploy at 14:14 UTC built and deployed successfully, so the reader service is unblocked. The three builds between 13:53 and 14:05 UTC failed inside the build service right after the build plan was generated, before dependency installation ran. Nothing in your commit, lockfiles or build command caused it, and no change is needed on your side.
Status changed to Awaiting User Response Railway • 25 days ago
18 days ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 18 days ago