whatsapp-web.js icon indicating copy to clipboard operation
whatsapp-web.js copied to clipboard

Messages sent but not received (single checkmark)

Open EdenGottlieb opened this issue 1 year ago • 2 comments

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 WhatsApp Image 2023-04-19 at 17 10 29

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

  1. Boot up whatsapp-web.js
  2. 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

EdenGottlieb avatar Apr 19 '23 14:04 EdenGottlieb

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...

HiramNeto avatar Apr 27 '23 19:04 HiramNeto

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...

HiramNeto avatar Apr 27 '23 19:04 HiramNeto

I encountered the same problem

tanght1994 avatar Aug 16 '23 10:08 tanght1994

I encountered the same problem, in my case not show error, but not send message in chat. Did you find any solution?

fernandopraise avatar Oct 04 '23 13:10 fernandopraise