Rhymen / go-whatsapp

WhatsApp Web API
MIT License
2.05k stars 490 forks source link

When QRCode is scanned messages are not arriving in whatsapp mobile app. #586

Closed paulocsanz closed 2 years ago

paulocsanz commented 3 years ago

This is a very weird bug we started experiencing today.

A client of ours had go-whatsapp scanned and was using instead of whatsapp-web, today they stopped receiving messages on their mobile app. The moment they invalidated our session token the messages started arriving again.

And in the same spirit another client wasn't able to remove our session in the mobile app, it kept returning.

It seems whatsapp has a few bugs, but probably our integration has to be adapted too.

I will be back with more data, but I'm posting here so if anybody else experiences this we can speed debugging up.

josergm86 commented 3 years ago

I see that a new whatsapp web version is available. It is was updated recently to 2.2123.8.

fredjsf commented 3 years ago

This issue occurs with us 5-7 times. I think this is a spam list. The message not arrive on their mobile app and mobile app does not connect to whatsapp-web. But the app can send messages.

Today we receive this issue again.

fredjsf commented 2 years ago

anyone else with this problem?

fredjsf commented 2 years ago

Paulo, can you share how you solved?

paulocsanz commented 2 years ago

It stopped happening, we suspect it's related to a bunch of messages enqueued. Specially a bunch of big files. Like retrieving the entire history when new messages are arriving. Overloading the app, we changed our logic to avoid that, but I can't be sure this solved the issue.