canove / whaticket-community

A very simple Ticket System based on WhatsApp messages, that allow multi-users in same WhatsApp account.
MIT License
1.55k stars 795 forks source link

QR Error never connects #643

Closed AlejandroDevelopment closed 1 month ago

AlejandroDevelopment commented 1 month ago

I installed whaticket as indicated in the installation guide, everything worked correctly but for a few days the QR no longer connects even though I have reinstalled whaticket multiple times. This solution used to work for me before but not anymore. https://github.com/canove/whaticket-community/issues/638 Does anyone have the same issue? How can i solve it?

guilhermefvaz commented 1 month ago

I've been having the same problem for a few days now, but I haven't found a solution anywhere. If you find something let me know here, if you can do the same if you find a solution.

AlejandroDevelopment commented 1 month ago

Did you got some solution? I will post the solution here if i solve it

lu4nrc commented 1 month ago

Alguem conseguiu resolver?

AlejandroDevelopment commented 1 month ago

Not yet

lu4nrc commented 1 month ago

I noticed that messages arrive if I put wbot.on("message_create", async (msg) => { console.log("wbot.js -> MESSAGE RECEIVED", { to: msg.to, body: msg.body, })}); the messages are arriving but there is some treatment that prevents them from being saved

AlejandroDevelopment commented 1 month ago

Can you sync whatsapp with QR code? Mine just never connects, i dont even receive any message

lu4nrc commented 1 month ago

You are using "whatsapp-web.js": "pedroslopez/whatsapp-web.js.git#webpack-exodus"? It works well for some numbers.

AlejandroDevelopment commented 1 month ago

It just worked, i did a reinstallation and ran de following commands at the backend installation -npm install -npm uninstall whatsapp-web.js -npm install pedroslopez/whatsapp-web.js.git#webpack-exodus --save -npm uninstall @types/lodash -npm install @types/lodash@4.17.5 -npm run build (rest of installation...) It works for me

guilhermefvaz commented 1 month ago

wow, thanks Alejandro.