ClawKit Logo
ClawKitReliability Toolkit

Fix OpenClaw Gateway Errors on Windows

Seeing gateway closed (1006 abnormal closure), zombie node.exe on port 18789, or schtasks Last Result: 1? Use this page to jump to the exact OpenClaw Windows fix in under 2 minutes.

Next Step

Fix now, then reduce repeat incidents

If this issue keeps coming back, validate your setup in Doctor first, then harden your config.

Local Models (Ollama) on Windows

Problem: Not Enough Space on C: Drive

Large models (8–15 GB+) can fill your system drive. Redirect Ollama's storage to another drive:

# Move model storage to D: or E: drive
setx OLLAMA_MODELS "D:\ollama\models"

# Restart Ollama, then pull your model
ollama pull cas/hermes-2-pro-llama-3-8b

Problem: Model Doesn't Appear in OpenClaw

OpenClaw filters for models that support tool calling. Models without tool-calling capability are hidden to prevent broken agent behavior. Use models known to work:

ModelSizeTool CallingRAM Needed
hermes-2-pro (8B)~5 GBYes16 GB+
mistral:7b~4 GBYes16 GB+
llama3.1:8b~5 GBYes16 GB+
gemma3:4b~3 GBNo8 GB+

Sandbox / Docker ENOENT

Error: spawn docker ENOENT

The Gateway is trying to run Docker for agent sandboxing, but Docker isn't installed or isn't in PATH. Two options:

Quick Fix: Disable Sandbox

If you don't need sandboxing (most local setups):

openclaw config set agents.defaults.sandbox.mode off
openclaw gateway restart

Proper Fix: Install Docker

For production or if you want agent isolation:

winget install Docker.DockerDesktop
# Restart PC, then:
openclaw gateway restart

Browser Tools Not Working

After stabilizing the Gateway, browser automation commands fail. OpenClaw defaults to the chrome browser profile (which requires a browser extension relay). On a single-machine Windows setup, use the built-in openclaw managed profile:

Switch to managed browser profile
openclaw config set browser.defaultProfile "openclaw"
openclaw config set gateway.nodes.browser.mode "off"
openclaw gateway restart

Canvas vs. Dashboard Confusion

The Dashboard/Control UI at http://127.0.0.1:18789/ is for settings and chat. The Canvas tool (canvas.*) requires a paired node device — it reports "no nodes connected" without one.

Complete Troubleshooting Checklist

Git is installed and in PATH (git --version works)

Using .cmd shims or ExecutionPolicy is RemoteSigned

Config file permissions restricted with icacls

No zombie node.exe on ports 18789, 18791, 18792

Ollama model supports tool calling (hermes-2-pro, mistral:7b)

Ollama models stored on a drive with enough space

Sandbox mode is off or Docker Desktop is installed

Browser profile set to "openclaw" for single-machine setup

No Scheduled Task pointing to stale paths

Break-glass auth settings are disabled

After update: ran openclaw gateway install --force

Still Stuck?

npx clawkit-doctor@latest

Did this guide solve your problem?

Need Help?

Try our automated tools to solve common issues instantly.