[GOWS] - disconnection issue
I am experiencing a disconnection issue. I connect WAHA, it runs the API for a short period of time, and then suddenly all WhatsApp sessions are disconnected — including sessions from other APIs that I also use.
@bergpinheiro
I've reviewed the WAHA Plus logs and identified the root cause of the disconnection issue. Here are the relevant logs (sensitive chat IDs have been redacted):
=== CRITICAL LOGS - Session Termination ===
[2025-11-15T18:44:25.504Z] LEVEL 50 {"session":"felipe-001","engine":"gows"} "Failed to resync app state regular after sending update: failed to get app state regular version: context canceled"
[2025-11-15T18:44:26.422Z] LEVEL 40 {"session":"felipe-001","engine":"gows"} "Received stream end frame"
[2025-11-15T18:44:26.423Z] LEVEL 30 {"session":"felipe-001","engine":"gows"} "Got device removed stream error, sending LoggedOut event and deleting session"
[2025-11-15T18:44:26.424Z] LEVEL 50 {"session":"felipe-001","name":"WhatsappSession"} "Logged out"
=== WARNING SIGNS (Minutes Before Ban) ===
[2025-11-15T18:41:10.982Z] LEVEL 40 {"session":"felipe-001","engine":"gows"} "Error decrypting message [REDACTED] from [REDACTED] in [GROUP_REDACTED]: failed to decrypt group message: no sender key"
[2025-11-15T18:41:11.980Z] LEVEL 40 {"session":"felipe-001","engine":"gows"} "Error decrypting message [REDACTED] from [REDACTED] in [GROUP_REDACTED]: failed to decrypt group message: no sender key"
[2025-11-15T18:41:16.507Z] LEVEL 40 {"session":"felipe-001","engine":"gows"} "Missing response in item #1 of response to [REDACTED]"
=== FINAL TRIGGER ===
[2025-11-15T18:44:25.504Z] PUT /api/felipe-001/labels/chats/[CHAT_ID_REDACTED] → Response: 200 → Immediately followed by: "Failed to resync app state" → Then: "device removed stream error"
=== INFRASTRUCTURE STATUS ===
✅ WAHA Plus GOWS: Running perfectly ✅ PostgreSQL: Connected and working ✅ Webhooks: All returning 200 OK ✅ Auto-presence: Active (25s intervals) ✅ Network: No connectivity issues ✅ Resources: CPU/Memory normal
@bergpinheiro Yes, I can connect normally, but when I try to tag on WhatsApp using Waha, it disconnects everything. I haven’t tested it with other events like messages.
@bergpinheiroSí, puedo conectarme normalmente, pero cuando intento etiquetar WhatsApp usando Waha, desconecta todo. No lo he probado con otros eventos como mensajes.
Hey friend, were you able to fix this?
This doesn't happen to me with Evolution API, but it does with Waha.
And by the way, I'm paying here, but not with Evolution API.
This is really strange.