Comments (44)
Is there any solution about this issue?
Because I'm experiencing the same problem, unable to send messages after some times and need to reload the page to resend them
from whatsapp-web-incognito.
Hi,
Thank you for opening an issue for this.
I would guess that this error could be related to the message interception functionality of the extension, but I'll need some red javascript errors to be sure.
Can you provide these?
The last time I tried I had no problem sending tens of messages.
from whatsapp-web-incognito.
from whatsapp-web-incognito.
Anything that appears before the MD send failure
?
from whatsapp-web-incognito.
Here it's the sequence of console messages.
from whatsapp-web-incognito.
@eduardokabello I don't see MD send failure
in these logs. Are you sure these logs are written when you try to send a message without success?
from whatsapp-web-incognito.
@tomer8007 I certainly forgot to copy this part. I made the sequence again:
from whatsapp-web-incognito.
According to the error
interception.js:677 [WhatsApp][3] -- sendMsgRecord: MD send failure
It looks like something was messed up in the message interception flow.
Can you please
- Tell me what version of WhatsApp Web are you using? I'm using 2.2321.6.
- Try to type into the console
WAdebugMode = true;
WAPassthroughWithDebug = true;
and look at the logs again?
from whatsapp-web-incognito.
I'm also using WhatsApp Web version v2.23.21.6 and Google Chrome v113.0.5672.127
After looping error, I typed WAdebugMode = true; and WAPassthroughWithDebug = true; and the result was:
And the looping error continues.
By the way, I installed WAIncognito 2.0.5 in the Edge browser v113.0.1774.50 and got the same error from Google Chrome
from whatsapp-web-incognito.
I don't see any indication to the message send failure in your logs.
I need you to WAdebugMode = true; WAPassthroughWithDebug = true;
and then trigger the error by trying to send a message without success. Also in debug mode I expect to see more messages.
from whatsapp-web-incognito.
Coincidence or not, after I enabled WAdebugMode = true; WAPassthroughWithDebug = true; before start send any message, I'm using WhatsApp at least for 1 hour without error. Anyway, I'll keep an eye
from whatsapp-web-incognito.
I think it's not a coincidence because WAPassthroughWithDebug
disables some part of the interception. So if you could only WAdebugMode = true
and restore the error, this would be good.
from whatsapp-web-incognito.
I started WhatsApp, put only WAdebugMode = true and the error come back
from whatsapp-web-incognito.
Uhh It's hard for me to debug it this way. I would expect more [Out]
debug information before the MD send failure
line. Perhaps there is something that you do that triggers this error that I don't. Can you describe exactly how to reproduce this or try it on another WhatsApp account?
from whatsapp-web-incognito.
Step by step action:
I installed a clean Edge browser and installed WAIncognito.
I opened a WhatsApp Web tab and I connected with a new WhatsApp account
I opened a console and put WAdebugMode = true;
I navigated in some messages and send some messages and leave browser opened and checking sometimes console messages.
In one moment, the looping error started without send any messages, and then, I tried to send a message and error happening again.
from whatsapp-web-incognito.
Can you send at least one message successfully? I would expect to see something like [Out] Sending binary with tag '' (152 bytes, decrypted): interception.js:534 <message id="3EB02714E3239A94137127" to="[email protected]" phash="2:..." type="text">…</message>
but I don't see it in your logs.
I think that for some reason the sockets are getting closed in your end because something was screwed in the interception previously, but at my end it looks fine. Thanks again for reporting the issue though.
from whatsapp-web-incognito.
Yes, I can send some messages successfully before error
Something like this?
See complete console capture: https://pastebin.com/W6kj8mDT
from whatsapp-web-incognito.
According to the error
vendor.js?v=4.8.7.5:1 Uncaught TypeError: Promise resolver undefined is not a function
at new Promise (<anonymous>)
at Pe.window.<computed>.ChatState.sendChatStateComposing (vendor.js?v=4.8.7.5:1:122989)
from your logs, it looks like the version that's running on my end is different than yours (it doesn't use new Promise
):
Can you tell me again what version are you using or try to use Chrome instead of Edge?
from whatsapp-web-incognito.
Chrome v114.0.5735.91
Edge v113.0.1774.57
WhatsApp Web v2.2322.15
from whatsapp-web-incognito.
Now I'm using WhatsApp version 2.2323.4. But do you have the same problem in Chrome or only Edge?
from whatsapp-web-incognito.
The same error in both browser, Chrome and Edge
from whatsapp-web-incognito.
Still trying to reproduce this without success.
EDIT: Is there a chance this problem happens only for groups?
from whatsapp-web-incognito.
Still trying to reproduce this without success. EDIT: Is there a chance this problem happens only for groups?
No, the problem happens with person to person messages
from whatsapp-web-incognito.
I was able to reproduce this on my side only when sending messages to a group with a large number of participants. I suspect that this is caused by the same underlying reason as #127. Hopefully I could solve this one by solving #127 the next time I encounter it.
from whatsapp-web-incognito.
I was able to reproduce this on my side only when sending messages to a group with a large number of participants. I suspect that this is caused by the same underlying reason as #127. Hopefully I could solve this one by solving #127 the next time I encounter it.
For your additional information, it also happens in personal chat, like in the screenshot I attach above
from whatsapp-web-incognito.
@ranggasan @eduardokabello Can you please tell me if version 2.0.6 seems to change anything?
from whatsapp-web-incognito.
@ranggasan @eduardokabello Can you please tell me if version 2.0.6 seems to change anything?
Unfortunately, the problem still persist
from whatsapp-web-incognito.
I'm enabling wa web plus side by side with wa incognito, I think it's the cause of the issue. When I disable wa web plus, I found no issue.
I'm using wa web plus because I need its feature like blur messages and lock the screen. It would be nice if wa incognito has this features as well
from whatsapp-web-incognito.
@ranggasan All I can see is that when I send messages to groups with a large number of participants, it initially shows the message as pending, and when I refresh the page, it shows the red warning sign like in your screenshot (even though the message was sent). So I suspect either this does not relate to WA Web Plus, or it is related and the problem I'm seeing is a different one.
Interesting finding though, I will test with WA Web Plus.
@eduardokabello Are you using WA Web Plus?
from whatsapp-web-incognito.
Unfortunately, the problem still persists here also.
Yes, I use WA Web Plus here too. I thought the issue was the WA Web Plus extension, but when I made a test with clean installation on Edge, the only extension installed was WAIncognito and the same error occurred.
from whatsapp-web-incognito.
@eduardokabello @ranggasan Still happens in version 2.1.2?
from whatsapp-web-incognito.
@eduardokabello @ranggasan Still happens in version 2.1.2?
Yes, still happens, but I found a way to partially work. Disabling “Don't send read confirmation” option. In this way, I don't get error anymore, but unfortunately I lose this function.
from whatsapp-web-incognito.
@eduardokabello @ranggasan Still happens in version 2.1.2?
Everything is working fine, I'm enabling all features in WA Web Incognito. And only enabling blur messages and lock screen in WA Web Plus
If I enable, hide typing/hide recording/hide online/restore deleted messages, it conflict with WA Web Incognito and problem persist
from whatsapp-web-incognito.
@ranggasan @eduardokabello I did some refactoring to the message interception flow in version 2.1.3, changed the message restore feature, removed old code and added more sanity checks. Does this by chance fix the problem?
from whatsapp-web-incognito.
@ranggasan @eduardokabello I did some refactoring to the message interception flow in version 2.1.3, changed the message restore feature, removed old code and added more sanity checks. Does this by chance fix the problem?
Unfortunately, the error still persists. To work, the option “Don't send read confirmation” needs to be disabled.
from whatsapp-web-incognito.
@ranggasan @eduardokabello I did some refactoring to the message interception flow in version 2.1.3, changed the message restore feature, removed old code and added more sanity checks. Does this by chance fix the problem?
Everything is working fine so far
from whatsapp-web-incognito.
@ranggasan @eduardokabello I did some refactoring to the message interception flow in version 2.1.3, changed the message restore feature, removed old code and added more sanity checks. Does this by chance fix the problem?
Everything is working fine so far
Even if you enable "hide typing/hide recording/hide online/restore deleted messages" options?
from whatsapp-web-incognito.
@ranggasan @eduardokabello I did some refactoring to the message interception flow in version 2.1.3, changed the message restore feature, removed old code and added more sanity checks. Does this by chance fix the problem?
Everything is working fine so far
Even if you enable "hide typing/hide recording/hide online/restore deleted messages" options?
I disabled those features because WA Web Incognito has them. I install WA Web Plus only to blur messages, lock screen and chat folder
from whatsapp-web-incognito.
@eduardokabello @ranggasan I was able to reproduce the problem deterministically in cases where a message is sent together with a read receipt. I fixed the problem at least in these cases in 856da2f. Please let me know if it fixes the problem for you.
from whatsapp-web-incognito.
@eduardokabello @ranggasan I was able to reproduce the problem deterministically in cases where a message is sent together with a read receipt. I fixed the problem at least in these cases in 856da2f. Please let me know if it fixes the problem for you.
Unfortunately, this error persists and about a week for now, another error started to happening (look at the image).
I am using WhatsApp Web v2.3000.1012212426 and Chrome v123.0.6312.59
from whatsapp-web-incognito.
@eduardokabello This is another issue #159 .
from whatsapp-web-incognito.
@eduardokabello @ranggasan What about the error when sending messages? still happening?
from whatsapp-web-incognito.
@eduardokabello @ranggasan What about the error when sending messages? still happening?
Nope, I guess you can close this issue.
But another issue arise, when I clicked mark as read, the button is greyed out and the modal dialog doesn't disappear, so I need to refresh the page. I think it's related to issue #159
from whatsapp-web-incognito.
@ranggasan OK, closing this issue.
But the warning shows up fine for me in version 2.3000, not sure why it doesn't for you. Maybe open a separate issue for this.
from whatsapp-web-incognito.
Related Issues (20)
- Show Device of Messages stopped working HOT 35
- "Failed to restore message" HOT 21
- version 2.0.2+ doesn't work on Firefox: service_worker is not supported HOT 13
- Media stories not showing. (Only text stories) HOT 1
- Not syncing messages properly HOT 13
- Pinned, archived channels not synced HOT 3
- "Don't send "Last Seen" and "Typing" updates" checkbox changes don't update immediately HOT 9
- Restore edited message HOT 1
- Extension breaks after WhatsApp version 2.3000 HOT 31
- Icon appears twice in status bar sometimes [Race] HOT 1
- Profile Photo Change Notification HOT 2
- Could not decrypt Noise packet (multi_device.js:104 ReferenceError: pako is not defined) HOT 1
- Modal window is greyed out and freeze the page
- Bugs and Improvement HOT 1
- When having a password, Icon disappear right after unlocking WhatsApp HOT 1
- Better name for save status file HOT 1
- Receving Notification on typing..... recording... ...etc HOT 9
- Possibility of sending fake 'typing...' or 'recording...' HOT 3
- Possible memory leak? HOT 3
- Online blocking not functional on page load
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whatsapp-web-incognito.