waha icon indicating copy to clipboard operation
waha copied to clipboard

[GOWS] - disconnection issue

Open FelipeLuz01 opened this issue 1 month ago • 4 comments

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.

patron:PLUS

FelipeLuz01 avatar Nov 15 '25 17:11 FelipeLuz01

Which engine and which version of WAHA are you using?

patron:PRO

bergpinheiro avatar Nov 15 '25 23:11 bergpinheiro

@bergpinheiro gows, 2025.11.2

patron:PLUS

FelipeLuz01 avatar Nov 15 '25 23:11 FelipeLuz01

+1 exact same issue happening

patron:PLUS

whoami-netizen avatar Nov 16 '25 09:11 whoami-netizen

@bergpinheirogows, 2025.11.2

patrono:PLUS

If possible, get the error logs and post them here.

patron:PRO

bergpinheiro avatar Nov 16 '25 20:11 bergpinheiro

@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

patron:PLUS

FelipeLuz01 avatar Nov 17 '25 03:11 FelipeLuz01

Can you connect to WhatsApp Web?

patron:PRO

bergpinheiro avatar Nov 17 '25 13:11 bergpinheiro

@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.

patron:PLUS

FelipeLuz01 avatar Nov 17 '25 14:11 FelipeLuz01

@bergpinheiroSí, puedo conectarme normalmente, pero cuando intento etiquetar WhatsApp usando Waha, desconecta todo. No lo he probado con otros eventos como mensajes.

patrón:PLUS

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.

patron:PLUS

YohanMoli12 avatar Nov 19 '25 13:11 YohanMoli12

I'm using GOWS, version 2025.11.2, and I've already connected several devices without any problems.

patron:PRO

bergpinheiro avatar Nov 19 '25 15:11 bergpinheiro