[GOWS] - Whatsapp session authenticates but websockets disconnects
Describe the bug
Hi, I'm using 2025.11.1 and one specific phone is still unable to connect.
{
"version": "2025.11.1",
"engine": "GOWS",
"tier": "PLUS"
}
Sorry for the wall of text but I would like to give you the whole lifecycle of this session
### Docker Logs
[11:31:42.781] INFO (SessionManager/7): session:6124216d-4197-4520-802a-380c471833ec - Saving session... {"reqId":35937,"session":"6124216d-4197-4520-802a-380c471833ec"}
[11:31:42.789] INFO (SessionManager/7): session:6124216d-4197-4520-802a-380c471833ec - Session saved. {"reqId":35937,"session":"6124216d-4197-4520-802a-380c471833ec"}
[11:31:42.794] INFO (SessionManager/7): session:6124216d-4197-4520-802a-380c471833ec - Starting session... {"reqId":35937,"session":"6124216d-4197-4520-802a-380c471833ec"}
[11:31:42.795] INFO (WhatsappSession/7): session:6124216d-4197-4520-802a-380c471833ec - The session ignores the following chat ids {"reqId":35937,"session":"6124216d-4197-4520-802a-380c471833ec","ignore":{"status":true,"groups":false,"channels":true,"broadcast":false}}
[11:31:42.798] INFO (WebhookConductor/7): session:6124216d-4197-4520-802a-380c471833ec - Configuring webhooks for [MYWEBHOOK]... {"reqId":35937,"session":"6124216d-4197-4520-802a-380c471833ec"}
[11:31:42.799] INFO (WebhookConductor/7): session:6124216d-4197-4520-802a-380c471833ec - Webhooks were configured for [MYWEBHOOK]. {"reqId":35937,"session":"6124216d-4197-4520-802a-380c471833ec"}
[11:31:42.799] INFO (WebhookSender/7): session:6124216d-4197-4520-802a-380c471833ec - Sending POST... {"reqId":35937,"session":"6124216d-4197-4520-802a-380c471833ec","id":"01K9SAZ72F0ND1XNZTGB1NEQ06","event.id":"evt_01k9saz72f6hmj6m8gbtyyd16s","url":"[MYWEBHOOK]"}
[11:31:42.826] INFO (7): session:6124216d-4197-4520-802a-380c471833ec - Session has been started. {"reqId":35937,"session":"6124216d-4197-4520-802a-380c471833ec"}
[11:31:42.827] INFO (7): request completed {"reqId":35938,"req":{"id":35938,"method":"GET","url":"/api/sessions/6124216d-4197-4520-802a-380c471833ec","query":{},"params":{"path":["api","sessions","6124216d-4197-4520-802a-380c471833ec"]}},"res":{"statusCode":200},"responseTime":12}
[11:31:42.833] INFO (WebhookSender/7): session:6124216d-4197-4520-802a-380c471833ec - POST request was sent with status code: 200 {"reqId":35937,"session":"6124216d-4197-4520-802a-380c471833ec","id":"01K9SAZ72F0ND1XNZTGB1NEQ06","event.id":"evt_01k9saz72f6hmj6m8gbtyyd16s","url":"[MYWEBHOOK]"}
[11:31:43.381] INFO (WhatsappSession/7): session:6124216d-4197-4520-802a-380c471833ec - You can disable QR in console by setting 'WAHA_PRINT_QR=false' in your environment variables. {"reqId":35937,"session":"6124216d-4197-4520-802a-380c471833ec"}
[11:31:43.407] INFO (WebhookSender/7): session:6124216d-4197-4520-802a-380c471833ec - Sending POST... {"reqId":35937,"session":"6124216d-4197-4520-802a-380c471833ec","id":"01K9SAZ7NF3JD3KERVBG4ZCVVA","event.id":"evt_01k9saz7nem850kcr3ckkhf7tt","url":"[MYWEBHOOK]"}
[11:31:43.412] INFO (7): request completed {"reqId":35939,"req":{"id":35939,"method":"GET","url":"/api/sessions/6124216d-4197-4520-802a-380c471833ec","query":{},"params":{"path":["api","sessions","6124216d-4197-4520-802a-380c471833ec"]}},"res":{"statusCode":200},"responseTime":2}
[11:31:43.419] INFO (7): request completed {"reqId":35940,"req":{"id":35940,"method":"GET","url":"/api/6124216d-4197-4520-802a-380c471833ec/auth/qr?format=raw","query":{"format":"raw"},"params":{"path":["api","6124216d-4197-4520-802a-380c471833ec","auth","qr"]}},"res":{"statusCode":200},"responseTime":0}
[11:31:43.426] INFO (WebhookSender/7): session:6124216d-4197-4520-802a-380c471833ec - POST request was sent with status code: 200 {"reqId":35937,"session":"6124216d-4197-4520-802a-380c471833ec","id":"01K9SAZ7NF3JD3KERVBG4ZCVVA","event.id":"evt_01k9saz7nem850kcr3ckkhf7tt","url":"[MYWEBHOOK]"}
[11:31:42.826] INFO (7): [Manager] Session has been built '6124216d-4197-4520-802a-380c471833ec' {"engine":"gows"}
[11:31:42.826] INFO (7): [Manager] Starting session '6124216d-4197-4520-802a-380c471833ec'... {"engine":"gows"}
[11:31:43.107] INFO (7): [Manager] Session started '6124216d-4197-4520-802a-380c471833ec' {"engine":"gows"}
[11:32:03.110] INFO (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client] Successfully paired [REDACTED]:[email protected] {"engine":"gows"}
[11:32:03.631] INFO (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client] Got 515 code, reconnecting... {"engine":"gows"}
[11:32:03.775] WARN (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Socket] Error sending close to websocket: failed to close WebSocket: failed to read frame header: EOF {"engine":"gows"}
[11:32:04.167] INFO (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client] Successfully authenticated {"engine":"gows"}
[11:32:04.491] INFO (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client] Uploading 812 new prekeys to server {"engine":"gows"}
[11:32:07.129] INFO (WebhookSender/7): session:6124216d-4197-4520-802a-380c471833ec - Sending POST... {"reqId":35937,"session":"6124216d-4197-4520-802a-380c471833ec","id":"01K9SAZYTS6MKSRCCZCTG84BFG","event.id":"evt_01k9sazytr9h27g18ts195s9fr","url":"[MYWEBHOOK]"}
[11:32:07.144] INFO (7): request completed {"reqId":35947,"req":{"id":35947,"method":"GET","url":"/api/sessions/6124216d-4197-4520-802a-380c471833ec","query":{},"params":{"path":["api","sessions","6124216d-4197-4520-802a-380c471833ec"]}},"res":{"statusCode":200},"responseTime":1}
[11:32:07.151] INFO (7): request completed {"reqId":35948,"req":{"id":35948,"method":"GET","url":"/api/sessions/6124216d-4197-4520-802a-380c471833ec/me","query":{},"params":{"path":["api","sessions","6124216d-4197-4520-802a-380c471833ec","me"]}},"res":{"statusCode":200},"responseTime":1}
[11:32:07.172] INFO (WebhookSender/7): session:6124216d-4197-4520-802a-380c471833ec - POST request was sent with status code: 200 {"reqId":35937,"session":"6124216d-4197-4520-802a-380c471833ec","id":"01K9SAZYTS6MKSRCCZCTG84BFG","event.id":"evt_01k9sazytr9h27g18ts195s9fr","url":"[MYWEBHOOK]"}
[11:32:09.175] INFO (7): request completed {"reqId":35949,"req":{"id":35949,"method":"GET","url":"/api/contacts/all?session=6124216d-4197-4520-802a-380c471833ec","query":{"session":"6124216d-4197-4520-802a-380c471833ec"},"params":{"path":["api","contacts","all"]}},"res":{"statusCode":200},"responseTime":3}
[11:32:09.180] INFO (7): request completed {"reqId":35950,"req":{"id":35950,"method":"GET","url":"/api/6124216d-4197-4520-802a-380c471833ec/lids/158819686576315@lid","query":{},"params":{"path":["api","6124216d-4197-4520-802a-380c471833ec","lids","158819686576315@lid"]}},"res":{"statusCode":200},"responseTime":2}
[11:32:09.190] INFO (7): request completed {"reqId":35951,"req":{"id":35951,"method":"GET","url":"/api/contacts?contactId=[REDACTED]@c.us&session=6124216d-4197-4520-802a-380c471833ec","query":{"contactId":"[REDACTED]@c.us","session":"6124216d-4197-4520-802a-380c471833ec"},"params":{"path":["api","contacts"]}},"res":{"statusCode":200},"responseTime":2}
[11:32:09.210] INFO (7): request completed {"reqId":35952,"req":{"id":35952,"method":"GET","url":"/api/contacts?contactId=[REDACTED]@c.us&session=6124216d-4197-4520-802a-380c471833ec","query":{"contactId":"[REDACTED]@c.us","session":"6124216d-4197-4520-802a-380c471833ec"},"params":{"path":["api","contacts"]}},"res":{"statusCode":200},"responseTime":1}
[11:32:09.224] INFO (7): request completed {"reqId":35953,"req":{"id":35953,"method":"GET","url":"/api/6124216d-4197-4520-802a-380c471833ec/chats/overview?limit=20","query":{"limit":"20"},"params":{"path":["api","6124216d-4197-4520-802a-380c471833ec","chats","overview"]}},"res":{"statusCode":200},"responseTime":2}
[11:32:12.770] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.770] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.770] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.770] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.779] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.783] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.790] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping (164737950199927@lid => ): invalid PutLIDMapping call 164737950199927@lid/ {"engine":"gows"}
[11:32:12.790] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.790] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.794] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping (274551506239692@lid => ): invalid PutLIDMapping call 274551506239692@lid/ {"engine":"gows"}
[11:32:12.804] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.805] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.805] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.809] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.811] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.812] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.814] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping (25207314059424@lid => ): invalid PutLIDMapping call 25207314059424@lid/ {"engine":"gows"}
[11:32:12.815] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.816] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.829] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.832] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.832] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.838] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping (185620030861531@lid => ): invalid PutLIDMapping call 185620030861531@lid/ {"engine":"gows"}
[11:32:12.838] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.844] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping (184692468932636@lid => ): invalid PutLIDMapping call 184692468932636@lid/ {"engine":"gows"}
[11:32:12.845] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.845] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.852] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.854] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.856] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.856] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.861] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping (49740100141209@lid => ): invalid PutLIDMapping call 49740100141209@lid/ {"engine":"gows"}
[11:32:12.861] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.861] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.865] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.867] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.867] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.874] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.875] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.907] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.907] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.907] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.907] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.907] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.922] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.931] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.931] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.936] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.936] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.948] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.971] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.971] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.976] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.982] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.984] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.987] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.992] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED][email protected]): invalid PutLIDMapping call /[REDACTED][email protected] {"engine":"gows"}
[11:32:12.992] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.992] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:12.992] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:13.016] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:13.021] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:13.022] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:13.033] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:13.034] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:13.036] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Storage] Failed to update LID mapping ( => [REDACTED]@s.whatsapp.net): invalid PutLIDMapping call /[REDACTED]@s.whatsapp.net {"engine":"gows"}
[11:32:16.631] INFO (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client] Updating contact store with 131 push names from history sync {"engine":"gows"}
[11:32:16.631] INFO (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client] Stored 337 message secret keys from history sync {"engine":"gows"}
[11:32:16.632] INFO (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client] Stored 83 privacy tokens from history sync {"engine":"gows"}
[11:32:38.270] ERROR (WhatsappSession/7): session:6124216d-4197-4520-802a-380c471833ec - Logged out {"reqId":35937,"session":"6124216d-4197-4520-802a-380c471833ec"}
[11:32:38.271] INFO (WebhookSender/7): session:6124216d-4197-4520-802a-380c471833ec - Sending POST... {"reqId":35937,"session":"6124216d-4197-4520-802a-380c471833ec","id":"01K9SB0X7ZS701DR2FC5VBF7FZ","event.id":"evt_01k9sb0x7ymx012xacexq3zb9w","url":"[MYWEBHOOK]"}
[11:32:38.289] INFO (7): request completed {"reqId":35963,"req":{"id":35963,"method":"GET","url":"/api/sessions/6124216d-4197-4520-802a-380c471833ec","query":{},"params":{"path":["api","sessions","6124216d-4197-4520-802a-380c471833ec"]}},"res":{"statusCode":200},"responseTime":2}
[11:32:38.299] INFO (WebhookSender/7): session:6124216d-4197-4520-802a-380c471833ec - POST request was sent with status code: 200 {"reqId":35937,"session":"6124216d-4197-4520-802a-380c471833ec","id":"01K9SB0X7ZS701DR2FC5VBF7FZ","event.id":"evt_01k9sb0x7ymx012xacexq3zb9w","url":"[MYWEBHOOK]"}
[11:32:38.270] WARN (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client] Received stream end frame {"engine":"gows"}
[11:32:38.270] INFO (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client] Got device removed stream error, sending LoggedOut event and deleting session {"engine":"gows"}
[11:32:38.399] ERROR (7): [Session/6124216d-4197-4520-802a-380c471833ec/Client/Socket] Error reading from websocket: failed to get reader: failed to read frame header: EOF {"engine":"gows"}
Additional context
The problem is similar to one I've reported in another issue https://github.com/devlikeapro/waha/issues/1589 This time however I don't see any database related issue
+1. I have the same issue
I have tried on GOWS with 9.*, 10.* and 11.1 versions. All of them have the same sessions issue
[15:21:51.905] INFO (7): request completed {"reqId":229,"req":{"id":229,"method":"GET","url":"/api/usrorg-3a4ffadb517d7f079e07e788fefff8d4790167a6265b067/auth/qr?format=image","query":{"format":"image"},"params":{"path":["api","usrorg-3a4ffadb517d7f079e07e788fefff8d4790167a6265b067","auth","qr"]}},"res":{"statusCode":200},"responseTime":21}
[15:22:04.619] INFO (7): [Session/usrorg-3a4ffadb517d7f079e07e788fefff8d4790167a6265b067/Client] Successfully paired 573176513196:[email protected] {"engine":"gows"}
[15:22:05.004] INFO (7): [Session/usrorg-3a4ffadb517d7f079e07e788fefff8d4790167a6265b067/Client] Got 515 code, reconnecting... {"engine":"gows"}
[15:22:05.152] WARN (7): [Session/usrorg-3a4ffadb517d7f079e07e788fefff8d4790167a6265b067/Client/Socket] Error sending close to websocket: failed to close WebSocket: failed to read frame header: EOF {"engine":"gows"}
[15:22:05.866] INFO (7): [Session/usrorg-3a4ffadb517d7f079e07e788fefff8d4790167a6265b067/Client] Successfully authenticated {"engine":"gows"}
[15:22:06.935] INFO (7): [Session/usrorg-3a4ffadb517d7f079e07e788fefff8d4790167a6265b067/Client] Uploading 50 new prekeys to server {"engine":"gows"}
[15:22:15.312] INFO (7): [Session/usrorg-3a4ffadb517d7f079e07e788fefff8d4790167a6265b067/Client] Updating contact store with 1000 push names from history sync {"engine":"gows"}
[15:22:18.891] WARN (7): [Session/usrorg-3a4ffadb517d7f079e07e788fefff8d4790167a6265b067/Client/AppState] Warnings while updating hash for regular_low: [missing value MAC of previous SET operation for 4598E58309BF9E83090CDD95AC04F5AF9F8175FC41D584073C09558F5C7E643D] {"engine":"gows"}
[15:22:18.922] WARN (7): [Session/usrorg-3a4ffadb517d7f079e07e788fefff8d4790167a6265b067/Client/AppState] Warnings while updating hash for regular_low: [missing value MAC of previous SET operation for A5E9E26A570FE87612C2DD6A5256EBCBE26B018F4A1BA87ECD14BDB1CA80897C] {"engine":"gows"}
[15:22:18.968] WARN (7): [Session/usrorg-3a4ffadb517d7f079e07e788fefff8d4790167a6265b067/Client/AppState] Warnings while updating hash for regular_low: [missing value MAC of previous SET operation for EC69597CE88C2660948C811D6D6C52B607254BA14828B569B7F8C4D57C8D85DF] {"engine":"gows"}
[15:22:18.995] WARN (7): [Session/usrorg-3a4ffadb517d7f079e07e788fefff8d4790167a6265b067/Client/AppState] Warnings while updating hash for regular_low: [missing value MAC of previous SET operation for D89AF8D6E71C13FF99B5A05A7B042ECDCD87BBB7555D703BF67C278E0460386C] {"engine":"gows"}
[15:22:19.082] WARN (7): [Session/usrorg-3a4ffadb517d7f079e07e788fefff8d4790167a6265b067/Client/AppState] Warnings while updating hash for regular_low: [missing value MAC of previous SET operation for 0C19DF268074A58DDDBE886861E8FE2E39A6EB20A7A962798FE377A1C84A968C] {"engine":"gows"}
[15:22:19.111] WARN (7): [Session/usrorg-3a4ffadb517d7f079e07e788fefff8d4790167a6265b067/Client/AppState] Warnings while updating hash for regular_low: [missing value MAC of previous SET operation for E6A8C60CAB8E1A556458ACB67ECA896681FD438A2A55FA9CCAEBE2DA8923DBC3] {"engine":"gows"}
[15:22:19.154] WARN (7): [Session/usrorg-3a4ffadb517d7f079e07e788fefff8d4790167a6265b067/Client/AppState] Warnings while updating hash for regular_low: [missing value MAC of previous SET operation for A68E99FB59B45AA7DA4FBA1502013162D47C0492B7A63A8F295F567AFDA178D4] {"engine":"gows"}
[15:23:09.245] WARN (7): [Session/usrorg-3a4ffadb517d7f079e07e788fefff8d4790167a6265b067/Client] Received stream end frame {"engine":"gows"}
[15:23:09.245] INFO (7): [Session/usrorg-3a4ffadb517d7f079e07e788fefff8d4790167a6265b067/Client] Got device removed stream error, sending LoggedOut event and deleting session {"engine":"gows"}
[15:23:09.387] ERROR (7): [Session/usrorg-3a4ffadb517d7f079e07e788fefff8d4790167a6265b067/Client/Socket] Error reading from websocket: failed to get reader: failed to read frame header: EOF {"engine":"gows"}
[15:23:09.245] ERROR (WhatsappSession/7): session:usrorg-3a4ffadb517d7f079e07e788fefff8d4790167a6265b067 - Logged out {"reqId":224,"session":"usrorg-3a4ffadb517d7f079e07e788fefff8d4790167a6265b067"}
[15:23:26.216] WARN (7): [Session/usrorg-b5a8c3b1d8cd8659e098ccb41b68025de9d4721809532fc/Client] Set status notification has unexpected content (<nil>) {"engine":"gows"}
+1 I'm experiencing the same issue!
I'm using version 2025.11.1 with GOWS engine (PLUS tier) and one specific session is also disconnecting after successfully authenticating.
The logs show exactly the same pattern:
- Session starts and authenticates normally
- Then I receive: "Got device removed stream error"
- Followed by: "failed to read frame header: EOF"
- WebSocket error: "Error reading from websocket: failed to get reader: failed to read frame header: EOF"
I've tried reconnecting multiple times, but the pattern keeps repeating. The issue doesn't appear to be related to the database (as mentioned in the previous issue #1589), but rather with the WebSocket disconnection after authentication.
Has anyone found a workaround for this?
Same for me before using GOWS latest, then switching to NOWEB latest—connect and disconnect.
+1
same here