waha icon indicating copy to clipboard operation
waha copied to clipboard

[Question] NOWEB PENDING after sending message

Open HuangDaHui opened this issue 11 months ago • 10 comments

Hi, I am encountering a problem now. After NOWEB sends a message, it is always in PENDING status. What should I do? Can this message still be sent successfully? Is it possible to develop a resend interface?

HuangDaHui avatar Feb 10 '25 07:02 HuangDaHui

Yes, it happens :( https://github.com/devlikeapro/waha/issues/789

Here's the logic we can suggest to implement, similar to "resend" functionality https://github.com/devlikeapro/waha/issues/789#issuecomment-2646815064

patron:PRO

devlikepro avatar Feb 10 '25 10:02 devlikepro

Yes, it happens :( #789

Here's the logic we can suggest to implement, similar to "resend" functionality #789 (comment)

patron:PRO

OK, I'll try

HuangDaHui avatar Feb 10 '25 10:02 HuangDaHui

{ "id": "[email protected]_3EB0BB49FBFA087AD22DF5", "timestamp": 1741855318, "from": "[email protected]", "fromMe": true, "body": "已send過去 🙌", "hasMedia": false, "ack": 3, "ackName": "READ", "replyTo": null, "_data": { "key": { "remoteJid": "[email protected]", "fromMe": true, "id": "3EB0BB49FBFA087AD22DF5" }, "message": { "extendedTextMessage": { "text": "已send過去 🙌" } }, "messageTimestamp": 1741855318, "status": 4 } } There is another situation, "ackName": "READ" but there is no message record on WhatsApp How should I handle this situation?

HuangDaHui avatar Mar 17 '25 02:03 HuangDaHui

{ "id": "[email protected]_3EB0BB49FBFA087AD22DF5", "timestamp": 1741855318, "from": "[email protected]", "fromMe": true, "body": "已send過去 🙌", "hasMedia": false, "ack": 3, "ackName": "READ", "replyTo": null, "_data": { "key": { "remoteJid": "[email protected]", "fromMe": true, "id": "3EB0BB49FBFA087AD22DF5" }, "message": { "extendedTextMessage": { "text": "已send過去 🙌" } }, "messageTimestamp": 1741855318, "status": 4 } } There is another situation, "ackName": "READ" but there is no message record on WhatsApp How should I handle this situation?

{ "id": "evt_01jp7ansrvbqrasm3km34h67bw", "event": "message.ack", "session": "TCN103", "me": { "id": "[email protected]", "pushName": "xxx" }, "payload": { "id": "[email protected]_3EB0BB49FBFA087AD22DF5", "from": "[email protected]", "fromMe": true, "ack": 2, "ackName": "DEVICE" }, "engine": "NOWEB", "environment": { "version": "2025.1.6", "engine": "NOWEB", "tier": "PLUS", "browser": "/usr/bin/chromium" } }

And within 60 seconds we received a push with "ackName": "DEVICE"

HuangDaHui avatar Mar 17 '25 03:03 HuangDaHui

I wonder if this will happen to “GOWS”?

HuangDaHui avatar Mar 17 '25 09:03 HuangDaHui

@devlikepro Hi, how should I solve this?

HuangDaHui avatar Mar 19 '25 03:03 HuangDaHui

Hi! Yes, it could happen in GOWS, but should be with less ratio.

There is another situation, "ackName": "READ" but there is no message record on WhatsApp

Let me check, may be some wrong mapping and it's actually not READ but SERVER 🤔

patron:PRO

devlikepro avatar Mar 21 '25 10:03 devlikepro

With actual PENDING only repairing session will help, I believe

patron:PRO

devlikepro avatar Mar 21 '25 10:03 devlikepro

Hi! Yes, it could happen in GOWS, but should be with less ratio.

There is another situation, "ackName": "READ" but there is no message record on WhatsApp

Let me check, may be some wrong mapping and it's actually not READ but SERVER 🤔

patron:PRO

OK, I'll observe for a while, if it doesn't work I'll use GOWS

HuangDaHui avatar Mar 24 '25 03:03 HuangDaHui

PENDING

With actual PENDING only repairing session will help, I believe

patron:PRO

Or maybe logging out every few days would also reduce the occurrence of PENDING?

HuangDaHui avatar Mar 24 '25 03:03 HuangDaHui