Giter Club home page Giter Club logo

Comments (44)

ranggasan avatar ranggasan commented on September 21, 2024 2

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

ss.jpg

from whatsapp-web-incognito.

tomer8007 avatar tomer8007 commented on September 21, 2024

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.

eduardokabello avatar eduardokabello commented on September 21, 2024

interception

injected

from whatsapp-web-incognito.

tomer8007 avatar tomer8007 commented on September 21, 2024

Anything that appears before the MD send failure?

from whatsapp-web-incognito.

eduardokabello avatar eduardokabello commented on September 21, 2024

Here it's the sequence of console messages.

https://pastebin.com/sGQ01mE5

from whatsapp-web-incognito.

tomer8007 avatar tomer8007 commented on September 21, 2024

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

eduardokabello avatar eduardokabello commented on September 21, 2024

@tomer8007 I certainly forgot to copy this part. I made the sequence again:

https://pastebin.com/xN8CACwF

from whatsapp-web-incognito.

tomer8007 avatar tomer8007 commented on September 21, 2024

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

  1. Tell me what version of WhatsApp Web are you using? I'm using 2.2321.6.
  2. Try to type into the console
WAdebugMode = true;
WAPassthroughWithDebug = true;

and look at the logs again?

from whatsapp-web-incognito.

eduardokabello avatar eduardokabello commented on September 21, 2024

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:

https://pastebin.com/Y18JYDR1

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.

tomer8007 avatar tomer8007 commented on September 21, 2024

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.

eduardokabello avatar eduardokabello commented on September 21, 2024

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.

tomer8007 avatar tomer8007 commented on September 21, 2024

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.

eduardokabello avatar eduardokabello commented on September 21, 2024

I started WhatsApp, put only WAdebugMode = true and the error come back

https://pastebin.com/crENP5KQ

from whatsapp-web-incognito.

tomer8007 avatar tomer8007 commented on September 21, 2024

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.

eduardokabello avatar eduardokabello commented on September 21, 2024

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.

https://pastebin.com/05iq21c4

from whatsapp-web-incognito.

tomer8007 avatar tomer8007 commented on September 21, 2024

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.

eduardokabello avatar eduardokabello commented on September 21, 2024

Yes, I can send some messages successfully before error

Something like this?

idmessage

See complete console capture: https://pastebin.com/W6kj8mDT

from whatsapp-web-incognito.

tomer8007 avatar tomer8007 commented on September 21, 2024

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):

image
Can you tell me again what version are you using or try to use Chrome instead of Edge?

from whatsapp-web-incognito.

eduardokabello avatar eduardokabello commented on September 21, 2024

Chrome v114.0.5735.91
Edge v113.0.1774.57
WhatsApp Web v2.2322.15

from whatsapp-web-incognito.

tomer8007 avatar tomer8007 commented on September 21, 2024

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.

eduardokabello avatar eduardokabello commented on September 21, 2024

The same error in both browser, Chrome and Edge

from whatsapp-web-incognito.

tomer8007 avatar tomer8007 commented on September 21, 2024

Still trying to reproduce this without success.
EDIT: Is there a chance this problem happens only for groups?

from whatsapp-web-incognito.

eduardokabello avatar eduardokabello commented on September 21, 2024

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.

tomer8007 avatar tomer8007 commented on September 21, 2024

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.

ranggasan avatar ranggasan commented on September 21, 2024

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.

tomer8007 avatar tomer8007 commented on September 21, 2024

@ranggasan @eduardokabello Can you please tell me if version 2.0.6 seems to change anything?

from whatsapp-web-incognito.

ranggasan avatar ranggasan commented on September 21, 2024

@ranggasan @eduardokabello Can you please tell me if version 2.0.6 seems to change anything?

Unfortunately, the problem still persist

wa.jpg

from whatsapp-web-incognito.

ranggasan avatar ranggasan commented on September 21, 2024

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.

tomer8007 avatar tomer8007 commented on September 21, 2024

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

eduardokabello avatar eduardokabello commented on September 21, 2024

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.

tomer8007 avatar tomer8007 commented on September 21, 2024

@eduardokabello @ranggasan Still happens in version 2.1.2?

from whatsapp-web-incognito.

eduardokabello avatar eduardokabello commented on September 21, 2024

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

ranggasan avatar ranggasan commented on September 21, 2024

@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

wa

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.

tomer8007 avatar tomer8007 commented on September 21, 2024

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

eduardokabello avatar eduardokabello commented on September 21, 2024

@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 avatar ranggasan commented on September 21, 2024

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

eduardokabello avatar eduardokabello commented on September 21, 2024

@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 avatar ranggasan commented on September 21, 2024

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

tomer8007 avatar tomer8007 commented on September 21, 2024

@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 avatar eduardokabello commented on September 21, 2024

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

wa error

I am using WhatsApp Web v2.3000.1012212426 and Chrome v123.0.6312.59

from whatsapp-web-incognito.

tomer8007 avatar tomer8007 commented on September 21, 2024

@eduardokabello This is another issue #159 .

from whatsapp-web-incognito.

tomer8007 avatar tomer8007 commented on September 21, 2024

@eduardokabello @ranggasan What about the error when sending messages? still happening?

from whatsapp-web-incognito.

ranggasan avatar ranggasan commented on September 21, 2024

@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

inco

from whatsapp-web-incognito.

tomer8007 avatar tomer8007 commented on September 21, 2024

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

image

from whatsapp-web-incognito.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.