Bug type
Behavior bug (incorrect output/state without crash)
Summary
Gateway token mismatch after clicking "New Session" then immediately "Stop"
Steps to reproduce
- Click "New Session" in the webchat UI
- Immediately click "Stop" before the session finishes loading
Expected behavior
Gateway token remains in sync; connection recovers gracefully.
Actual behavior
Gateway service token becomes out of sync with openclaw.json. Subsequent connections fail with:
run error: Unexpected non-whitespace character after JSON at position 42 (line 1 column 43)
And gateway logs show:
gateway token mismatch (set gateway.remote.token to match gateway.auth.token)
OpenClaw version
2026.3.1
Operating system
macOS (Darwin 23.5.0, arm64)
Install method
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
No response
Bug type
Behavior bug (incorrect output/state without crash)
Summary
Gateway token mismatch after clicking "New Session" then immediately "Stop"
Steps to reproduce
Expected behavior
Gateway token remains in sync; connection recovers gracefully.
Actual behavior
Gateway service token becomes out of sync with
openclaw.json. Subsequent connections fail with:And gateway logs show:
OpenClaw version
2026.3.1
Operating system
macOS (Darwin 23.5.0, arm64)
Install method
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
No response