TROUBLESHOOTING
Troubleshooting
Common issues and solutions for HELM.
Auth Errors
HELM_UNREACHABLE in adapters
The adapter cannot reach the HELM server.
# Check HELM is running
curl http://localhost:8080/healthz
# Check the URL in your adapter config
export HELM_URL=http://localhost:8080
401 Unauthorized from proxy
# Set your upstream API key
helm proxy --upstream https://api.openai.com/v1 --api-key $OPENAI_API_KEY
# Or via environment
export OPENAI_API_KEY=sk-...
helm proxy --upstream https://api.openai.com/v1
Egress / Network
Sandbox exec fails with "PREFLIGHT_DENIED"
The sandbox provider's egress policy is too restrictive or the provider is not configured.
# Check preflight details
helm sandbox exec --provider e2b --json -- echo test | jq .preflight
# Ensure provider credentials
export E2B_API_KEY=your-key
MCP server unreachable over HTTP/SSE
# Start with explicit transport
helm mcp serve --transport http --port 9100
# Check firewall allows the port
curl http://localhost:9100/mcp
Timeouts
Proxy request timeout
# Increase wallclock limit (default: 120s)
helm proxy --upstream https://api.openai.com/v1 --max-wallclock 300s
Sandbox execution timeout
# Increase timeout (default: 30s)
helm sandbox exec --provider opensandbox --timeout 60s -- long-running-command
Conformance Failures
G0_JCS_CANONICALIZATION fails
JCS canonicalization requires valid JSON. Check your tool arguments:
echo '{"b":2,"a":1}' | jq -S . # sorted keys
G1_PROOFGRAPH fails
ProofGraph requires at least one receipt in the evidence directory:
ls data/evidence/ # Should contain .json receipt files
G2A_EVIDENCE_PACK fails
EvidencePack requires deterministic tar with epoch mtime:
# Export with HELM (ensures determinism)
helm export --evidence ./data/evidence --out evidence.tar
# Verify
helm verify --bundle evidence.tar
Common Errors
| Error | Cause | Fix |
|---|---|---|
ERR_TOOL_NOT_FOUND |
Unknown tool URN | Register tool in policy manifest |
ERR_SCHEMA_MISMATCH |
Args don't match schema | Check tool argument types |
PROXY_ITERATION_LIMIT |
Too many tool call rounds | Increase --max-iterations |
PROXY_WALLCLOCK_LIMIT |
Session too long | Increase --max-wallclock |
HELM_UNREACHABLE |
Server down or wrong URL | Check helm health |
APPROVAL_REQUIRED |
Human approval needed | Complete approval ceremony |