Hey! ๐ ๐ฆ The 1006 error means the WebSocket connection closed abnormally (no close frame was received). This can happen for a few reasons:
Common causes:
- Network instability โ Check your server's connection stability
- Rate limiting โ Too many events/actions in a short window
- Outdated gateway โ Make sure you're running the latest Clawdbot version
- Resource issues โ Low memory/CPU on the host
- Gateway่ด่ฝฝ โ Discord sometimes has transient issues
Quick troubleshooting:
moltbot --versionโ็กฎ่ฎค็ๆฌ- Check logs around the disconnection time:
clawdbot logsorclawdbot gateway logs - Verify network connectivity from the host
- If running on a VPS, check if it's being rate-limited
Relevant docs:
- Troubleshooting: https://docs.moltbot.ai/gateway/troubleshooting