CALIBER
Quickstart
Operate CALIBER

Operator troubleshooting

The first-pass diagnosis path for degraded CALIBER deployments before a failure escalates into full runbook recovery.

OperatorDeveloperHow ToGA
PrerequisitesA CALIBER failure or degraded runtime question
Reviewed 2026-10-23 · current main branch docs contract

Use this page for first-pass diagnosis. If the failure is already severe or indeterminate, jump straight to the Operations runbook.

At a glance

SymptomFirst thing to checkEscalate to
UI loads but product behavior is degradedreadiness, dependency postureHealth and readiness
Workflow runs are not drainingevent backend and worker stateOperations runbook
/readiness is 503 and the blocker names schemathe database was never migrated or is behind this releaserun caliber-migrate with the same CALIBER_DATABASE_URL (Health and readiness)
/readiness is 503 on workflow_queue after a worker was killed or restartedno worker is reporting (a stale row beside a live worker does not block)start the worker; its predecessor's row is removed after about five minutes (Health and readiness)
File upload or extraction failsobject-store and workflow-storage configStorage and state
Local stack will not boot cleanlyport and dependency configurationConfiguration and provider setup
Auth works in the browser but not automationtoken, project scope, or CSRF modelDeveloper troubleshooting
Gateway page reports the LLM gateway unreachablewhether the gateway container is actually servingGateways
A page (Aria, Plans, MCP Servers, OpenAPI Integrations, Cookbooks, release-candidate signoff) is missing, or a call answers 404 with reason_code: feature_disabledthe area's feature flag is off (the default for everything except Aria, which ships on): GET /capabilities shows it under features, and detail names the variableset CALIBER_FEATURE_INTEGRATIONS, CALIBER_FEATURE_COOKBOOKS or CALIBER_FEATURE_RELEASE_CANDIDATES to true and restart (a missing Aria means CALIBER_FEATURE_ARIA was set to false) (Feature flags)

1. Start with the smallest reliable signal

Before changing configuration, confirm:

  • whether the process is alive
  • whether readiness is degraded
  • which dependency boundary is failing

That avoids masking the real issue with unrelated restarts.

2. Known local bring-up issues

The local launcher already guards one common failure mode: host-port collisions around MLFLOW_PORT, CALIBER_PORT, and MLFLOW_GATEWAY_PORT.

If the stack still fails to start cleanly, check:

  • port ownership
  • deploy/.env and .env
  • provider and storage settings

scripts/verify-compose-stack.sh builds and boots the documented stack from the example environment and prints container logs on failure; it is a quick way to tell a local configuration problem from a repository one.

3. The gateway reports unreachable

An unreachable LLM gateway is more often a startup failure than a network one. The MLflow AI Gateway validates every endpoint before it serves any of them, so one unresolved $VAR placeholder can stop the whole server.

Check, in this order:

  • Is the container up? A gateway that exits and restarts leaves its port unbound, which CALIBER can only observe as unreachable.
  • What did it log at startup? The bundled image drops endpoints whose provider keys are unset and names each one it skipped. That is expected behavior, not a fault.
  • Did it exit non-zero? With no endpoint configured at all the container exits and names the keys it looked for. Compose then restarts it in a loop, so a fresh clone with no OPENAI_API_KEY or ANTHROPIC_API_KEY shows the gateway as unreachable. Set one of those keys in the suite-root .env and restart.

A discovered inventory smaller than deploy/mlflow-gateway/gateway.yaml means a provider key is missing, not that the gateway is broken. See Gateways for the full behavior.

4. When to leave troubleshooting and use the runbook

If the failure affects release safety, queue settlement, rollback semantics, or indeterminate external effects, use the runbook immediately.

CALIBER : Contextual Adaptive Lifecycle for Intelligent Build, Evaluation, and Refinement — this page is generated from the authoritative Markdown sources in docs/ and the repository-level ARCHITECTURE.md.