Baileys icon indicating copy to clipboard operation
Baileys copied to clipboard

[BUG] messages not visible on device (Bad MAC)

Open 4relial opened this issue 6 months ago • 1 comments

Describe the bug Does anyone have this problem? This Error make the messages not visible on device whatsapp like we are not sending anything. I have tried doing a rescan, this problem was fixed for a while but the error returned again after a few hours,

Failed to decrypt message with any known session... Session error:Error: Bad MAC Error: Bad MAC at Object.verifyMAC (/home/container/node_modules/libsignal/src/crypto.js:87:15) at SessionCipher.doDecryptWhisperMessage (/home/container/node_modules/libsignal/src/session_cipher.js:250:16) at async SessionCipher.decryptWithSessions (/home/container/node_modules/libsignal/src/session_cipher.js:147:29) at async Object.6289507840607.0 [as awaitable] (/home/container/node_modules/libsignal/src/session_cipher.js:171:28) at async _asyncQueueExecutor (/home/container/node_modules/libsignal/src/queue_job.js:20:29) Failed to decrypt message with any known session... Session error:Error: Bad MAC Error: Bad MAC at Object.verifyMAC (/home/container/node_modules/libsignal/src/crypto.js:87:15) at SessionCipher.doDecryptWhisperMessage (/home/container/node_modules/libsignal/src/session_cipher.js:250:16) at async SessionCipher.decryptWithSessions (/home/container/node_modules/libsignal/src/session_cipher.js:147:29) at async Object.6289507840607.0 [as awaitable] (/home/container/node_modules/libsignal/src/session_cipher.js:171:28) at async _asyncQueueExecutor (/home/container/node_modules/libsignal/src/queue_job.js:20:29)

4relial avatar Feb 07 '24 06:02 4relial

Yes, it happen sometime. No idea how to fix, but afaik, this issue will resolved itself in 1-2 days. Rescan help for a while, but bad mac will eventually hit again until it resolve itself. I hope someone knows more about it

Fonnte avatar Feb 07 '24 06:02 Fonnte