Open oscarguindzberg opened 2 weeks ago
Describe the bug I have a server with 15 connected whatsapp users. I find this on the log from time to time:
{ "level": 50, "time": 1718907794643, "pid": 41327, "hostname": "ip-xxx-xxx-xxx-xxx", "key": { "remoteJid": "xxx@g.us", "fromMe": false, "id": "FD997580F27B33CF3430FB6A0D3FA104", "participant": "xxx@s.whatsapp.net" }, "err": { "type": "Error", "message": "No SenderKeyRecord found for decryption", "stack": "Error: No SenderKeyRecord found for decryption at xxx@g.us::xxx::0 [as awaitable] (/baileys/WASignalGroup/group_cipher.js:49:15) at async asyncQueueExecutor (/baileys/WASignalGroup/queue_job.js:20:29)" }, "msg": "failed to decrypt message" }
To Reproduce Don't know how to reproduce, it happens from time to time on a server with 15 connected whatsapp users.
Expected behavior No errors on the log
Environment (please complete the following information):
What do your connectOptions look like?
connectOptions
const { version, isLatest } = await fetchLatestBaileysVersion() const { state, saveCreds } = await useMultiFileAuthState('myPath') const msgRetryCounterCache = new NodeCache() async function getMessage(key) { if(store) { const msg = await store.loadMessage(key.remoteJid, key.id) return msg?.message || undefined } // only if store is present return proto.Message.fromObject({}) } makeWASocket({ version, logger, printQRInTerminal: false, mobile: false, auth: { creds: state.creds, keys: makeCacheableSignalKeyStore(state.keys, logger), }, msgRetryCounterCache, generateHighQualityLinkPreview: true, // ignore broadcast and newsletter messages shouldIgnoreJid: jid => !jid || isJidBroadcast(jid) || isJidNewsletter(jid), // implement to handle retries & poll updates getMessage, shouldSyncHistoryMessage: () => true, markOnlineOnConnect: false })
Additional context Using baileys v6.7.5
These bugs may be related https://github.com/WhiskeySockets/Baileys/issues/885 https://github.com/WhiskeySockets/Baileys/issues/886 https://github.com/WhiskeySockets/Baileys/issues/887 https://github.com/WhiskeySockets/Baileys/issues/888
Describe the bug I have a server with 15 connected whatsapp users. I find this on the log from time to time:
To Reproduce Don't know how to reproduce, it happens from time to time on a server with 15 connected whatsapp users.
Expected behavior No errors on the log
Environment (please complete the following information):
What do your
connectOptions
look like?Additional context Using baileys v6.7.5