General Troubleshooting
Troubleshooting
Section titled “Troubleshooting”If you only have 2 minutes, use this page as a triage front door.
First 60 seconds
Section titled “First 60 seconds”Run this exact ladder in order:
openclaw statusopenclaw status --allopenclaw gateway probeopenclaw gateway statusopenclaw doctoropenclaw channels status --probeopenclaw logs --followGood output in one line:
openclaw status→ shows configured channels and no obvious auth errors.openclaw status --all→ full report is present and shareable.openclaw gateway probe→ expected gateway target is reachable (Reachable: yes).RPC: limited - missing scope: operator.readis degraded diagnostics, not a connect failure.openclaw gateway status→Runtime: runningandRPC probe: ok.openclaw doctor→ no blocking config/service errors.openclaw channels status --probe→ channels reportconnectedorready.openclaw logs --follow→ steady activity, no repeating fatal errors.
Anthropic long context 429
Section titled “Anthropic long context 429”If you see:
HTTP 429: rate_limit_error: Extra usage is required for long context requests,
go to /gateway/troubleshooting#anthropic-429-extra-usage-required-for-long-context.
Plugin install fails with missing openclaw extensions
Section titled “Plugin install fails with missing openclaw extensions”If install fails with package.json missing openclaw.extensions, the plugin package
is using an old shape that OpenClaw no longer accepts.
Fix in the plugin package:
- Add
openclaw.extensionstopackage.json. - Point entries at built runtime files (usually
./dist/index.js). - Republish the plugin and run
openclaw plugins install <package>again.
Example:
{ "name": "@openclaw/my-plugin", "version": "1.2.3", "openclaw": { "extensions": ["./dist/index.js"] }}Reference: Plugin architecture
Decision tree
Section titled “Decision tree”flowchart TD A[OpenClaw is not working] --> B{What breaks first} B --> C[No replies] B --> D[Dashboard or Control UI will not connect] B --> E[Gateway will not start or service not running] B --> F[Channel connects but messages do not flow] B --> G[Cron or heartbeat did not fire or did not deliver] B --> H[Node is paired but camera canvas screen exec fails] B --> I[Browser tool fails]
C --> C1[/No replies section/] D --> D1[/Control UI section/] E --> E1[/Gateway section/] F --> F1[/Channel flow section/] G --> G1[/Automation section/] H --> H1[/Node tools section/] I --> I1[/Browser section/]No replies
openclaw statusopenclaw gateway statusopenclaw channels status --probeopenclaw pairing list --channel[—account
] openclaw logs —follow ```
Good output looks like:
- `Runtime: running`- `RPC probe: ok`- Your channel shows connected/ready in `channels status --probe`- Sender appears approved (or DM policy is open/allowlist)
Common log signatures:
- `drop guild message (mention required` → mention gating blocked the message in Discord.- `pairing request` → sender is unapproved and waiting for DM pairing approval.- `blocked` / `allowlist` in channel logs → sender, room, or group is filtered.
Deep pages:
- [/gateway/troubleshooting#no-replies](/en/gateway/troubleshooting#no-replies)- [/channels/troubleshooting](/en/channels/troubleshooting)- [/channels/pairing](/en/channels/pairing)Dashboard or Control UI will not connect
openclaw statusopenclaw gateway statusopenclaw logs --followopenclaw doctoropenclaw channels status --probeGood output looks like:
Dashboard: http://...is shown inopenclaw gateway statusRPC probe: ok- No auth loop in logs
Common log signatures:
device identity required→ HTTP/non-secure context cannot complete device auth.AUTH_TOKEN_MISMATCHwith retry hints (canRetryWithDeviceToken=true) → one trusted device-token retry may occur automatically.- repeated
unauthorizedafter that retry → wrong token/password, auth mode mismatch, or stale paired device token. gateway connect failed:→ UI is targeting the wrong URL/port or unreachable gateway.
Deep pages:
Gateway will not start or service installed but not running
openclaw statusopenclaw gateway statusopenclaw logs --followopenclaw doctoropenclaw channels status --probeGood output looks like:
Service: ... (loaded)Runtime: runningRPC probe: ok
Common log signatures:
Gateway start blocked: set gateway.mode=local→ gateway mode is unset/remote.refusing to bind gateway ... without auth→ non-loopback bind without token/password.another gateway instance is already listeningorEADDRINUSE→ port already taken.
Deep pages:
Channel connects but messages do not flow
openclaw statusopenclaw gateway statusopenclaw logs --followopenclaw doctoropenclaw channels status --probeGood output looks like:
- Channel transport is connected.
- Pairing/allowlist checks pass.
- Mentions are detected where required.
Common log signatures:
mention required→ group mention gating blocked processing.pairing/pending→ DM sender is not approved yet.not_in_channel,missing_scope,Forbidden,401/403→ channel permission token issue.
Deep pages:
Cron or heartbeat did not fire or did not deliver
openclaw statusopenclaw gateway statusopenclaw cron statusopenclaw cron listopenclaw cron runs --id—limit 20 openclaw logs —follow
Good output looks like:
- `cron.status` shows enabled with a next wake.- `cron runs` shows recent `ok` entries.- Heartbeat is enabled and not outside active hours.
Common log signatures:
- `cron: scheduler disabled; jobs will not run automatically` → cron is disabled.- `heartbeat skipped` with `reason=quiet-hours` → outside configured active hours.- `requests-in-flight` → main lane busy; heartbeat wake was deferred.- `unknown accountId` → heartbeat delivery target account does not exist.
Deep pages:
- [/gateway/troubleshooting#cron-and-heartbeat-delivery](/en/gateway/troubleshooting#cron-and-heartbeat-delivery)- [/automation/cron-jobs#troubleshooting](/en/automation/cron-jobs#troubleshooting)- [/gateway/heartbeat](/en/gateway/heartbeat)Node is paired but tool fails camera canvas screen exec
openclaw statusopenclaw gateway statusopenclaw nodes statusopenclaw nodes describe --nodeopenclaw logs —follow
Good output looks like:
- Node is listed as connected and paired for role `node`.- Capability exists for the command you are invoking.- Permission state is granted for the tool.
Common log signatures:
- `NODE_BACKGROUND_UNAVAILABLE` → bring node app to foreground.- `*_PERMISSION_REQUIRED` → OS permission was denied/missing.- `SYSTEM_RUN_DENIED: approval required` → exec approval is pending.- `SYSTEM_RUN_DENIED: allowlist miss` → command not on exec allowlist.
Deep pages:
- [/gateway/troubleshooting#node-paired-tool-fails](/en/gateway/troubleshooting#node-paired-tool-fails)- [/nodes/troubleshooting](/en/nodes/troubleshooting)- [/tools/exec-approvals](/en/tools/exec-approvals)Exec suddenly asks for approval
openclaw config get tools.exec.hostopenclaw config get tools.exec.securityopenclaw config get tools.exec.askopenclaw gateway restartWhat changed:
- If
tools.exec.hostis unset, the default isauto. host=autoresolves tosandboxwhen a sandbox runtime is active,gatewayotherwise.host=autois routing only; the no-prompt “YOLO” behavior comes fromsecurity=fullplusask=offon gateway/node.- On
gatewayandnode, unsettools.exec.securitydefaults tofull. - Unset
tools.exec.askdefaults tooff. - Result: if you are seeing approvals, some host-local or per-session policy tightened exec away from the current defaults.
Restore current default no-approval behavior:
openclaw config set tools.exec.host gatewayopenclaw config set tools.exec.security fullopenclaw config set tools.exec.ask offopenclaw gateway restartSafer alternatives:
- Set only
tools.exec.host=gatewayif you just want stable host routing. - Use
security=allowlistwithask=on-missif you want host exec but still want review on allowlist misses. - Enable sandbox mode if you want
host=autoto resolve back tosandbox.
Common log signatures:
Approval required.→ command is waiting on/approve ....SYSTEM_RUN_DENIED: approval required→ node-host exec approval is pending.exec host=sandbox requires a sandbox runtime for this session→ implicit/explicit sandbox selection but sandbox mode is off.
Deep pages:
Browser tool fails
openclaw statusopenclaw gateway statusopenclaw browser statusopenclaw logs --followopenclaw doctorGood output looks like:
- Browser status shows
running: trueand a chosen browser/profile. openclawstarts, orusercan see local Chrome tabs.
Common log signatures:
unknown command "browser"orunknown command 'browser'→plugins.allowis set and does not includebrowser.Failed to start Chrome CDP on port→ local browser launch failed.browser.executablePath not found→ configured binary path is wrong.No Chrome tabs found for profile="user"→ the Chrome MCP attach profile has no open local Chrome tabs.Browser attachOnly is enabled ... not reachable→ attach-only profile has no live CDP target.
Deep pages:
Related
Section titled “Related”- FAQ — frequently asked questions
- Gateway Troubleshooting — gateway-specific issues
- Doctor — automated health checks and repairs
- Channel Troubleshooting — channel connectivity issues
- Automation Troubleshooting — cron and heartbeat issues