TaskFlow
DashboardFreewriteWhiteboardsProjectsCRMTasksNotificationsSettingsAgent TowerAPI Docs
OpenClaw Docs
?

User

Member

Caricamento in corso...

Home
Progetti
Task
Notifiche
CRM

    OpenClaw

    Documentation Mirror

    Documentation Overview

    Docs

    Auth credential semantics
    Scheduled tasks
    Hooks
    Automation & tasks
    Standing orders
    Task flow
    Background tasks
    BlueBubbles
    Broadcast groups
    Channel routing
    Discord
    Feishu
    Google Chat
    Group messages
    Groups
    iMessage
    Chat channels
    IRC
    LINE
    Channel location parsing
    Matrix
    Matrix migration
    Matrix push rules for quiet previews
    Mattermost
    Microsoft Teams
    Nextcloud Talk
    Nostr
    Pairing
    QA channel
    QQ bot
    Signal
    Slack
    Synology Chat
    Telegram
    Tlon
    Channel troubleshooting
    Twitch
    WeChat
    WhatsApp
    Yuanbao
    Zalo
    Zalo personal
    CI pipeline
    ACP
    Agent
    Agents
    Approvals
    Backup
    Browser
    Channels
    Clawbot
    `openclaw commitments`
    Completion
    Config
    Configure
    Cron
    Daemon
    Dashboard
    Devices
    Directory
    DNS
    Docs
    Doctor
    Flows (redirect)
    Gateway
    Health
    Hooks
    CLI reference
    Inference CLI
    Logs
    MCP
    Memory
    Message
    Migrate
    Models
    Node
    Nodes
    Onboard
    Pairing
    Plugins
    Proxy
    QR
    Reset
    Sandbox CLI
    Secrets
    Security
    Sessions
    Setup
    Skills
    Status
    System
    `openclaw tasks`
    TUI
    Uninstall
    Update
    Voicecall
    Webhooks
    Wiki
    Active memory
    Agent runtime
    Agent loop
    Agent runtimes
    Agent workspace
    Gateway architecture
    Channel docking
    Inferred commitments
    Compaction
    Context
    Context engine
    Delegate architecture
    Dreaming
    Experimental features
    Features
    Markdown formatting
    Memory overview
    Builtin memory engine
    Honcho memory
    QMD memory engine
    Memory search
    Messages
    Model failover
    Model providers
    Models CLI
    Multi-agent routing
    OAuth
    OpenClaw App SDK
    Presence
    QA overview
    Matrix QA
    Command queue
    Steering queue
    Retry policy
    Session management
    Session pruning
    Session tools
    SOUL.md personality guide
    Streaming and chunking
    System prompt
    Timezones
    TypeBox
    Typing indicators
    Usage tracking
    Date and time
    Node + tsx crash
    Diagnostics flags
    Authentication
    Background exec and process tool
    Bonjour discovery
    Bridge protocol
    CLI backends
    Configuration — agents
    Configuration — channels
    Configuration — tools and custom providers
    Configuration
    Configuration examples
    Configuration reference
    Diagnostics export
    Discovery and transports
    Doctor
    Gateway lock
    Health checks
    Heartbeat
    Gateway runbook
    Local models
    Gateway logging
    Multiple gateways
    Network model
    OpenAI chat completions
    OpenResponses API
    OpenShell
    OpenTelemetry export
    Gateway-owned pairing
    Prometheus metrics
    Gateway protocol
    Remote access
    Remote gateway setup
    Sandbox vs tool policy vs elevated
    Sandboxing
    Secrets management
    Secrets apply plan contract
    Security audit checks
    Security
    Tailscale
    Tools invoke API
    Troubleshooting
    Trusted proxy auth
    Debugging
    Environment variables
    FAQ
    FAQ: first-run setup
    FAQ: models and auth
    GPT-5.5 / Codex agentic parity
    GPT-5.5 / Codex parity maintainer notes
    Help
    Scripts
    Testing
    Testing: live suites
    General troubleshooting
    OpenClaw
    Ansible
    Azure
    Bun (experimental)
    ClawDock
    Release channels
    DigitalOcean
    Docker
    Docker VM runtime
    exe.dev
    Fly.io
    GCP
    Hetzner
    Hostinger
    Install
    Installer internals
    Kubernetes
    macOS VMs
    Migration guide
    Migrating from Claude
    Migrating from Hermes
    Nix
    Node.js
    Northflank
    Oracle Cloud
    Podman
    Railway
    Raspberry Pi
    Render
    Uninstall
    Updating
    Logging
    Network
    Audio and voice notes
    Camera capture
    Image and media support
    Nodes
    Location command
    Media understanding
    Talk mode
    Node troubleshooting
    Voice wake
    Pi integration architecture
    Pi development workflow
    Android app
    Platforms
    iOS app
    Linux app
    Gateway on macOS
    Canvas
    Gateway lifecycle
    macOS dev setup
    Health checks (macOS)
    Menu bar icon
    macOS logging
    Menu bar
    Peekaboo bridge
    macOS permissions
    Remote control
    macOS signing
    Skills (macOS)
    Voice overlay
    Voice wake (macOS)
    WebChat (macOS)
    macOS IPC
    macOS app
    Windows
    Plugin internals
    Plugin architecture internals
    Building plugins
    Plugin bundles
    Codex Computer Use
    Codex harness
    Community plugins
    Plugin compatibility
    Google Meet plugin
    Plugin hooks
    Plugin manifest
    Memory LanceDB
    Memory wiki
    Message presentation
    Agent harness plugins
    Building channel plugins
    Channel turn kernel
    Plugin entry points
    Plugin SDK migration
    Plugin SDK overview
    Building provider plugins
    Plugin runtime helpers
    Plugin setup and config
    Plugin SDK subpaths
    Plugin testing
    Skill workshop plugin
    Voice call plugin
    Webhooks plugin
    Zalo personal plugin
    OpenProse
    Alibaba Model Studio
    Anthropic
    Arcee AI
    Azure Speech
    Amazon Bedrock
    Amazon Bedrock Mantle
    Chutes
    Claude Max API proxy
    Cloudflare AI gateway
    ComfyUI
    Deepgram
    Deepinfra
    DeepSeek
    ElevenLabs
    Fal
    Fireworks
    GitHub Copilot
    GLM (Zhipu)
    Google (Gemini)
    Gradium
    Groq
    Hugging Face (inference)
    Provider directory
    Inferrs
    Inworld
    Kilocode
    LiteLLM
    LM Studio
    MiniMax
    Mistral
    Model provider quickstart
    Moonshot AI
    NVIDIA
    Ollama
    OpenAI
    OpenCode
    OpenCode Go
    OpenRouter
    Perplexity
    Qianfan
    Qwen
    Runway
    SGLang
    StepFun
    Synthetic
    Tencent Cloud (TokenHub)
    Together AI
    Venice AI
    Vercel AI gateway
    vLLM
    Volcengine (Doubao)
    Vydra
    xAI
    Xiaomi MiMo
    Z.AI
    Default AGENTS.md
    Release policy
    API usage and costs
    Credits
    Device model database
    Full release validation
    Memory configuration reference
    OpenClaw App SDK API design
    Prompt caching
    Rich output protocol
    RPC adapters
    SecretRef credential surface
    Session management deep dive
    AGENTS.md template
    BOOT.md template
    BOOTSTRAP.md template
    HEARTBEAT.md template
    IDENTITY template
    SOUL.md template
    TOOLS.md template
    USER template
    Tests
    Token use and costs
    Transcript hygiene
    Onboarding reference
    Contributing to the threat model
    Threat model (MITRE ATLAS)
    Formal verification (security models)
    Network proxy
    Agent bootstrapping
    Docs directory
    Getting started
    Docs hubs
    OpenClaw lore
    Onboarding (macOS app)
    Onboarding overview
    Personal assistant setup
    Setup
    Showcase
    Onboarding (CLI)
    CLI automation
    CLI setup reference
    ACP agents
    ACP agents — setup
    Agent send
    apply_patch tool
    Brave search
    Browser (OpenClaw-managed)
    Browser control API
    Browser troubleshooting
    Browser login
    WSL2 + Windows + remote Chrome CDP troubleshooting
    BTW side questions
    ClawHub
    Code execution
    Creating skills
    Diffs
    DuckDuckGo search
    Elevated mode
    Exa search
    Exec tool
    Exec approvals
    Exec approvals — advanced
    Firecrawl
    Gemini search
    Grok search
    Image generation
    Tools and plugins
    Kimi search
    LLM task
    Lobster
    Tool-loop detection
    Media overview
    MiniMax search
    Multi-agent sandbox and tools
    Music generation
    Ollama web search
    PDF tool
    Perplexity search
    Plugins
    Reactions
    SearXNG search
    Skills
    Skills config
    Slash commands
    Sub-agents
    Tavily
    Thinking levels
    Tokenjuice
    Trajectory bundles
    Text-to-speech
    Video generation
    Web search
    Web fetch
    Linux server
    Control UI
    Dashboard
    Web
    TUI
    WebChat

    OpenAPI Specs

    openapi
    TaskFlow
    docs/openclaw
    Original Docs

    Real-time Synchronized Documentation

    Last sync: 01/05/2026 07:05:20

    Note: This content is mirrored from docs.openclaw.ai and is subject to their terms and conditions.

    OpenClaw Docs

    v2.4.0 Production

    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.

    WSL2 + Windows + remote Chrome CDP troubleshooting

    In the common split-host setup, OpenClaw Gateway runs inside WSL2, Chrome runs on Windows, and browser control must cross the WSL2 and Windows boundary. The layered failure pattern from issue #39369 means several independent problems can show up at once, which makes the wrong layer look broken first.

    Choose the right browser mode first

    You have two valid patterns:

    Option 1: Raw remote CDP from WSL2 to Windows

    Use a remote browser profile that points from WSL2 to a Windows Chrome CDP endpoint.

    Choose this when:

    • the Gateway stays inside WSL2
    • Chrome runs on Windows
    • you need browser control to cross the WSL2/Windows boundary

    Option 2: Host-local Chrome MCP

    Use

    text
    existing-session
    /
    text
    user
    only when the Gateway itself runs on the same host as Chrome.

    Choose this when:

    • OpenClaw and Chrome are on the same machine
    • you want the local signed-in browser state
    • you do not need cross-host browser transport
    • you do not need advanced managed/raw-CDP-only routes like
      text
      responsebody
      , PDF export, download interception, or batch actions

    For WSL2 Gateway + Windows Chrome, prefer raw remote CDP. Chrome MCP is host-local, not a WSL2-to-Windows bridge.

    Working architecture

    Reference shape:

    • WSL2 runs the Gateway on
      text
      127.0.0.1:18789
    • Windows opens the Control UI in a normal browser at
      text
      http://127.0.0.1:18789/
    • Windows Chrome exposes a CDP endpoint on port
      text
      9222
    • WSL2 can reach that Windows CDP endpoint
    • OpenClaw points a browser profile at the address that is reachable from WSL2

    Why this setup is confusing

    Several failures can overlap:

    • WSL2 cannot reach the Windows CDP endpoint
    • the Control UI is opened from a non-secure origin
    • text
      gateway.controlUi.allowedOrigins
      does not match the page origin
    • token or pairing is missing
    • the browser profile points at the wrong address

    Because of that, fixing one layer can still leave a different error visible.

    Critical rule for the Control UI

    When the UI is opened from Windows, use Windows localhost unless you have a deliberate HTTPS setup.

    Use:

    text
    http://127.0.0.1:18789/

    Do not default to a LAN IP for the Control UI. Plain HTTP on a LAN or tailnet address can trigger insecure-origin/device-auth behavior that is unrelated to CDP itself. See Control UI.

    Validate in layers

    Work top to bottom. Do not skip ahead.

    Layer 1: Verify Chrome is serving CDP on Windows

    Start Chrome on Windows with remote debugging enabled:

    powershell
    chrome.exe --remote-debugging-port=9222

    From Windows, verify Chrome itself first:

    powershell
    curl http://127.0.0.1:9222/json/version curl http://127.0.0.1:9222/json/list

    If this fails on Windows, OpenClaw is not the problem yet.

    Layer 2: Verify WSL2 can reach that Windows endpoint

    From WSL2, test the exact address you plan to use in

    text
    cdpUrl
    :

    bash
    curl http://WINDOWS_HOST_OR_IP:9222/json/version curl http://WINDOWS_HOST_OR_IP:9222/json/list

    Good result:

    • text
      /json/version
      returns JSON with Browser / Protocol-Version metadata
    • text
      /json/list
      returns JSON (empty array is fine if no pages are open)

    If this fails:

    • Windows is not exposing the port to WSL2 yet
    • the address is wrong for the WSL2 side
    • firewall / port forwarding / local proxying is still missing

    Fix that before touching OpenClaw config.

    Layer 3: Configure the correct browser profile

    For raw remote CDP, point OpenClaw at the address that is reachable from WSL2:

    json5
    { browser: { enabled: true, defaultProfile: "remote", profiles: { remote: { cdpUrl: "http://WINDOWS_HOST_OR_IP:9222", attachOnly: true, color: "#00AA00", }, }, }, }

    Notes:

    • use the WSL2-reachable address, not whatever only works on Windows
    • keep
      text
      attachOnly: true
      for externally managed browsers
    • text
      cdpUrl
      can be
      text
      http://
      ,
      text
      https://
      ,
      text
      ws://
      , or
      text
      wss://
    • use HTTP(S) when you want OpenClaw to discover
      text
      /json/version
    • use WS(S) only when the browser provider gives you a direct DevTools socket URL
    • test the same URL with
      text
      curl
      before expecting OpenClaw to succeed

    Layer 4: Verify the Control UI layer separately

    Open the UI from Windows:

    text
    http://127.0.0.1:18789/

    Then verify:

    • the page origin matches what
      text
      gateway.controlUi.allowedOrigins
      expects
    • token auth or pairing is configured correctly
    • you are not debugging a Control UI auth problem as if it were a browser problem

    Helpful page:

    • Control UI

    Layer 5: Verify end-to-end browser control

    From WSL2:

    bash
    openclaw browser open https://example.com --browser-profile remote openclaw browser tabs --browser-profile remote

    Good result:

    • the tab opens in Windows Chrome
    • text
      openclaw browser tabs
      returns the target
    • later actions (
      text
      snapshot
      ,
      text
      screenshot
      ,
      text
      navigate
      ) work from the same profile

    Common misleading errors

    Treat each message as a layer-specific clue:

    • text
      control-ui-insecure-auth
      • UI origin / secure-context problem, not a CDP transport problem
    • text
      token_missing
      • auth configuration problem
    • text
      pairing required
      • device approval problem
    • text
      Remote CDP for profile "remote" is not reachable
      • WSL2 cannot reach the configured
        text
        cdpUrl
    • text
      Browser attachOnly is enabled and CDP websocket for profile "remote" is not reachable
      • the HTTP endpoint answered, but the DevTools WebSocket still could not be opened
    • stale viewport / dark-mode / locale / offline overrides after a remote session
      • run
        text
        openclaw browser stop --browser-profile remote
      • this closes the active control session and releases Playwright/CDP emulation state without restarting the gateway or the external browser
    • text
      gateway timeout after 1500ms
      • often still CDP reachability or a slow/unreachable remote endpoint
    • text
      No Chrome tabs found for profile="user"
      • local Chrome MCP profile selected where no host-local tabs are available

    Fast triage checklist

    1. Windows: does
      text
      curl http://127.0.0.1:9222/json/version
      work?
    2. WSL2: does
      text
      curl http://WINDOWS_HOST_OR_IP:9222/json/version
      work?
    3. OpenClaw config: does
      text
      browser.profiles.<name>.cdpUrl
      use that exact WSL2-reachable address?
    4. Control UI: are you opening
      text
      http://127.0.0.1:18789/
      instead of a LAN IP?
    5. Are you trying to use
      text
      existing-session
      across WSL2 and Windows instead of raw remote CDP?

    Practical takeaway

    The setup is usually viable. The hard part is that browser transport, Control UI origin security, and token/pairing can each fail independently while looking similar from the user side.

    When in doubt:

    • verify the Windows Chrome endpoint locally first
    • verify the same endpoint from WSL2 second
    • only then debug OpenClaw config or Control UI auth

    Related

    • Browser
    • Browser login
    • Browser Linux troubleshooting

    © 2024 TaskFlow Mirror

    Powered by TaskFlow Sync Engine