Open Bug 1610691 Opened 5 years ago Updated 2 years ago

Google Photos, slow and mosaic of photos have a load problems. I can't see background network requests too. DNS Flooding?

Categories

(Core :: DOM: Security, defect, P3)

68 Branch
defect

Tracking

()

People

(Reporter: wtds.trabalho, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [domsecurity-backlog1])

Attachments

(3 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

  • Open Google Photos with many photos
  • Go to Archive area
  • Try to scrolldown
  • Or use virtual scrollbar to past date

Work fine on Google Chrome... I tested in Private mode without add-ons.
I tried with protection disabled too.

Actual results:

  • Only load some photos at start
  • After some time the photos not loaded anymore.
  • The site appears to use service worker or background script.
  • Multi process Browser Console, fire a lot of DNS queries:
    https://mozilla.cloudflare-dns.com/dns-query
  • Maybe a DNS flooding? Js flooding? Too many Network requests ?
  • I can't see background request from page Developer tools
  • But the request appears in the Browser console

Expected results:

  • Cache of DNS in the same page load (During the load)
  • Reduce DNS requests
  • I want to see network request of background script inside the page developer tools.
  • More ways to debug the problem

Thanks!

Hi, Wellington!

Thanks for your contribution!

I could reproduce the described behavior and I don't know if this is related to the number of images being loaded, in my case after a while the images appear to be loaded. I'm adding a capture of the message that it's been shown on Devtools and will add product and component to keep on track.

Please let us know if this issue is reproduced in the latest Nightly edition. You can download it from here: https://nightly.mozilla.org/

If you still have the issue please create a new profile, you have the steps here: https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles?redirectlocale=en-US&redirectslug=Managing-profiles#w_starting-the-profile-manager
support.mozilla.orgsupport.mozilla.org

Once you have all this information, please let us know so we can continue investigating.

Regards,

Component: Untriaged → Networking: DNS
Flags: needinfo?(wtds.trabalho)
Product: Firefox → Core
Attached image Gfotos.png (deleted) —

I still have the problem :-(
I tried disable all add-ons, I tried private mode.
And tried private without Enhanced Protection.

Thanks!

Flags: needinfo?(wtds.trabalho) → needinfo?(sebastian.scherer)

Hi Wellington!

I'm moving this so we can continue researching. Thanks for rechecking and taking the time to add more details.

If you have any more information, please feel free to add it on a thread.

Regards,

Flags: needinfo?(sebastian.scherer)
Status: UNCONFIRMED → NEW
Ever confirmed: true

Christoph, can you take a look? is this CORS that is blocking this requests?

Flags: needinfo?(ckerschb)
Attached image firefox-google-photos.png (deleted) —

Glad to find a bug report about this. I have not been able to load Google Photos in Firefox in a long time (even after complete reinstall of OS). I always thought it was an issue with Google's content security policy, but for some reason it works in Chrome.

(In reply to Christian Ihle from comment #6)

Created attachment 9139159 [details]
firefox-google-photos.png

Glad to find a bug report about this. I have not been able to load Google Photos in Firefox in a long time (even after complete reinstall of OS). I always thought it was an issue with Google's content security policy, but for some reason it works in Chrome.

The content-script.js in this capture seems to indicate that you still have some addons installed?

(In reply to Wellington Torrejais da Silva from comment #0)

This seems to indicate that you're using DNS-over-HTTPS.
Could you check if the problem still happens if you disable it?
https://support.mozilla.org/en-US/kb/firefox-dns-over-https#w_manually-enabling-and-disabling-dns-over-https

If that doesn't fix it, could you maybe gather some HTTP logs for us?
https://developer.mozilla.org/en-US/docs/Mozilla/Debugging/HTTP_logging

Thanks!

Flags: needinfo?(wtds.trabalho)

(In reply to Valentin Gosu [:valentin] (he/him) from comment #7)

(In reply to Christian Ihle from comment #6)
The content-script.js in this capture seems to indicate that you still have some addons installed?

Ah, seems that message was from the Plasma integration add-on. I disabled all add-ons except Multi-Account Containers, and it made no difference. Even disabled the "Enhanced tracking protection", but that also made no difference.

(In reply to Valentin Gosu [:valentin] (he/him) from comment #8)

Hi,

I've tested in Recent installed and in Private Mode(without addons):
I dont think the problem is with the addons.

I will check the DNS over HTTP question.
I will provide the HTTP Debug too.

I can't find relation with Tracking protection.

Thanks!

Flags: needinfo?(wtds.trabalho)

I disabled privacy.resistFingerprinting in about:config and Google Photos started working. What, why? I don't understand how it's relevant, but I don't know exactly what that setting does.

(In reply to Christian Ihle from comment #11)

I disabled privacy.resistFingerprinting in about:config and Google Photos started working. What, why? I don't understand how it's relevant, but I don't know exactly what that setting does.

Can you look at this? or can you find someone how is more appropriate to ask?

Component: Networking: DNS → DOM: Security
Flags: needinfo?(tihuang)

(In reply to Dragana Damjanovic [:dragana] from comment #12)

Can you look at this? or can you find someone how is more appropriate to ask?

What do you mean? I am not from Mozilla, but I explained how the issue can be reproduced, so someone from Mozilla can probably find out why it fails the way it does.

(In reply to Christian Ihle from comment #13)

(In reply to Dragana Damjanovic [:dragana] from comment #12)

Can you look at this? or can you find someone how is more appropriate to ask?

What do you mean? I am not from Mozilla, but I explained how the issue can be reproduced, so someone from Mozilla can probably find out why it fails the way it does.

Sorry for the confusing, that comment was meant for me.

Yes, I can take a look. I can reproduce this when RFP is enabled. I will figure out the root cause. Thanks.

Flags: needinfo?(tihuang)
Flags: needinfo?(ckerschb)
Priority: -- → P3
Whiteboard: [domsecurity-backlog1]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: