When client reload page or trying reconnect - this error appeared
/whatsapp/node_modules/whatsapp-web.js/node_modules/puppeteer/lib/cjs/puppeteer/common/HTTPResponse.js:136
throw new Errors_js_1.ProtocolError('Could not load body for this request. This might happen if the request is a preflight request.');
^
ProtocolError: Could not load body for this request. This might happen if the request is a preflight request.
at /whatsapp/node_modules/whatsapp-web.js/node_modules/puppeteer/lib/cjs/puppeteer/common/HTTPResponse.js:136:31
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async HTTPResponse.text (/whatsapp/node_modules/whatsapp-web.js/node_modules/puppeteer/lib/cjs/puppeteer/common/HTTPResponse.js:148:25)
at async /whatsapp/node_modules/whatsapp-web.js/src/Client.js:744:44 {
originalMessage: ''
}
Node.js v20.5.1
Expected behavior
No errors
Steps to Reproduce the Bug or Issue
Check how whatsapp web cache works
Relevant Code
Client.js:744:44
Browser Type
Google Chrome
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
Is there an existing issue for this?
Describe the bug
When client reload page or trying reconnect - this error appeared
/whatsapp/node_modules/whatsapp-web.js/node_modules/puppeteer/lib/cjs/puppeteer/common/HTTPResponse.js:136 throw new Errors_js_1.ProtocolError('Could not load body for this request. This might happen if the request is a preflight request.'); ^
ProtocolError: Could not load body for this request. This might happen if the request is a preflight request. at /whatsapp/node_modules/whatsapp-web.js/node_modules/puppeteer/lib/cjs/puppeteer/common/HTTPResponse.js:136:31 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async HTTPResponse.text (/whatsapp/node_modules/whatsapp-web.js/node_modules/puppeteer/lib/cjs/puppeteer/common/HTTPResponse.js:148:25) at async /whatsapp/node_modules/whatsapp-web.js/src/Client.js:744:44 { originalMessage: '' }
Node.js v20.5.1
Expected behavior
No errors
Steps to Reproduce the Bug or Issue
Check how whatsapp web cache works
Relevant Code
Client.js:744:44
Browser Type
Google Chrome
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
Node.js v20.5.1 Docker
Additional context
No response