#Protocol Missmatch on gateway using ssh

1 messages · Page 1 of 1 (latest)

echo cape
#

I use this in a .bat to start it and i am getting protocol missmatch after updating

echo Starting SSH tunnel to %USER%@%HOST% ...
start "OpenClaw SSH Tunnel" cmd /k ssh -N -L %LOCAL_PORT%:127.0.0.1:%REMOTE_PORT% %USER%@%HOST%

timeout /t 2 >nul
start "" "http://127.0.0.1:%LOCAL_PORT%/#token=%TOKEN%"
echo.
echo Tunnel started in a separate window.
echo Keep that window open while using OpenClaw.

dim mortarBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

vocal vaporBOT
# echo cape I use this in a .bat to start it and i am getting protocol missmatch after updat...

Prosky, that .bat tunnel pattern is basically fine as long as %LOCAL_PORT% forwards to the gateway’s actual remote port, usually 18789.

“protocol mismatch” usually means the browser/client UI and the running Gateway are from different OpenClaw builds after the update. First thing: can you run this on the gateway host and share the output?

openclaw --version
openclaw status
openclaw gateway status

Then try the repair path on the gateway host:

openclaw doctor
openclaw gateway restart
vocal vaporBOT