Long running network requests cause Firefox to not load any other URL
Categories
(Core :: Networking, defect)
Tracking
()
People
(Reporter: whimboo, Unassigned)
References
(Blocks 1 open bug)
Details
I was running the following simple Marionette test locally (MacOS Big Sur), and I can always experience extreme long waiting times for the socket thread when initiating a new navigation directly after startup of Firefox.
from marionette_harness import MarionetteTestCase
class TestCase(MarionetteTestCase):
def test_expired(self):
self.marionette.navigate("https://expired.badssl.com/")
You can run this test yourself by saving it as .py file and run ./mach marionette-test %path%
.
Interestingly that long delay only happens when I run the test with a self-build artifact build but not with a Firefox Nightly build.
Here two profiles that demonstrate the difference.
- Artifact build: https://share.firefox.dev/2OjmW0q (26.5s)
- Nightly build: https://share.firefox.dev/3bBFIJo (0.85s)
As it looks like it is the request to the following URL that takes that long (26.2s) and delays all other network requests (manual page loads in any other tab).
https://shavar.services.mozilla.com/downloads?client=Firefox&appver=88.0a&pver=2.2
Valentin or Dragana, any idea what's wrong here? And it's not visible in a Nightly build?
Reporter | ||
Comment 1•4 years ago
|
||
Please note that after a restart of Firefox due to a pending upgrade the above reported behavior cannot be reproduced right now. But I hope that the above profiles might give an idea what to specifically look at when I'm seeing it again. Thanks.
Comment 2•4 years ago
|
||
Still no luck in reproducing it?
In profile I do nor see anything. It would be good to record the socket threaded as well next time.
Reporter | ||
Comment 3•4 years ago
|
||
I haven't seen this problem again. As such I will close the bug as incomplete and reopen it when it can be seen again.
Comment 4•4 years ago
|
||
Hi,
It seems that the problem exists (Firefox 88.0.1, MacOS Big Sur (Intel)). I have a PiHole as my DNS server. It blocks some ads/telemetry etc. servers. If I try to open a website with a lot of blocked servers in one tab, I cannot open any other website in other tabs till the first site is loaded.
See profiler log: https://share.firefox.dev/3hmY2ZP
Description
•