Caricamento in corso...
Caricamento in corso...
Last synced: Today, 22:00
Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.
Use this file to discover all available pages before exploring further.
This page is the deep runbook. Start at /help/troubleshooting if you want the fast triage flow first.
Run these first, in this order:
bashopenclaw status openclaw gateway status openclaw logs --follow openclaw doctor openclaw channels status --probe
Expected healthy signals:
openclaw gateway statusRuntime: runningConnectivity probe: okCapability: ...openclaw doctoropenclaw channels status --probeworksaudit okUse this when a gateway service unexpectedly stops after an update, or logs show that one
openclawopenclaw.jsonOpenClaw stamps config writes with
meta.lastTouchedVersiongateway --forcebashwhich openclaw openclaw --version openclaw gateway status --deep openclaw config get meta.lastTouchedVersion
text```bash} openclaw gateway install --force openclaw gateway restart ```
Use this when logs/errors include:
HTTP 429: rate_limit_error: Extra usage is required for long context requestsbashopenclaw logs --follow openclaw models status openclaw config get agents.defaults.models
Look for:
params.context1m: trueFix options:
Related:
Use this when:
curl ... /v1/models/v1/chat/completionsbashcurl http://127.0.0.1:1234/v1/models curl http://127.0.0.1:1234/v1/chat/completions \ -H 'content-type: application/json' \ -d '{"model":"<id>","messages":[{"role":"user","content":"hi"}],"stream":false}' openclaw infer model run --model <provider/model> --prompt "hi" --json openclaw logs --follow
Look for:
model_not_found/v1/chat/completionsmessages[].contentincomplete turn detected ... stopReason=stop payloads=0Related:
If channels are up but nothing answers, check routing and policy before reconnecting anything.
bashopenclaw status openclaw channels status --probe openclaw pairing list --channel <channel> [--account <id>] openclaw config get channels openclaw logs --follow
Look for:
requireMentionmentionPatternsCommon signatures:
drop guild message (mention requiredpairing requestblockedallowlistRelated:
When dashboard/control UI will not connect, validate URL, auth mode, and secure context assumptions.
bashopenclaw gateway status openclaw status openclaw logs --follow openclaw doctor openclaw gateway status --json
Look for:
Use
error.details.codeconnect| Detail code | Meaning | Recommended action |
|---|---|---|
text AUTH_TOKEN_MISSING | Client did not send a required shared token. | Paste/set token in the client and retry. For dashboard paths: text openclaw config get gateway.auth.token |
text AUTH_TOKEN_MISMATCH | Shared token did not match gateway auth token. | If text canRetryWithDeviceToken=truetext deviceTokentext scopes |
text AUTH_DEVICE_TOKEN_MISMATCH | Cached per-device token is stale or revoked. | Rotate/re-approve device token using devices CLI, then reconnect. |
text PAIRING_REQUIRED | Device identity needs approval. Check text error.details.reasontext not-pairedtext scope-upgradetext role-upgradetext metadata-upgradetext requestIdtext remediationHint | Approve pending request: text openclaw devices listtext openclaw devices approve <requestId> |
Device auth v2 migration check:
bashopenclaw --version openclaw doctor openclaw gateway status
If logs show nonce/signature errors, update the connecting client and verify it:
If
openclaw devices rotaterevokeremoveoperator.adminopenclaw devices rotate --scope ...Related:
Use this when service is installed but process does not stay up.
bashopenclaw gateway status openclaw status openclaw logs --follow openclaw doctor openclaw gateway status --deep # also scan system-level services
Look for:
Runtime: stoppedConfig (cli)Config (service)--deepOther gateway-like services detected (best effort)Related:
Use this when the Gateway starts, but logs say it restored
openclaw.jsonbashopenclaw logs --follow openclaw config file openclaw config validate openclaw doctor
Look for:
Config auto-restored from last-known-goodgateway: invalid config was restored from last-known-good backupconfig reload restored last-known-good config after invalid-configopenclaw.json.clobbered.*Config recovery warningRelated:
Use this when
openclaw gateway probebashopenclaw gateway probe openclaw gateway probe --json openclaw gateway probe --ssh user@gateway-host
Look for:
warnings[].codeprimaryTargetIdCommon signatures:
SSH tunnel failed to start; falling back to direct probes.multiple reachable gateways detectedRead-probe diagnostics are limited by gateway scopes (missing operator.read)operator.readGateway accepted the WebSocket connection, but follow-up read diagnostics failedconnect.okconnect.rpcOk--jsonCapability: pairing-pendinggateway closed (1008): pairing requiredgateway.auth.*gateway.remote.*Related:
If channel state is connected but message flow is dead, focus on policy, permissions, and channel specific delivery rules.
bashopenclaw channels status --probe openclaw pairing list --channel <channel> [--account <id>] openclaw status --deep openclaw logs --follow openclaw config get channels
Look for:
pairingallowlistopendisabledCommon signatures:
mention requiredpairingmissing_scopenot_in_channelForbidden401/403Related:
If cron or heartbeat did not run or did not deliver, verify scheduler state first, then delivery target.
bashopenclaw cron status openclaw cron list openclaw cron runs --id <jobId> --limit 20 openclaw system heartbeat last openclaw logs --follow
Look for:
okskippederrorquiet-hoursrequests-in-flightcron-in-progresslanes-busyalerts-disabledempty-heartbeat-fileno-tasks-dueRelated:
If a node is paired but tools fail, isolate foreground, permission, and approval state.
bashopenclaw nodes status openclaw nodes describe --node <idOrNameOrIp> openclaw approvals get --node <idOrNameOrIp> openclaw logs --follow openclaw status
Look for:
Common signatures:
NODE_BACKGROUND_UNAVAILABLE*_PERMISSION_REQUIREDLOCATION_PERMISSION_REQUIREDSYSTEM_RUN_DENIED: approval requiredSYSTEM_RUN_DENIED: allowlist missRelated:
Use this when browser tool actions fail even though the gateway itself is healthy.
bashopenclaw browser status openclaw browser start --browser-profile openclaw openclaw browser profiles openclaw logs --follow openclaw doctor
Look for:
plugins.allowbrowserexisting-sessionuserRelated:
Most post-upgrade breakage is config drift or stricter defaults now being enforced.
If the service config and runtime still disagree after checks, reinstall service metadata from the same profile/state directory:
bashopenclaw gateway install --force openclaw gateway restart
Related:
© 2024 TaskFlow Mirror
Powered by TaskFlow Sync Engine