whatsapp-web.js
whatsapp-web.js copied to clipboard
Session closed. Most likely the page has been closed
Is there an existing issue for this?
- [x] I have searched the existing issues
Describe the bug
After a while connected, and want to send a message I get a message like this
Error: Protocol error (Runtime.callFunctionOn): Session closed. Most likely the page has been closed.
Expected behavior
Whatsapp stays connected and doesn't have to be restarted
Steps to Reproduce the Bug or Issue
- Connected Account
- Wait for a moment
- Trying to send a message
- Error
Relevant Code
No response
Browser Type
Chromium
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
Windows OS whatsapp-web.js 1.17.1 version
Additional context
No response
Same problem here
Same problem here.
Same problem here.
I also have this problem.
Same problem here.
Same problem here. It appears only after I try to autheticate a new session after closing the last one, without restarting the code.
any news about it?
Same problem here. It appears only after I try to autheticate a new session after closing the last one, without restarting the code.
facing the same issue...
For me it appears if the computer locks. (Mac M1)
Same issue
+1
Same problem here
Same problem here.
Any workaround for this issue?
Any workaround for this issue?
Clear session, make login again (no prod-ready walkaround)
Please tell me solution for this problem