Skip to content

Troubleshooting

This section helps you find and fix problems with a running EdgeQuake. Run the first checks below, then open the matching section of the troubleshooting guide. Each check takes a few seconds and tells you which area to look at.

Product release: v0.32.2 (see VERSION). edgequake doctor and the provider test endpoint are in the source tree but not yet in a released changelog entry, so this guide marks them v0.33.0.

Terminal window
edgequake doctor # v0.33.0 and later
curl -s http://localhost:8080/health | jq
curl -s -o /dev/null -w '%{http_code}\n' http://localhost:8080/ready
Result Meaning Go to
The server exits at boot A required setting is missing or unsafe Server will not start
/health says degraded A provider or store is down LLM and provider errors
/ready returns 503 A migration is pending, or the queue is under pressure Server will not start
Uploads fail Wrong route or body Upload errors
Documents stay Processing Queue, lease or model problem Processing
401, 403, 423 or 429 Credentials, role or limits Sign-in and access
%%{init: {"theme":"base","themeVariables":{"primaryColor":"#E0E7FF","primaryBorderColor":"#6366F1","primaryTextColor":"#1E1B4B","secondaryColor":"#D1FAE5","secondaryBorderColor":"#10B981","secondaryTextColor":"#064E3B","tertiaryColor":"#FEF3C7","tertiaryBorderColor":"#F59E0B","tertiaryTextColor":"#6B7A90","lineColor":"#7A889C","clusterBkg":"rgba(99,102,241,0.07)","clusterBorder":"#A5B4FC","noteBkgColor":"#FEF9C3","noteTextColor":"#422006","textColor":"#6B7A90","titleColor":"#6B7A90","signalColor":"#7A889C","signalTextColor":"#6B7A90","loopTextColor":"#6B7A90","edgeLabelBackground":"#F1F5F9","actorLineColor":"#94A3B8"}}}%%
%% eq-theme:v1
flowchart TD
  A["What is wrong?"] --> B{"Does the server start?"}
  B -->|No| C["Boot errors and exit codes"]
  B -->|Yes| D{"What fails?"}
  D -->|Upload| E["Upload and PDF"]
  D -->|Stuck| F["Queue and leases"]
  D -->|Model| G["Provider and timeouts"]
  D -->|Answer| H["Empty query results"]
%% eq-classes
classDef eqBad fill:#FEE2E2,stroke:#EF4444,color:#7F1D1D
classDef eqStore fill:#D1FAE5,stroke:#10B981,color:#064E3B
class C,D,G eqBad
class F eqStore

Follow the branch that matches what you see. Each leaf names a topic in the guide.

Topic Where
Cancel is not Failed (display_status, Stopping) Ingestion cancel and fairness
Interrupted, then Reprocess, after a restart or lease expiry Guide 3.1
Lease stuck in Processing Guide 3.2
Boot fails with EDGEQUAKE_REPLICAS above 1 Guide 3.4
Queue pressure and store contention Observability
Documents page shows Read path busy Guide 10
Provider Connection and Test failures Guide 5.2 and 5.3