Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stops receiving messages when the id starts with 66 #666

Open
Valdenirmezadri opened this issue Oct 3, 2024 · 4 comments
Open

stops receiving messages when the id starts with 66 #666

Valdenirmezadri opened this issue Oct 3, 2024 · 4 comments

Comments

@Valdenirmezadri
Copy link

Good afternoon, when a message with the id starting with 66 is received, I stop receiving messages. just reading it again the qrcode works again

Oct 03 2024 11:20:20 client.go:708 ▶ DEBU <offline_preview appdata="0" call="0" count="12" message="9" notifi
cation="0" receipt="2"/>
Oct 03 2024 11:20:20 client.go:708 ▶ DEBU <thread_metadata></thread_metadata>
Oct 03 2024 11:20:20 client.go:708 ▶ DEBU

WhatsApp Image 2024-10-03 at 11 52 31

@leonetosoft
Copy link

leonetosoft commented Oct 16, 2024

The same happens on JS library.
It is drive me crazy.
Lets take a look in the message ID and issue ID

666

😈

@purpshell
Copy link
Contributor

The same happens on JS library. It is drive me crazy. Lets take a look in the message ID and issue ID

666

😈

hahahaa

This is happening on official clients as well. I am fully investigating this on Baileys as well on whatsmeow after lots of reports from my clients on both libraries. We believe its rooted in the libsignal library.

The problem is even bigger than this, there are accidental issues/crashes like these ones but there are people also caught selling these types of messages to deliberately crash Android/iOS and to completely disable Web/Desktop/the libraries.

The way this destroys whatsmeow and Baileys is by forcing the app to quit (due to a failure in decryption), thus never acking the message, and after this happens like 10 times, the socket is unrecoverable (the socket considers that you are not receiving any messages anymore, so it no longer sends you any new messages)

@leonetosoft
Copy link

@purpshell than you for yout assistance.
Here the socket is unable to receive messages but I can send messages normally.
I made a deep investigation and there is a business using this type of ID but isn't on purpose. Is a chatbot as well.
I think they are using ID coming from MongoDB databases.

@purpshell
Copy link
Contributor

purpshell commented Oct 16, 2024

@purpshell than you for yout assistance. Here the socket is unable to receive messages but I can send messages normally. I made a deep investigation and there is a business using this type of ID but isn't on purpose. Is a chatbot as well. I think they are using ID coming from MongoDB databases.

You can see in the screenshot above, the connection is dropping stream errors. Sending of messages is not affected, only receiving. WhatsApp will not send the same message to you a hundred times, it cannot afford that.

The error is in acknowledgement, or lack thereof. We need to implement no-acks in the case of decryption failures

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants