brave-browser icon indicating copy to clipboard operation
brave-browser copied to clipboard

Web.whatsapp.com fails to authenticate and returns "Make sure you computer has an active internet connection"

Open r3lai opened this issue 2 years ago • 31 comments

Description

Whatsapp web interface fails to authenticate, and enters into infinite loop when logging out.

  • Sometimes QR codes do not show up
  • Fresh browser restart will bring up the QR code to scan
  • Once scanned, it enters into authentication, but eventually crashes out with error "Make sure you computer has an active internet connection"

Steps to Reproduce

  1. Open a private browser
  2. Go to web.whatsapp.com
  3. Scan the QR code with your mobile phone using Whatsapp
  4. Wait to see the error Whatsapp Web seems to load fine for Latest chrome version (Version 102.0.5005.115 (Official Build) (64-bit)), and Firefox

Actual result:

Video of error generated: https://photos.google.com/share/AF1QipMOGcCAVdJiFN-JgSlF8qM9TLux1nUKT2Yg25vq4Syf_jJPybwOb2jsU0pA7lwvGw?key=OTAta3BqWmw5djVKQ2xyV0J0OTNyZkdDbzhVc25R

Expected result:

Whatsapp is logged in

Reproduces how often:

  • Constantly since V1.39.120 (June 8th, 2022) was installed

Brave version (info found on brave://version)

Brave 1.39.120 Chromium: 102.0.5005.99 (Official Build) (64-bit) Revision 870f7bcc58dfa811cc68c2186439721385e086d0-refs/branch-heads/5005@{#1125} OS Windows 10 Version 21H2 (Build 19044.1706)

Version/Channel Information:

  • Can you reproduce this issue with the current release? Yes
  • Can you reproduce this issue with the beta channel? N/A
  • Can you reproduce this issue with the dev channel? N/A
  • Can you reproduce this issue with the nightly channel? N/A

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields? No
  • Does the issue resolve itself when disabling Brave Rewards? No
  • Is the issue reproducible on the latest version of Chrome? No

Miscellaneous Information:

r3lai avatar Jun 09 '22 21:06 r3lai

cc: @ryanbr

rebron avatar Jun 10 '22 21:06 rebron

Hey, just testing this. Working for me here.

Can you clear the cookies & cache in brave://settings/clearBrowserData then restart Brave? @r3lai

ryanbr avatar Jun 11 '22 09:06 ryanbr

I'm having the same issue, but only with my original "personal" Brave profile. I tried logging in with another one and it's working fine.

Also tried clearing up cookies and cache as @ryanbr suggested but nothing changed.

The only strange thing I noticed is that the following requests stay on pending: image

EDIT: I think this is caused by some browser extensions that I'm not using on my other profile. After disabling them all I'm now able to log-in properly.

sav-valerio avatar Jun 11 '22 14:06 sav-valerio

Which browser extension is causing it @sav-valerio

ryanbr avatar Jun 13 '22 02:06 ryanbr

After clearing browser data and disabling all the extensions it is working again

rambhosale avatar Jun 13 '22 05:06 rambhosale

@ryanbr I think it's Tampermonkey but I'm not 100% sure because after logging in it's working fine (and I enabled it back).

sav-valerio avatar Jun 13 '22 10:06 sav-valerio

After clearing browser data and disabling all the extensions it is working again

Okay, re-enable extensions, do you see the issue return? @rambhosale Which extensions do you have?

ryanbr avatar Jun 13 '22 10:06 ryanbr

@ryanbr I think it's Tampermonkey but I'm not 100% sure because after logging in it's working fine (and I enabled it back).

If you can reproduce again, disable each extension one by one (maybe restart the browser between each). Then retest whatsapp. To be sure it helps

ryanbr avatar Jun 13 '22 10:06 ryanbr

I've taken the additional checks on the extension side, and have identified the "Honey" app (https://chrome.google.com/webstore/detail/honey-automatic-coupons-c/bmnlcjabgnpnenekpadlanbbkooimhnj) as the culprit. Disabling this app and restarting the browser will allow Whatsapp web to run normally.

r3lai avatar Jun 13 '22 23:06 r3lai

@ryanbr I think it is "Honey" as mentioned by @r3lai here are the extensions that I use if it can help further Honey, react dev tools, vue dev tools, markdown viewer, JSON viewer, Vimium, Grammarly

rambhosale avatar Jun 14 '22 04:06 rambhosale

I don't use "Honey" extension and still have issues with Whatsapp so this is more complicated. For me it seem to work until I re-enable "Disable HTML5 Autoplay (Reloaded)" extension - then it stops working. Disabling all extensions again does NOT help - for Whatsapp to work again I need to do the magic with caches and site settings. It looks like (some) extensions are doing something nasty and can't revert that when disabled...

michau-krakow avatar Jun 14 '22 06:06 michau-krakow

Does Brave Beta help? (test with no extensions first)

Then install all the same extensions into Brave Beta, and retest @rambhosale @r3lai @michau-krakow @sav-valerio

ryanbr avatar Jun 14 '22 10:06 ryanbr

Confirmed that the latest Brave

Does Brave Beta help? (test with no extensions first)

Then install all the same extensions into Brave Beta, and retest @rambhosale @r3lai @michau-krakow @sav-valerio

Can confirm that latest Brave Beta [Version 1.40.96 Chromium: 102.0.5005.115 (Official Build) beta (64-bit)] is behaving the same way. When Honey is active, whatsapp web hangs and does not load. It works as expected once Honey is deactivated.

Console error detected image

Console error text:

Uncaught (in promise) {message: 'A listener indicated an asynchronous response by r…age channel closed before a response was received'}message: "A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received"[[Prototype]]: Objectconstructor: ƒ ()[[Prototype]]: Object 3serviceworker.js:1 Uncaught (in promise) TypeError: Failed to execute 'put' on 'Cache': Partial response (status code 206) is unsupported at serviceworker.js:1:60426 at Generator.next () at t (serviceworker.js:1:32220) at o (serviceworker.js:1:32431) (anonymous) @ serviceworker.js:1 t @ serviceworker.js:1 o @ serviceworker.js:1

r3lai avatar Jun 14 '22 13:06 r3lai

Do I need a login to Honey to test this @r3lai ? Whats the steps, Install Honey, then open web.whatapp.com ?

ryanbr avatar Jun 14 '22 13:06 ryanbr

No login is necessary. I'm not logged in when reproducing this issue.

  1. Install the honey app
  2. ensure the app is active
  3. Clear cookies and close browser
  4. Open browser, go to web.whatsapp.com
  5. Scan QR code if the QR code comes up

Expected Result: User is logged in Observed Result:

  • Error on phone "Couldn't log in. CHeck your phone's Internet connection and scan the QR code again"
  • Error on desktop: "Make sure your computer has an active internet connection"

r3lai avatar Jun 14 '22 13:06 r3lai

Okay, I'll do some testing tomorrow (well, later today)

ryanbr avatar Jun 14 '22 13:06 ryanbr

Hey, I am experiencing the same issue but I have not the Honey extension. I try disable all extensions but it still not works. I also deleted cookies and storage, but chat sockets always be pending.

When WhatsApp QR is finally loaded (sometimes and after a lot of time), browser throw the next exception on read it with the smartphone:

Uncaught (in promise) TypeError: Failed to execute 'put' on 'Cache': Partial response (status code 206) is unsupported
    at serviceworker.js:1:46087
    at Generator.next (<anonymous>)
    at t (serviceworker.js:1:32220)
    at o (serviceworker.js:1:32431)

I try other browsers and WhatsApp works in all of them. I have the v1.40.105 x64 version (Windows 11). I also proved the private mode (with no extensions) with the same result.

mpperez3 avatar Jun 21 '22 21:06 mpperez3

Hey, I am experiencing the same issue but I have not the Honey extension. I try disable all extensions but it still not works. I also deleted cookies and storage, but chat sockets always be pending.

When WhatsApp QR is finally loaded (sometimes and after a lot of time), browser throw the next exception on read it with the smartphone:

Uncaught (in promise) TypeError: Failed to execute 'put' on 'Cache': Partial response (status code 206) is unsupported
    at serviceworker.js:1:46087
    at Generator.next (<anonymous>)
    at t (serviceworker.js:1:32220)
    at o (serviceworker.js:1:32431)

I try other browsers and WhatsApp works in all of them. I have the v1.40.105 x64 version (Windows 11). I also proved the private mode (with no extensions) with the same result.

Hello Martín I'm having the same problem as you Win10 21H2 + Brave 1.40.105

Lim4 avatar Jun 22 '22 14:06 Lim4

Hello Brave team A user has managed to make Whatsapp Web work this way The bug has to do with enabling/disabling hardware acceleration. https://community.brave.com/t/whatsapp-web-is-not-working/402693/63

Lim4 avatar Jun 29 '22 20:06 Lim4

Having the same issue, did disable plugins, cleared cache, tried to turn on/off hardware acceleration...

kunsel avatar Jul 21 '22 12:07 kunsel

Having the same issue, did disable plugins, cleared cache, tried to turn on/off hardware acceleration...

Try in this way: swap hardware acceleration (for me, works with turn off )> clear cookies & cache > kill brave process > try again

It works for me.

mpperez3 avatar Jul 21 '22 12:07 mpperez3

Hello Brave team A user has managed to make Whatsapp Web work this way The bug has to do with enabling/disabling hardware acceleration. https://community.brave.com/t/whatsapp-web-is-not-working/402693/63

This does not work for me. Tried also cleaning cache and disabling plugins.

My version is:

[Version 1.41.100 Chromium: 103.0.5060.134 (Official Build) (64-bit)](https://brave.com/latest/)

Josema avatar Jul 25 '22 07:07 Josema

Having the same issue, did disable plugins, cleared cache, tried to turn on/off hardware acceleration...

Try in this way: swap hardware acceleration (for me, works with turn off )> clear cookies & cache > kill brave process > try again

It works for me.

Did not work for me. Though I use multiple profiles.

kunsel avatar Jul 28 '22 10:07 kunsel

New method.

  1. Remove all whatsapp cookies and storage (you can do it quickly from the lock of the navigation bar)
  2. Disable hardware acceleration.9
  3. Restart Brave
  4. Go to the whatsapp web. The QR code should have appeared (fast) in this way to be readed
  5. Open a new config tab with the Brave hardware acceleration option
  6. Read the QR code with the smartphone
  7. Wait some seconds (don't wait for website to finish loading or an error message)
  8. Enable the hardware acceleration and fast restart (Without wait for the whatsapp loading end or error message)

Thanks to @Lim4

mpperez3 avatar Aug 01 '22 09:08 mpperez3

Okay, THAT actually worked. Thanks a lot!

kunsel avatar Aug 01 '22 12:08 kunsel

New method.

  1. Remove all whatsapp cookies and storage (you can do it quickly from the lock of the navigation bar)
  2. Disable hardware acceleration.
  3. Restart Brave
  4. Go to the whatsapp web. The QR code should have appeared fast in this way to be readed
  5. Open a new config tab with the Brave hardware acceleration option
  6. Read the QR code with the smartphone
  7. Wait some seconds (don't wait for website to finish loading or an error message)
  8. Enable the hardware acceleration and fast restart (Without wait for the whatsapp loading end or error message)

Let me know if it works :)

Worked for me as well

NadavOz avatar Aug 02 '22 10:08 NadavOz

New method.

  1. Remove all whatsapp cookies and storage (you can do it quickly from the lock of the navigation bar)
  2. Disable hardware acceleration.
  3. Restart Brave
  4. Go to the whatsapp web. The QR code should have appeared fast in this way to be readed
  5. Open a new config tab with the Brave hardware acceleration option
  6. Read the QR code with the smartphone
  7. Wait some seconds (don't wait for website to finish loading or an error message)
  8. Enable the hardware acceleration and fast restart (Without wait for the whatsapp loading end or error message)

This method also worked for me.

ancho85 avatar Aug 03 '22 21:08 ancho85

New method.

  1. Remove all whatsapp cookies and storage (you can do it quickly from the lock of the navigation bar)
  2. Disable hardware acceleration.
  3. Restart Brave
  4. Go to the whatsapp web. The QR code should have appeared fast in this way to be readed
  5. Open a new config tab with the Brave hardware acceleration option
  6. Read the QR code with the smartphone
  7. Wait some seconds (don't wait for website to finish loading or an error message)
  8. Enable the hardware acceleration and fast restart (Without wait for the whatsapp loading end or error message)

thank u sooooo much

GamingwithAnikYT avatar Aug 06 '22 15:08 GamingwithAnikYT

I don't have the Honey extension installed, still facing the issue. Tried from a private window, but it didn't work either.

zcraber avatar Aug 07 '22 10:08 zcraber

@zcraber Does it work if you disable hardware acceleration (from brave://settings/system), restart Brave, then relaunch Brave?

jonathansampson avatar Aug 08 '22 18:08 jonathansampson