Closed gigasoftit closed 11 months ago
It's a global WhatsApp issue.
You can use the new "webVersion" option to use a previous working version (Should be in .wwebjs_cache
if you ran it before.)
Here is a working version
I ran into your problem today.
Whatsapp seems to have broken something on its side.
But I only encountered some languages Arabic, Hindi, Hebrew. All languages that have a right-to-left layout.
I even checked on mine. In English everything works, changed the language on my phone to Arabic and Whatsapp stopped working.
The temporary solution was to return customers to the old version
webVersionCache: {
type: 'remote',
remotePath: 'https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/2.2322.15.html',
},
@tofers where can i put this json ?
hi @roigreenberg
how can we implement this ?
Use the latest version, and put the webVersionCache from @tofers comment in the object you pass to the Client (new Client({/*here*/})
)
@roigreenberg
Unfortunately it doesn't work.
client = new Client({ webVersionCache: { type: 'remote', remotePath: 'https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/2.2322.15.html', }, puppeteer: { headless: false , args: ['--no-sandbox', '--disable-setuid-sandbox'], }, // Make headless true or
});
Try to use webVersion: '2.2325.3',
instead, with the file I sent above.
I can confirm @roigreenberg solution works.
new Client({
webVersion: "2.2325.3",
webVersionCache: {
type: "remote",
remotePath: "https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/2.2325.3.html",
},
authStrategy: new LocalAuth({
dataPath: authStorageDir,
}),
puppeteer: {
headless: true,
args: [
"--no-sandbox",
"--no-first-run",
"--disable-setuid-sandbox",
"--disable-dev-shm-usage",
"--disable-accelerated-2d-canvas",
"--disable-gpu",
"--single-process",
"--no-zygote",
],
},
})
Whatsapp version 2.2326.10 fixed problem
Is there an existing issue for this?
Describe the bug
Whatsapp web loading then get this error.
Expected behavior
...
Steps to Reproduce the Bug or Issue
...
Relevant Code
No response
Browser Type
Google Chrome
WhatsApp Account Type
WhatsApp Business
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
Windows 10
Additional context
No response