[BUG]
Describe the bug After updating WhatsApp on Android, I can't connect to the QR code, WhatsApp Business also can't.
The issue is caused by the fetchLatestBaileysVersion() function — it hangs and never returns, blocking the WhatsApp connection process.
Quickfix: Remove or comment out the fetchLatestBaileysVersion() call and manually set a fixed version in makeWASocket, for example:
version: [2, 3000, 1029030078]
This should restore normal connection behavior.
Thanks for the help, but it doesn't provide a solution. The fetchLatestBaileysVersion() function returns the following result:
const { version } = await fetchLatestBaileysVersion();
console.log(using WA v${version.join('.')})
//using WA v2.3000.1027934701
So that's probably not the problem.
I'm with the same issue. on "baileys": "^6.7.18", it seems like the connection isnt reseting to connect like it was in the past.
test with let { version, isLatest } = await fetchLatestBaileysVersion(); //let version:any = [2 ,3000, 1023223821] //let version:any = [2 ,3000, 1029030078]
https://github.com/WhiskeySockets/Baileys/issues/2029 has the same problem. seems to be a version update