openclaw - 💡(How to fix) Fix Chrome Browser Relay extension rejected with 'origin not allowed' despite allowlisted chrome-extension origin

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Chrome Browser Relay extension handshake is rejected with origin not allowed on Windows/local gateway even when the extension origin is explicitly present in gateway.controlUi.allowedOrigins.

Error Message

warn gateway/ws {"cause":"origin-mismatch","handshake":"failed","host":"127.0.0.1:18789","origin":"chrome-extension://pfhemcnpfilapbppdkfemikblgnnikdp","reason":"origin not allowed"}

  • the error string is: origin not allowed (open the Control UI from the gateway host or allow it in gateway.controlUi.allowedOrigins)

Root Cause

Chrome Browser Relay extension handshake is rejected with origin not allowed on Windows/local gateway even when the extension origin is explicitly present in gateway.controlUi.allowedOrigins.

Code Example

{
  "gateway": {
    "controlUi": {
      "allowedOrigins": [
        "http://localhost:18789",
        "http://127.0.0.1:18789",
        "chrome-extension://pfhemcnpfilapbppdkfemikblgnnikdp"
      ]
    }
  }
}

---

warn gateway/ws {"cause":"origin-mismatch","handshake":"failed","host":"127.0.0.1:18789","origin":"chrome-extension://pfhemcnpfilapbppdkfemikblgnnikdp","reason":"origin not allowed"}

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING