whatsapp-web.js
whatsapp-web.js copied to clipboard
Messages sent but not received (single checkmark)
Is there an existing issue for this?
- [X] I have searched the existing issues
Describe the bug
Sometimes when I try sending messages to groups they are sent but not received (single checkmark).
Example: (took this image with headless: false
Sometimes it works, sometimes it doesn't. Sometimes it works for some groups and not for the others. Usage is very low (only tens of test messages sent so far, and only in groups). Is this some or TOS block? Or am I doing something wrong? It used to work up until now (for about a week or so) and then it started glitching.
I'm running the instance headless on a GCP Compute Engine instance (is this known to be a problem?)
Thanks!
Expected behavior
Expected messages to be sent 100% of the time.
Steps to Reproduce the Bug or Issue
- Boot up whatsapp-web.js
- Send messages
Relevant Code
No relevant code
Browser Type
Chromium
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
OS: Linux debian bullseye on GCP Compute Engine whatsapp-web.js version: 11.9.5 WhatsApp Web version: 2.2316.6 Node.js version: 18
Additional context
No additional context
I believe I am having the same issue, because despite I am running my instance with headless on, I get the correct response from client.sendMessage as normal but the message is never actually sent to the group... I noticed that this happens when my whatsapp client is connected from a long time (hours) and then all of a sudden I cannot sent messages to groups anymore... If I restart my instance, I am prompted to scan the QR code again and everything gets back to normal afterwards...
I was looking my application logs more in details, in my case it seems to be a problem that my whatsapp web client gets disconnected, despite the fact that the clients events 'disconnected' neither 'change_state' are never triggered... I think that`s the root cause, at least on my case...
I encountered the same problem
I encountered the same problem, in my case not show error, but not send message in chat. Did you find any solution?