Autensa logs show the following when attempting to connect to OpenClaw v2026.5.9-beta1
[OpenClaw] Connecting to: ws://127.0.0.1:18789/?token=***
[OpenClaw] Token in URL: true
[OpenClaw] WebSocket opened, waiting for challenge...
[OpenClaw] Cache cleanup: removed 1 entries (size: 126 -> 125)
[OpenClaw] Received: ...
[OpenClaw] Challenge received, responding...
[OpenClaw] Device identity prepared: {
deviceId: '...,
hasSignature: true,
nonce: '...'
}
[OpenClaw] Sending challenge response
[OpenClaw] Received: res:914d165c
[OpenClaw] Disconnected from Gateway (code: 1002, reason: "protocol mismatch", wasClean: true)
On the gateway we see the following logged:
{
"0": "{\"subsystem\":\"gateway/ws\"}",
"1": {
"cause": "protocol-mismatch",
"handshake": "failed",
"durationMs": 6,
"lastFrameType": "req",
"lastFrameMethod": "connect",
"lastFrameId": "1e6fc9b2-b8cd-4f8a-9c73-0da6f45ceb8f",
"host": "127.0.0.1:18789",
"remoteAddr": "127.0.0.1",
"remotePort": 54548,
"localAddr": "127.0.0.1",
"localPort": 18789,
"endpoint": "127.0.0.1:54548->127.0.0.1:18789",
"minProtocol": 3,
"maxProtocol": 3,
"expectedProtocol": 4,
"client": "cli",
"mode": "ui",
"version": "1.0.1",
"platform": "linux"
},
"2": "closed before connect conn=22de2480-105b-48ce-a75d-41108ef40e18 peer=127.0.0.1:54548->127.0.0.1:18789 remote=127.0.0.1 fwd=n/a origin=n/a host=127.0.0.1:18789 ua=n/a code=1005 reason=n/a",
"_meta": {
"runtime": "node",
"runtimeVersion": "22.22.2",
"hostname": "unknown",
"name": "{\"subsystem\":\"gateway/ws\"}",
"parentNames": [
"openclaw"
],
"date": "2026-05-12T18:58:59.759Z",
"logLevelId": 4,
"logLevelName": "WARN",
"path": {
"fullFilePath": "file:///home/openclaw/openclaw/dist/subsystem-Dk7fl3Q1.js:149:51",
"fileName": "subsystem-Dk7fl3Q1.js",
"fileNameWithLine": "subsystem-Dk7fl3Q1.js:149",
"fileColumn": "51",
"fileLine": "149",
"filePath": "openclaw/dist/subsystem-Dk7fl3Q1.js",
"filePathWithLine": "openclaw/dist/subsystem-Dk7fl3Q1.js:149",
"method": "logToFile"
}
},
"time": "2026-05-12T11:58:59.759-07:00",
"hostname": "diamond",
"message": "closed before connect conn=22de2480-105b-48ce-a75d-41108ef40e18 peer=127.0.0.1:54548->127.0.0.1:18789 remote=127.0.0.1 fwd=n/a origin=n/a host=127.0.0.1:18789 ua=n/a code=1005 reason=n/a"
}
This seems to be the relevant bit:
"minProtocol": 3,
"maxProtocol": 3,
"expectedProtocol": 4,
Autensa logs show the following when attempting to connect to OpenClaw v2026.5.9-beta1
On the gateway we see the following logged:
{ "0": "{\"subsystem\":\"gateway/ws\"}", "1": { "cause": "protocol-mismatch", "handshake": "failed", "durationMs": 6, "lastFrameType": "req", "lastFrameMethod": "connect", "lastFrameId": "1e6fc9b2-b8cd-4f8a-9c73-0da6f45ceb8f", "host": "127.0.0.1:18789", "remoteAddr": "127.0.0.1", "remotePort": 54548, "localAddr": "127.0.0.1", "localPort": 18789, "endpoint": "127.0.0.1:54548->127.0.0.1:18789", "minProtocol": 3, "maxProtocol": 3, "expectedProtocol": 4, "client": "cli", "mode": "ui", "version": "1.0.1", "platform": "linux" }, "2": "closed before connect conn=22de2480-105b-48ce-a75d-41108ef40e18 peer=127.0.0.1:54548->127.0.0.1:18789 remote=127.0.0.1 fwd=n/a origin=n/a host=127.0.0.1:18789 ua=n/a code=1005 reason=n/a", "_meta": { "runtime": "node", "runtimeVersion": "22.22.2", "hostname": "unknown", "name": "{\"subsystem\":\"gateway/ws\"}", "parentNames": [ "openclaw" ], "date": "2026-05-12T18:58:59.759Z", "logLevelId": 4, "logLevelName": "WARN", "path": { "fullFilePath": "file:///home/openclaw/openclaw/dist/subsystem-Dk7fl3Q1.js:149:51", "fileName": "subsystem-Dk7fl3Q1.js", "fileNameWithLine": "subsystem-Dk7fl3Q1.js:149", "fileColumn": "51", "fileLine": "149", "filePath": "openclaw/dist/subsystem-Dk7fl3Q1.js", "filePathWithLine": "openclaw/dist/subsystem-Dk7fl3Q1.js:149", "method": "logToFile" } }, "time": "2026-05-12T11:58:59.759-07:00", "hostname": "diamond", "message": "closed before connect conn=22de2480-105b-48ce-a75d-41108ef40e18 peer=127.0.0.1:54548->127.0.0.1:18789 remote=127.0.0.1 fwd=n/a origin=n/a host=127.0.0.1:18789 ua=n/a code=1005 reason=n/a" }This seems to be the relevant bit: