← Back to LearnTroubleshooting guide

Bazel remote cache UNAVAILABLE

Reviewed Jul 20, 20263 primary sources

A remote-cache RPC failed because the service was unavailable. gRPC defines UNAVAILABLE as most likely transient, but the code alone does not distinguish transport failure, overload, shutdown, or another service-health problem.

Common causes

  • DNS, routing, firewall, or proxy interruption
  • TLS trust, certificate, or hostname mismatch
  • Cache service or backing storage overload
  • Load balancer health checks or connection limits

What to check

  1. Test endpoint resolution and TLS from the same runner
  2. Correlate errors with cache latency, request rate, and storage health
  3. Inspect proxy and load-balancer resets
  4. Verify whether failures affect reads, writes, or both

Primary sources

Use these references to confirm protocol and version-specific behavior.

Investigate with build-level evidence

Hermetiq correlates Bazel actions, cache behavior, Buildbarn infrastructure, and remote-execution timing so teams can move from a status code to the build and system behavior behind it.

Technical review: July 20, 2026 · Verify flags and behavior against the Bazel and Buildbarn versions deployed in your environment.