pranavms13 / whatsapp-node-api

A Simple NodeJS API Wrapper for WhatsApp
Other
471 stars 184 forks source link

ProtocolError: Protocol error (Runtime.callFunctionOn): Target closed #63

Open achalag1 opened 2 years ago

achalag1 commented 2 years ago

How to resolve this issue

GET : /auth/closeClient/623d7dbe003b3e0c0c76be59 ProtocolError: Protocol error (Runtime.callFunctionOn): Target closed. at /var/www/html/WhatsappCode/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:230:24 at new Promise () at CDPSession.send (/var/www/html/WhatsappCode/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:226:16) at ExecutionContext._evaluateInternal (/var/www/html/WhatsappCode/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:204:50) at ExecutionContext.evaluateHandle (/var/www/html/WhatsappCode/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:155:21) at WaitTask.rerun (/var/www/html/WhatsappCode/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:551:37) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) { originalMessage: '' }