Root cause: The DenchClaw Web UI's WebSocket client sends a minProtocol/maxProtocol handshake range that does not include protocol version 4, which is the version the OpenClaw 2026.5.12 gateway requires. The gateway rejects the connection with close(1002, "protocol mismatch"), making all agent sessions fail.
The Web UI was built against an older OpenClaw gateway that used a lower protocol version. When OpenClaw updated to 2026.5.12 (which bumped the expected protocol to v4), the DenchClaw Web UI bundle was not rebuilt/updated to match, so its client still negotiates with the old range — and the gateway rejects it.
Root cause: The DenchClaw Web UI's WebSocket client sends a
minProtocol/maxProtocolhandshake range that does not include protocol version 4, which is the version the OpenClaw 2026.5.12 gateway requires. The gateway rejects the connection withclose(1002, "protocol mismatch"), making all agent sessions fail.The Web UI was built against an older OpenClaw gateway that used a lower protocol version. When OpenClaw updated to 2026.5.12 (which bumped the expected protocol to v4), the DenchClaw Web UI bundle was not rebuilt/updated to match, so its client still negotiates with the old range — and the gateway rejects it.