Summary
Control-plane connect rejected: INVALID_REQUEST protocol mismatch
Not able to connect to the gateway
Steps to reproduce
- openclaw gateway --port 18789
- cd openclaw-studio & npm run dev
Expected
Connecting to the OpenClaw Gateway.
Actual
Compiling / ...
GET / 200 in 6.5s (compile: 6.3s, render: 235ms)
GET /api/runtime/stream 503 in 2.8s (compile: 2.2s, render: 575ms)
GET /api/studio 200 in 3.9s (compile: 2.2s, render: 1668ms)
GET /api/studio 200 in 4.1s (compile: 2.2s, render: 1874ms)
GET /api/runtime/summary 200 in 530ms (compile: 502ms, render: 27ms)
POST /api/studio/test-connection 200 in 1390ms (compile: 1342ms, render: 47ms)
Environment
- OS: Ubuntu 24.04
- Node: 22.2.2
- UI version/commit:
- Gateway running? (yes/no) yes
Logs/screenshots

Summary
Control-plane connect rejected: INVALID_REQUEST protocol mismatch
Not able to connect to the gateway
Steps to reproduce
Expected
Connecting to the OpenClaw Gateway.
Actual
Compiling / ...
GET / 200 in 6.5s (compile: 6.3s, render: 235ms)
GET /api/runtime/stream 503 in 2.8s (compile: 2.2s, render: 575ms)
GET /api/studio 200 in 3.9s (compile: 2.2s, render: 1668ms)
GET /api/studio 200 in 4.1s (compile: 2.2s, render: 1874ms)
GET /api/runtime/summary 200 in 530ms (compile: 502ms, render: 27ms)
POST /api/studio/test-connection 200 in 1390ms (compile: 1342ms, render: 47ms)
Environment
Logs/screenshots