WhatsApp frequent disconnects

WhatsApp Gateway - Frequent Disconnects


Summary

WhatsApp Gateway repeatedly disconnects and reconnects automatically. Gateway process is stable, but connection drops frequently (multiple times per hour).

System

- OS: macOS 26.2 (VM)
- Gateway: Node.js 25.2.1, running ~3h without crashes
- PID: 14198, daemon process

Issue

- Multiple disconnects per hour (status 408/428)
- Gateway reconnects automatically
- No messages during disconnect periods
- Disconnects in rapid succession (e.g., multiple in 5-10 min)

Recent Log

09:37:34 disconnected (428)
09:37:38 connected
09:38:27 disconnected (428)
09:38:33 connected
09:39:32 disconnected (428)
09:39:35 connected
... (and many more)

Questions

1. Expected behavior or bug?
2. Config options for stability?
3. VM network issue?
4. Increase timeout/retry intervals?
5. Known WhatsApp server issues?
Was this page helpful?