-
-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
POST send message crash after few hours #46
Comments
same issue, i think whatsapp web updated their structure. |
fixed by updating whatsapp-web.js version 1.11.x to 1.15.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I have this log message after few hours when message try to be send.
POST : /chat/sendmessage/XXXXXXXXX
(node:20153) UnhandledPromiseRejectionWarning: Error: Protocol error (Runtime.callFunctionOn): Session closed. Most likely the page has been closed.
at CDPSession.send (/var/www/vhosts/xxxxxxx.ovh/whatsappapi/whatsapp-node-api/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:208:35)
at ExecutionContext._evaluateInternal (/var/www/vhosts/xxxxxxx.ovh/whatsappapi/whatsapp-node-api/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:204:50)
at ExecutionContext.evaluate (/var/www/vhosts/xxxxxxx.ovh/whatsappapi/whatsapp-node-api/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:110:27)
at DOMWorld.evaluate (/var/www/vhosts/xxxxxxx.ovh/whatsappapi/whatsapp-node-api/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:91:24)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:20153) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag
--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 933)The text was updated successfully, but these errors were encountered: