charlie-n-hill
PROOP
3 months ago
Hi, I've gone through the OpenClaw (Clawdbot) template setup maybe 5 times now, but keep hitting issues.
Setup: Pro plan, volume mounted at /data, public networking on port 8080, gateway listening on 127.0.0.1:18789 with a wrapper on :8080. Gateway token is set.
Problem: The Control UI returns disconnected (1008): pairing required or unauthorized: gateway token missing and all WebSocket connections fail.
Latest logs:
[ws] unauthorized conn=6cd91f87 remote=127.0.0.1 client=openclaw-control-ui webchat vdev reason=token_missing
[ws] closed before connect conn=6cd91f87 remote=127.0.0.1 fwd=, 157.52.68.60,100.64.0.13 code=4008 reason=connect failedThe gateway starts fine and /healthz returns ok/reachable. But all WebSocket connections from the browser fail — the gateway sees remote=127.0.0.1 with forwarded IPs in the 157.52.x.x and 100.64.x.x ranges and doesn't trust them.
Thanks!
3 Replies