webcompat / web-bugs

A place to report bugs on websites.
https://webcompat.com
Mozilla Public License 2.0
746 stars 66 forks source link

www.google.com - The page is blank when accessed #131916

Open webcompat-bot opened 10 months ago

webcompat-bot commented 10 months ago

URL: https://www.google.com/

Browser / Version: Firefox Mobile 121.0 Operating System: Android 13 Tested Another Browser: Yes Other

Problem type: Site is not usable Description: Page not loading correctly Steps to Reproduce: The page is blank. The page is blank the page is blank.

View the screenshot Screenshot
Browser Configuration
  • gfx.webrender.all: false
  • gfx.webrender.blob-images: true
  • gfx.webrender.enabled: false
  • buildID: 20231230165955
  • channel: release
  • hasTouchScreen: true
  • mixed active content blocked: false
  • mixed passive content blocked: false
  • tracking content blocked: false

View console log messages

From webcompat.com with ❤️

sv-calin commented 10 months ago

Thank you for reporting this issue, I was able to reproduce it.

image

image

Tested on: • Browser / Version: Firefox Nightly 123.0a1-20240108213208 / Firefox Release 121.0.1-20231230165955 / Chrome 120.0.6099.43 • Operating System: OnePlus 6 A6000 (Android 11) - 1080 x 2280 pixels, 19:9 ratio (~402 ppi pixel density)

Notes:

  1. Reproducible on both Firefox Release and Nightly
  2. Disabling the ETP makes the cookie banner appear but accepting it doesn't result in the page showing, it is still blank
  3. Not reproducible on Chrome

Moving to Needsdiagnosis.

[qa_02/2024]

denschub commented 10 months ago

We're investigating.

denschub commented 10 months ago

This is entirely server-side UA sniffing going wrong. You get an empty HTML doc, only a doctype, with a Firefox Android UA. You can reproduce this with curl,

$ curl -H "User-Agent: Mozilla/5.0 (Android 10; Mobile; rv:123.0) Gecko/123.0 Firefox/123.0" https://www.google.com
<!DOCTYPE html>%

and it seems that this affects all UA strings with versions >= 65. <=64 work.

robertsdotpm commented 10 months ago

'now you have two problems' b-bazinga. Software engineering is hard.

denschub commented 10 months ago

Since this has now been posted to HN, I'll be locking this thread. This bugtracker is a work place, not a discussion forum.

denschub commented 10 months ago

Cross-referencing the matching Bugzilla bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1873601

We have a patch ready to deploy in a dot-release if needed, but from what it currently looks like, this hopefully won't be needed. We'll share updates here and on Bugzilla when we have something to share.

denschub commented 10 months ago

Since my last message, Google has been rolling out a fix. We've observed the progress over the last hours, and it seems like this issue is fixed for the vast majority of users. I'll go ahead and close this bug as fixed.

I'll also unlock this issue in case there's still a large group of people who still experience blank-page issues on Google Search that can be fixed with a UA spoof. Although, instead of commenting here, I strongly suggest filing a new bug for this, because that's more likely to get picked up by our triage process, as opposed to just sending me a notification that I might see eventually.