I've got OpenCLAW running on Oracle Cloud (Ubuntu), Clean install of @2026.5.7
I am stuck in a perpetual "Security Handshake" loop that prevents full access, even after a total system wipe (rm -rf ~/.openclaw, binary uninstall, and reboot).
Symptoms & Failed Steps:
Approval Race Condition: Every time I attempt to approve a requestId generated by a device's rotate command, the CLI handshake itself triggers a new request, which immediately invalidates the previous one ("Unknown Request ID").
Despite using the fresh Master Token generated seconds prior by OpenCLAW onboard, the Gateway intermittently reports a "Mismatch" or "Denied" error during rotation.
UI Dead-Ends: Accessing the Dashboard via SSH tunnel (Port 18789) works, but the Rotate button in the Nodes tab is unresponsive. It fails to apply elevated scopes (operator.admin, etc.) to the terminal device, leaving it stuck in operator.pairing only.
Even with OPENCLAW_GATEWAY_TOKEN exported and OPENCLAW_ALLOW_INSECURE_PRIVATE_WS=1 active, the gateway status fluctuates between connected-no-operator-scope and pairing-pending, never reaching full-access.
The security layer in this version is effectively locking out the administrator. I’ve tried manual approval, --latest flags, and UI overrides. The handshake logic is currently a "snake eating its own tail."
I've even logged into the management console via localhost, and the rotate button does nothing when clicked. Can someone help me with a way to force-approve a device ID via the config file or a --force-admin flag that actually works without requiring a circular network handshake?