WhiskeySockets / Baileys

Lightweight full-featured typescript/javascript WhatsApp Web API
https://baileys.whiskeysockets.io/
MIT License
3.55k stars 1.19k forks source link

[BUG] Session Keep Disconected #913

Open chardea opened 1 month ago

chardea commented 1 month ago

Describe the bug I have issue regarding session. I got mass session loggedOut 1 hour after device Scan. I have more than 10 session in my service but less than 30.

To Reproduce Steps to reproduce the behavior:

  1. Scan 5-10 devices.
  2. wait for hours doing nothing (usually 1 hours)
  3. most of devices shows need to rescan.
  4. log showing session error code 401

Expected behavior

  1. Scan 5-10 devices.
  2. no need to rescan after 1 hour of idle.

Environment (please complete the following information):

athilasb commented 1 month ago

860 I think it would be the same problem, but there is no solution yet.