NemoClaw icon indicating copy to clipboard operation
NemoClaw copied to clipboard

gateway access denied

Open xavgru12 opened this issue 8 months ago • 4 comments

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

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

xavgru12 avatar Mar 21 '26 10:03 xavgru12

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.

drewesk avatar Mar 21 '26 12:03 drewesk

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

RaihanulHaque avatar Mar 21 '26 17:03 RaihanulHaque

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

balumenon avatar Mar 21 '26 21:03 balumenon

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.

wscurran avatar Apr 13 '26 21:04 wscurran