Skip to content

[Brev][Ubuntu 22.04] Brev remote CHAT_UI_URL UI fails with origin not allowed #795

Closed

Description

@JoyceChenNV

Description

After a successful NemoClaw install on a Brev instance, the installer prints a remote OpenClaw UI URL such as https://openclaw0/-.brevlab.com#token=..., but opening that URL fails with:

origin not allowed (open the Control UI from the gateway host or allow it in gateway.controlUi.allowedOrigins)
Inside the sandbox, the generated ~/.openclaw/openclaw.json shows that gateway.controlUi.allowedOrigins only contains http://127.0.0.1:18789/ and does not include the Brev origin. As a result, the remote UI URL printed by the installer is not actually usable.
{
"allowedOrigins": [
"http://127.0.0.1:18789"
],
"allowInsecureAuth": true,
"dangerouslyDisableDeviceAuth": true
}

Image

Reproduction Steps

  1. Open https://build.nvidia.com/nemoclaw and click "Try Early Preview" button to open brev launchable like https://brev.nvidia.com/launchable/deploy/now?launchableID=env-3Azt0aYgVNFEuz7opyx3gscmowS
  2. Click on "Deploy Launchable" button
  3. Click "Code-Server" when instance is ready
  4. Observe the terminal output: https://openclaw0/-<env>.brevlab.com#token=...

NeMoClaw install finished.
CHAT_UI_URL: https://openclaw0-1gfvh46jl.brevlab.com
PATH refresh: starting a new login shell so nemoclaw is available.

  1. Open that URL in the browser.
  2. Observe the error:
    origin not allowed (open the Control UI from the gateway host or allow it in gateway.controlUi.allowedOrigins)
  3. Connect to the sandbox and inspect the generated config:
    python3 - <<'PY'
    import json, os
    p = os.path.expanduser("~/.openclaw/openclaw.json")
    cfg = json.load(open(p))
    print(json.dumps(cfg.get("gateway", {}).get("controlUi", {}), indent=2))
    PY

Environment

  • Device: Brev instance Ubuntu 22.04.5 LTS
  • Node.js: v22.22.1
  • Docker: Docker Engine 29.3.0
  • OpenShell CLI: 0.0.10
  • NemoClaw: v0.1.0 [6e1208c]
  • OpenClaw: 2026.3.11 (29dc654)

Debug Output

Logs

Checklist

  • I confirmed this bug is reproducible
  • I searched existing issues and this is not a duplicate

[NVB#6013831]

Activity

  1. added
    NV QA
    on Mar 24, 2026
  2. added a commit that references this issue on Mar 24, 2026
    71ec390
  3. added a commit that references this issue on Apr 3, 2026
    6386bf8
  4. added a commit that references this issue on Apr 3, 2026
    48e0672
  5. added a commit that references this issue on Apr 4, 2026
    e98aa82
  6. added a commit that references this issue on Apr 14, 2026
    0020b43
  7. changed the title [-][NemoClaw][Brev][Ubuntu 22.04] Brev remote CHAT_UI_URL UI fails with origin not allowed[/-] [+][Brev][Ubuntu 22.04] Brev remote CHAT_UI_URL UI fails with origin not allowed[/+] on Apr 21, 2026
  8. added theissue type on Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    NV QA

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions