Have a look at this post: how to connect your r1 to OpenClaw (formerly Moltbot/Clawdbot) - #9 by simon
If you see “Invalid QR Format” on VPS/public setups, the key point is:
- local network setups can use insecure WS,
- but remote/VPS setups need a valid SSL domain + WSS on port 443.
So don’t use raw public IP + ws QR for internet-facing pairing. Use a tunnel/proxy setup (e.g. Cloudflare Tunnel), point it to localhost:<openclaw_port>, then generate QR with the public hostname and port 443, scan, and approve pairing.
Also keep token auth enabled and avoid exposing OpenClaw directly without TLS/proxy protection.