You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So when I have my wwjs running for long, I have seen that if it gets logget out automatically but the'disconnected' is not triggered.
I tried logging out from my phone also, It still doesnt trigger the disconnected event.
Expected behavior
I am supposed to see the disconnected logs, i.e. console.error("Client was logged out", reason); when disconnected.
Steps to Reproduce the Bug or Issue
Starting the client. And waiting for long enough for it to get disconnected or, forcing log out from the device.
Is there an existing issue for this?
Describe the bug
So when I have my wwjs running for long, I have seen that if it gets logget out automatically but the
'disconnected'
is not triggered.I tried logging out from my phone also, It still doesnt trigger the disconnected event.
Expected behavior
I am supposed to see the disconnected logs, i.e.
console.error("Client was logged out", reason);
when disconnected.Steps to Reproduce the Bug or Issue
Starting the client. And waiting for long enough for it to get disconnected or, forcing log out from the device.
Relevant Code
Browser Type
Google Chrome
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
OS: Amazon ami 2
phone: Samsung S22 plus
whatsapp-web.js version: latest master from github with PR(#2816)
Node.js version: 18.12.1
Thanks in advance, LMK if I am missing something.
Additional context
No response
The text was updated successfully, but these errors were encountered: