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

web.whatsapp.com - site is not usable #114441

Closed
rayshabh opened this issue Nov 21, 2022 — with webcompat-app · 8 comments
Closed

web.whatsapp.com - site is not usable #114441

rayshabh opened this issue Nov 21, 2022 — with webcompat-app · 8 comments
Labels
browser-firefox engine-gecko The browser uses the Gecko rendering engine os-linux Issues only happening on Linux. priority-critical status-needsinfo trend-login OKR Label - Issues where login can not be performed
Milestone

Comments

@rayshabh
Copy link

URL: https://web.whatsapp.com/

Browser / Version: Firefox 107.0
Operating System: Linux
Tested Another Browser: Yes Edge

Problem type: Site is not usable
Description: Page not loading correctly
Steps to Reproduce:
Whatsapp Web Page showing error: "Database error occurred on your browser", and again it goes into reload loop phase. Also, QR Code is never shown for login.

View the screenshot Screenshot
Browser Configuration
  • None

From webcompat.com with ❤️

@webcompat-bot webcompat-bot added this to the needstriage milestone Nov 21, 2022
@webcompat-bot webcompat-bot added browser-firefox engine-gecko The browser uses the Gecko rendering engine priority-critical labels Nov 21, 2022
@sv-calin sv-calin added the os-linux Issues only happening on Linux. label Nov 22, 2022
@softvision-raul-bucata
Copy link

We appreciate your report. I was not able to reproduce the issue:

2022-11-23_16-33

Tested with:

Browser / Version: Firefox Release 107.0 (64-bit)
Operating System: Ubuntu 20.4 LTS x64

@rayshabh Suggestion: Try clearing cache/data/cookies, disabling add-ons and Ad-blocker (if available) and extensions or use a clean profile, and check again? If there are any changes made to the default settings of the browser (e.g. in about:config) please revert to the default settings and try again. Also, have the required cookies been accepted for this page?

[qa_47/2022]

@rayshabh
Copy link
Author

@softvision-raul-bucata
I've tried all your suggestions but didn't work.
I even tried checking the website in Troubleshoot Mode but same error: "Database error occurred on your browser".

@softvision-raul-bucata
Copy link

@rayshabh What I would do usually to test this kind of issue, is:

  1. Type about:profiles in the url bar.
  2. Choose Create a new profile.
  3. Call it deleteme or anything you please.
  4. Then start it. (this way you will be sure that nothing is interfering, no ghost caching etc.)
  5. Test.

[inv_47/2022]

@softvision-raul-bucata softvision-raul-bucata added the trend-login OKR Label - Issues where login can not be performed label Nov 24, 2022
@rayshabh
Copy link
Author

rayshabh commented Nov 24, 2022

@softvision-raul-bucata Okay, I did exactly the same as you asked, and whatsapp web started working. But the moment I changed the privacy setting to run the Firefox in private mode and restarted, the whatsapp web page again starting showing error.
I think the problem is with running the browser in private mode. I also tried setting dom.indexedDB.privateBrowsing.enabled = true but it didnt work.

So, can you tell me how to run whatsapp web in private mode?

Note: I've tried whatsapp web in Microsoft Edge in Private Mode, and it works fine!

@wisniewskit
Copy link
Member

wisniewskit commented Nov 25, 2022

@rayshabh , unfortunately this is a known issue where Firefox doesn't allow sites to use indexedDB in private mode yet, because unlike other browsers Firefox avoids writing any data to disk in its private mode.

We're working on a way to fix this by saving encrypted data to disk instead, but it's not going to be ready for a while (likely sometime next year).

In the meantime, if you're ok with Firefox writing such data to disk in private mode anyway, you can enable it via the about:config option dom.indexedDB.privateBrowsing.enabled (or use strict ETP mode instead of private browsing). There are other blocked APIs which write data to disk however, so this work-around may not be enough for all sites/cases.

I'll close this issue as a duplicate of the known issue, but feel free to comment if you'd like further info!

@sv-calin sv-calin modified the milestones: needstriage, duplicate Nov 25, 2022
@rayshabh
Copy link
Author

@rayshabh , unfortunately this is a known issue where Firefox doesn't allow sites to use indexedDB in private mode yet, because unlike other browsers Firefox avoids writing any data to disk in its private mode.

We're working on a way to fix this by saving encrypted data to disk instead, but it's not going to be ready for a while (likely sometime next year).

In the meantime, if you're ok with Firefox writing such data to disk in private mode anyway, you can enable it via the about:config option dom.indexedDB.privateBrowsing.enabled (or use strict ETP mode instead of private browsing). There are other blocked APIs which write data to disk however, so this work-around may not be enough for all sites/cases.

I'll close this issue as a duplicate of the known issue, but feel free to comment if you'd like further info!

Tried using with dom.indexedDB.privateBrowsing.enabled=true but still the same error.

@wisniewskit
Copy link
Member

wisniewskit commented Nov 25, 2022

Unfortunately, that means they're probably relying on other APIs which are blocked, and we don't have an about:config setting for each of them :(

If you're ok with using strict mode instead of private browsing for sites like this (which is quite similar to private browsing except for the disk-writes and saving browsing history), that may be the only option until we get the encrypted storage project done.

@rayshabh
Copy link
Author

Unfortunately, that means they're probably relying on other APIs which are blocked, and we don't have an about:config setting for each of them :(

If you're ok with using strict mode instead of private browsing for sites like this (which is quite similar to private browsing except for the disk-writes and saving browsing history), that may be the only option until we get the encrypted storage project done.

Okay, thanks anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser-firefox engine-gecko The browser uses the Gecko rendering engine os-linux Issues only happening on Linux. priority-critical status-needsinfo trend-login OKR Label - Issues where login can not be performed
Projects
None yet
Development

No branches or pull requests

5 participants