JuliusBrussee/caveman · error

binary download unreachable — agents still launch; traffic…

Error message

binary download unreachable — agents still launch; traffic is NOT compressed or metered
fix: caveman setup --install

What it means

Install abort in setupInstallFailure: the release host was unreachable (network error rather than a stall), so no binary was downloaded. Agents still launch, but traffic is not compressed or metered until installation completes.

Solutions

  1. Verify DNS/network access to the binary release host
  2. Check CAVE_BINARY_RELEASE_BASE if overridden — the mirror may be wrong or down
  3. Re-run caveman setup --install once connectivity is restored
Defensive patterns

Strategy: retry

When it happens

Trigger: Thrown at packages/cli/src/index.ts:2344 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of JuliusBrussee/caveman@5184b3d11a (2026-08-18). Data as JSON: /api/errors/ae5a56d1756bdfa8. Report an issue: GitHub.

Appendix: source

Thrown at packages/cli/src/index.ts:2376

  else console.error(line);
}

function installProgressComplete(
  name: string,
  platform: { os: string; arch: string },
  bytes: number,
) {
  const line = `${name}  ${platform.os}/${platform.arch}  ${(bytes / 1_000_000).toFixed(1)} MB  checksum verified`;
  if (interactive()) process.stderr.write(`\r${line}\n`);
  else console.error(line);
}

function setupInstallFailure(error: unknown, timeoutSeconds: number): never {
  if (interactive()) process.stderr.write("\n");
  if (error instanceof BinaryDownloadError && error.kind === "stalled") {
    throw new Error(`${OFF_STATES.downloadStalled(timeoutSeconds).line}\nfix: ${OFF_STATES.downloadStalled(timeoutSeconds).fix}`);
  }
  throw new Error(`${OFF_STATES.downloadUnreachable.line}\nfix: ${OFF_STATES.downloadUnreachable.fix}`);
}

function printInstallResult(
  installed: InstalledBinary[],
  platform: { os: string; arch: string },
  binDir: string,
  json: boolean,
  continuing = false,
) {
  if (json) {
    print({
      release: BINARY_RELEASE,
      platform: `${platform.os}/${platform.arch}`,
      target: binDir,
      binaries: installed,
      next: "caveman claude",
    });
    return;

View on GitHub (pinned to 5184b3d11a)