Skip to content

gateway access denied #572

Closed
Closed

Description

@xavgru12

Description

gateway access denied

Reproduction Steps

delete nemoclaw
run installer
run nemoclaw my-assistant connect

Environment

Ubuntu 24.04

Debug Output

Logs

xaver@mac:~/code/swift-project-bootstrapping$ nemoclaw my-assistant connect
sandbox@my-assistant:~$ hi
bash: hi: command not found
sandbox@my-assistant:~$ openclaw tui
(node:507) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:515) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
(Use `node --trace-warnings ...` to show where the warning was created)

🦞 OpenClaw 2026.3.11 (29dc654) — I don't sleep, I just enter low-power mode and dream of clean diffs.

 openclaw tui - ws://127.0.0.1:18789 - agent main - session main
 connecting | idle
 gateway disconnected: connect failed | idle
 gateway disconnected: connect failed | idle
 event gap: expected 21, got 23 | idle
 gateway disconnected: connect failed | idle
 gateway disconnected: connect failed | idle
 disconnected | idle
gateway connect failed: Error: EACCES: permission denied, open '/sandbox/.openclaw/identity/device-auth.json'
gateway connect failed: Error: EACCES: permission denied, open '/sandbox/.openclaw/identity/device-auth.json'

Checklist

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

Activity

  1. drewesk commented on Mar 21, 2026

    @drewesk

    Yes, I experienced the same thing.. this is a major bug because they expect us to modify the gateway from root and then restart but still the sandbox is so hardened that it does not inherit or see the global changes.. and also you cannot restart the gateway from inside of the container to inherit changes to settings from inside of the container. 10 hours of debugging this with my AI throwing spaghetti. Also try destroying the VM and recreate it without proxy or reverse proxy which can disable the gateway from having a direct connection.

  2. RaihanulHaque commented on Mar 21, 2026

    @RaihanulHaque

    Got the same issue in MacOS. Tried a lot but couldn't fix it

  3. balumenon commented on Mar 21, 2026

    @balumenon

    I am experiencing the same issue.

    Host OS: Debian
    OpenShell: 0.0.12
    nemoclaw onboard fails at step 6
    sandbox created, forward created, inference configured
    sandbox gateway unhealthy due to root-owned .openclaw state and EACCES on device-auth.json

  4. added
    platform: ubuntu
    and removed on Apr 1, 2026
  5. wscurran commented on Apr 13, 2026

    @wscurran
    Contributor

    The root cause here was the device auth flow attempting to open device-auth.json before the sandbox user had ownership — causing the EACCES multiple people hit here. This was fixed by passing NEMOCLAW_DISABLE_DEVICE_AUTH=1 through the onboard and setup flows so the pairing step doesn't block sandbox startup. If you're still hitting this on the current version, please reopen with the OpenShell version and full logs.

  6. added
    area: cli
    and removed on Jun 3, 2026
  7. 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

    area: cliplatform: ubuntu

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions