Closed xinkyo closed 11 months ago
sometimes No session found to decrypt message for sending group message, speciall after restarting the instance. then group cannot receive message.
messages.upsert { "messages": [ { "key": { "remoteJid": "1203................1@g.us", "fromMe": false, "id": "BAE57C5C7AFF73FD", "participant": "8.............1@s.whatsapp.net" }, "messageTimestamp": 1693540199, "pushName": "leo xin", "broadcast": false, "messageStubType": 2, "messageStubParameters": [ "No session found to decrypt message" ] } ], "type": "notify" }
I found this bug is in mongoAuthState.js , not saving the key and read the key correctly. hope could fix.
sometimes No session found to decrypt message for sending group message, speciall after restarting the instance. then group cannot receive message.
messages.upsert { "messages": [ { "key": { "remoteJid": "1203................1@g.us", "fromMe": false, "id": "BAE57C5C7AFF73FD", "participant": "8.............1@s.whatsapp.net" }, "messageTimestamp": 1693540199, "pushName": "leo xin", "broadcast": false, "messageStubType": 2, "messageStubParameters": [ "No session found to decrypt message" ] } ], "type": "notify" }