Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whatsapp and Messenger broken on WB 4 #1183

Open
VarunAgw opened this issue Jan 7, 2020 · 8 comments
Open

Whatsapp and Messenger broken on WB 4 #1183

VarunAgw opened this issue Jan 7, 2020 · 8 comments
Labels

Comments

@VarunAgw
Copy link

@VarunAgw VarunAgw commented Jan 7, 2020

  • Wavebox Version: [e.g. 3.0.0] v4 Latest
  • Operating System & Version: [e.g. Windows 10, Mac OSX 10.3.4, Ubuntu 17.10] Win 10

Since today, I am getting this error on WhatsApp and Messenger.

Sorry, something went wrong. We're working on getting this fixed as soon as we can. Go Back WhatsApp © 2018 · Help

Your request couldn't be processed Your request couldn't be processed There was a problem with this request. We're working on getting it fixed as soon as we can. Return home AboutCreate adCreate PageDevelopersCareersPrivacyCookiesAdChoicesTermsHelpSettingsActivity log Facebook © 2020

Note: Works fine on Chrome.

@Thomas101

This comment has been minimized.

Copy link
Member

@Thomas101 Thomas101 commented Jan 8, 2020

I've seen this with Messenger, but it normally indicates a sign-in problem. If you remove the account, add it again and sign back in, does it work?

Can you send a screenshot of the WhatsApp error - this is something we haven't seen before

@nlenkowski

This comment has been minimized.

Copy link

@nlenkowski nlenkowski commented Jan 8, 2020

Just saw this today for WhatsApp as well. Deleting the account and recreating it didn't work at first, but after manually logging out of WhatsApp and logging back in (via the new account) things seemed to be working again. However, after restarting Wavebox the problem resurfaced.

I can login to WhatsApp web via Chrome without issue. I've also tried setting a custom user agent to spoof Chrome on MacOS to no avail. Here's the error message I'm seeing.

Wavebox  WhatsApp  Error 2020-01-08 17-40-04

Thanks for looking into this!

@nlenkowski

This comment has been minimized.

Copy link

@nlenkowski nlenkowski commented Jan 8, 2020

Just noticed that if I click "Go Back" from the error message and then click on "WhatsApp Web" from the navigation I can login just fine. A strange bug for sure. Also, forgot to mention that I'm on MacOS Catalina 10.15.2 and Wavebox 4.11.11.

@VarunAgw

This comment has been minimized.

Copy link
Author

@VarunAgw VarunAgw commented Jan 8, 2020

Yes. I just came here to add this. Same on messenger. Click "return home". Login on facebook. Then press the home button on address bar.

Thomas101 added a commit that referenced this issue Jan 8, 2020
@Thomas101

This comment has been minimized.

Copy link
Member

@Thomas101 Thomas101 commented Jan 9, 2020

It looks like Facebook are slowly releasing an update which means some accounts are affected and some are not. The root cause in Wavebox 4 looks to be down to the way that Electron integrates with the network stack.

I've pushed out a new beta with a workaround for this, so you should be able to get it working again More info on how to switch to the beta

Also if you're interested, Wavebox 10 is unaffected by this as it's built directly on top of Chromium

@Thomas101 Thomas101 added the in-beta label Jan 9, 2020
@VarunAgw

This comment has been minimized.

Copy link
Author

@VarunAgw VarunAgw commented Jan 10, 2020

@Thomas101 May I ask (out of curiosity) how did you solve the issue? You said it's because of the network layer but in the commit, you did something with the user agent only.

@VarunAgw VarunAgw closed this Jan 10, 2020
@Thomas101

This comment has been minimized.

Copy link
Member

@Thomas101 Thomas101 commented Jan 10, 2020

Electron uses a different implementation of some of the network layer, which means there are some oddities in parsing things like CSP headers.

The update that's rolling out to WhatsApp & Messenger seems to hit up against some of these oddities, but still change their behaviour based on the detected browser version. For the short term we've set chrome 77 as the UserAgent for these two as a workaround.

This is why WB10 isn't affected because it has a far more commonly tested and run-in network stack so we don't see spurious bugs like this and we don't have to use weird workarounds :)

Do you mind if I keep this open for now, just until it hits stable?

@Thomas101 Thomas101 reopened this Jan 10, 2020
@VarunAgw

This comment has been minimized.

Copy link
Author

@VarunAgw VarunAgw commented Jan 10, 2020

Sure. I liked WB10 and jumped onto it very enthusiastically. But after a week, I felt it's not stable and ready for me yet, so I had to downgrade, unfortunately.

I will upgrade to it in future again once it's more stable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.