Baileys icon indicating copy to clipboard operation
Baileys copied to clipboard

[BUG] Close Session & Mac Error

Open DeaGaWaras opened this issue 1 year ago • 7 comments

why when I broadcast it isn't sent to all groups? why when I broadcast it isn't sent to all groups? here is the log

SessionError: No sessions
    at 9170057191585.94 [as awaitable] (/root/calestial/node_modules/libsignal/src/session_cipher.js:71:23)
    at async _asyncQueueExecutor (/root/calestial/node_modules/libsignal/src/queue_job.js:20:29)

and why suddenly the message not read error occurred with the Mac Error log

Session error:Error: Bad MAC Error: Bad MAC
    at Object.verifyMAC (/root/calestial/node_modules/libsignal/src/crypto.js:87:15)
    at SessionCipher.doDecryptWhisperMessage (/root/calestial/node_modules/libsignal/src/session_cipher.js:250:16)
    at async SessionCipher.decryptWithSessions (/root/calestial/node_modules/libsignal/src/session_cipher.js:147:29)
    at async 62895411171246.0 [as awaitable] (/root/calestial/node_modules/libsignal/src/session_cipher.js:171:28)
    at async _asyncQueueExecutor (/root/calestial/node_modules/libsignal/src/queue_job.js:20:29)

DeaGaWaras avatar Feb 14 '24 10:02 DeaGaWaras

I have the same problem

Todpig avatar Feb 15 '24 16:02 Todpig

me to

joseluna03 avatar Feb 16 '24 03:02 joseluna03

me too

enoksaju avatar Feb 19 '24 17:02 enoksaju

me too

ecatugy avatar Feb 21 '24 20:02 ecatugy

Make sure your auth state is including sessions. That being said, I will work on making this process less headache-inducing

purpshell avatar May 07 '24 19:05 purpshell

Any example of how can we handle sessions?

marcosrocha85 avatar Sep 17 '24 23:09 marcosrocha85