Open jocimarlopes opened 3 weeks ago
Encountered the same issue; I think WhatsApp updated their WebSocket protocol, which makes the library unable to connect to WhatsApp.
i have same issue, but solved with update the latest update
I verify the Web Socket Protocol WSS, its the same at all. I think I'm doing any thing to broke the latest update.
I'll debug that and If works, I post here.
+1
"I'm facing the same problem since yesterday. I've tested in every possible way, but it keeps returning a 405 error.
I was facing the same connection issue with a 405 error. I tested with version 6.7.6 and 6.7.7, both with the same problem. I followed a friend's advice and downgraded to 6.6.0. Now it works perfectly.
try do npm update @whiskeysockets/baileys
it solve for me
I have a same issue using version 6.7.5
I have a same issue using version 6.7.5
The maintainers recommend updating to 6.7.7 and either using the default version which is 2.3000.1015901307 and do not use the fetchLatestBaileysVersion as it will bring a version that will break your code. We updated to 6.7.7 and use the default version and the errors have not come back.
Someone, I tried to update to version 6.7.7, I tried to downgrade to version 6.6.0.
But all methods lead to the same error (405).
If anyone has an alternative, let me know. I will contact my internet provider to check if there was any blocking, but it would be too much of a coincidence for it to happen on the same day that there was a bug for more than one person.
If anyone has a solution, please post it here. The version I was using is 6.7.5
Here my dependencies:
"dependencies": { "@hapi/boom": "^10.0.1", "@seald-io/nedb": "^4.0.4", "@whiskeysockets/baileys": "^6.7.5", "amqplib": "^0.10.4", "axios": "^1.7.2", "chalk": "^4.1.0", "dotenv": "^8.2.0", "form-data": "^4.0.0", "format-duration-time": "^1.5.4", "fs-extra": "^9.0.1", "hercai": "^12.3.2", "jimp": "^0.16.1", "link-preview-js": "^3.0.5", "lowdb": "^7.0.1", "moment-timezone": "^0.5.31", "node-cache": "^5.1.2", "p-queue": "^8.0.1", "pino": "^8.19.0", "pretty-num": "^0.5.0", "prompt": "^1.1.0", "qrcode": "^1.5.4", "qrcode-terminal": "^0.12.0", "socket.io-client": "^4.7.5" },
Thanks!
version 6.7.7 is working fine for me. I no longer receive the 405 error.
Fixei em 6.6.0. Funcionou pra mim. Era assim: "@whiskeysockets/baileys": "^6.6.0",
Deixei assim: "@whiskeysockets/baileys": "6.6.0",
Depois: pnpm i
Funcionou!!
Fixei em 6.6.0. Funcionou pra mim. Era assim: "@whiskeysockets/baileys": "^6.6.0",
Deixei assim: "@whiskeysockets/baileys": "6.6.0",
Depois: pnpm i
Funcionou!!
You are the man! Worket for me! Thank you so much.
Só agora notei que tu é brasileiro também! Valeu cara, funcionou aqui.
E realmente, ontem eu tinha dado um npm update
, depois disso até rodou um tempo, mas começou a crashar.
I have a same issue using version 6.7.5
The maintainers recommend updating to 6.7.7 and either using the default version which is 2.3000.1015901307 and do not use the fetchLatestBaileysVersion as it will bring a version that will break your code. We updated to 6.7.7 and use the default version and the errors have not come back.
it actually worked. Latest version of baileys and using the recommended version.
Eu estava usando a versão que vem no fetchLatestWaWebVersion()
Consegui resolver aqui, obrigado.
I was using the version that comes in fetchLatestWaWebVersion()
I managed to solve it here, thanks.
I'm out of clue, could you help me out in this bot?
Describe the bug I has this error today, I tryed to update to 6.7.7, but even with that it doesn't start, it just stays with this error.
To Reproduce Steps to reproduce the behavior: