Troubleshooting
no BuildKit endpoint provided and BUILDKIT_HOST not set
ch doesn't know where BuildKit runs. Either start a local daemon and export the address:
or set BUILDKIT_HOST, or buildkit.address in hive.yml.
failed to connect to BuildKit at ...
buildkit.addressinhive.ymloverrides$BUILDKIT_HOST. Remove it if you want the environment variable to win.- Check the daemon is reachable with
ch wait --buildkitd --timeout 30s.waitreads only$BUILDKIT_HOSTand ignoresbuildkit.address, so if you configure the address inhive.yml, export it first:BUILDKIT_HOST=<your buildkit.address> ch wait --buildkitd. ch dev buildkitd statusandch dev buildkitd logsshow the state of the local daemon.
dist/ not found — run 'ch generate' first
build, test and sbom work on the output of ch generate. Run it first, or pass --generate.
An image is built before its parent / a parent isn't found
Check the FROM __hive__/<image>:<tag> reference names the parent's directory and one of its tags, or declare the relationship with depends_on. See How dependency resolution works.
The build fails with a BuildKit connection error
Transient connection failures (broken pipe, connection reset by peer, Unavailable, worker listing timeouts) are retried up to three times on a fresh connection. Each retry waits 2, 5, then 10 seconds. Genuine build failures are never retried. If all retries fail, check that the BuildKit daemon is alive; for a remote daemon, check the network path and the proxy or load balancer timeouts. See BuildKit setup.
More logs
Run with --log-level debug (or LOG_LEVEL=debug). Still stuck? Open an issue at the issue tracker.