Baileys icon indicating copy to clipboard operation
Baileys copied to clipboard

[BUG] failure in decrypting message

Open jurajmatus opened this issue 1 year ago • 2 comments

Describe the bug Sometimes the message fails to be decrypted and is then represented as an empty stub

Related issues

  • #1590
  • #1721

To Reproduce Steps to reproduce the behavior:

  • I don't see any rule when it happens

Expected behavior Message is decrypted or at least there is a method to retry decryption in case keys are updated later

Environment (please complete the following information):

  • Is this on a server? YES (node version 14)
  • What do your connectOptions look like?
{
    version,// fetchLatestBaileysVersion()
    logger: state.logger, // error level
    markOnlineOnConnect: false,
    auth: state.authState, // custom DynamoDB based implementation
    syncFullHistory: true,
    msgRetryCounterMap: state.msgRetryCounterMap,
    connectTimeoutMs: 5 * 60 * 1000,
    defaultQueryTimeoutMs: undefined,
    keepAliveIntervalMs: 10000,
    browser: Browsers.macOS('Desktop'),
  }
  • Do you have multiple clients on the same IP? NO
  • Are you using a proxy? NO

Additional context A message like this is produced in messages.upsert:

{
  "key": {
    "remoteJid": "[email protected]",
    "fromMe": true,
    "id": "xx",
    "participant": "[email protected]"
  },
  "messageTimestamp": 1663009678,
  "pushName": "___",
  "status": 2,
  "messageStubType": 2,
  "messageStubParameters": [
    "No sender key for: [email protected]::xx::0"
  ]
}

jurajmatus avatar Sep 13 '22 18:09 jurajmatus

Isso ocorre comigo também.

undefined-60 avatar Sep 13 '22 22:09 undefined-60

To Reproduce: Happen only on groups or statues message.upsert when trying to send a message through a real device. Through Whatsapp web working fine. (In my case)

jhenterprise avatar Sep 19 '22 12:09 jhenterprise

This issue is stale because it has been open 6 days with no activity. Remove the stale label or comment or this will be closed in 2 days

github-actions[bot] avatar Sep 26 '22 04:09 github-actions[bot]

Still an issue

jurajmatus avatar Sep 26 '22 04:09 jurajmatus

Tambem estou com o mesmo problema

lRafaelOliveira avatar Sep 28 '22 15:09 lRafaelOliveira

I still have the same problem. https://github.com/tulir/whatsmeow/issues/251

1337-sys avatar Sep 29 '22 01:09 1337-sys

This issue is stale because it has been open 6 days with no activity. Remove the stale label or comment or this will be closed in 2 days

github-actions[bot] avatar Oct 05 '22 03:10 github-actions[bot]

Still an issue

jurajmatus avatar Oct 05 '22 04:10 jurajmatus

This issue is stale because it has been open 6 days with no activity. Remove the stale label or comment or this will be closed in 2 days

github-actions[bot] avatar Oct 12 '22 03:10 github-actions[bot]

Still an issue

jurajmatus avatar Oct 12 '22 04:10 jurajmatus

This issue is stale because it has been open 6 days with no activity. Remove the stale label or comment or this will be closed in 2 days

github-actions[bot] avatar Oct 19 '22 04:10 github-actions[bot]

Still an issue

jurajmatus avatar Oct 19 '22 07:10 jurajmatus

Still an issue

textarea avatar Oct 19 '22 07:10 textarea

This issue is stale because it has been open 6 days with no activity. Remove the stale label or comment or this will be closed in 2 days

github-actions[bot] avatar Oct 27 '22 03:10 github-actions[bot]

Still an issue

jurajmatus avatar Oct 27 '22 06:10 jurajmatus

This issue is stale because it has been open 6 days with no activity. Remove the stale label or comment or this will be closed in 2 days

github-actions[bot] avatar Nov 04 '22 02:11 github-actions[bot]