Closed Bug 1658192 Opened 4 years ago Closed 2 years ago

current instance of firefox is blocking internet until i create an new instance !

Categories

(Core :: DOM: Service Workers, defect)

79 Branch
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox84 --- affected

People

(Reporter: michael-remy, Unassigned)

References

Details

Attachments

(12 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:79.0) Gecko/20100101 Firefox/79.0

Steps to reproduce:

hi,
my os is windows x64 french edition, update and firefox is 79.0 32bit but the bugs remains since many previous versions (at leat 1 year of releases).

For a reason i ignore, sometimes firefox is blocking without any error messag, the access of a website. It happens often for Twitter, turbobit from what i remember.

Actual results:

Once i enter an url in the address bar (or select the website from bookmark), there is nothing... the tiny animation of loading goes and goes in the tab (before the name). It looks like a looping thing. Even the name of the website is not showing at all in the tab (it remains named 'new tab' ).

If i test the same url with Seamonkey, it runs
with internet explorer it runs
with Google Chrome it runs

important thing :
if i close firefox instance and reopen it in the sec, then the websote is un-blocked and loading fine.

I repeat, internet access is not blocked for all the website, only a few one i noticed and only sometime like there is a loop or full buffer somewhere....

When it's blocking, i also trying the private mode and guess what, it's run! but remains blocked in the "public" mode until i close the instance and run it again.

Moreoever, firefow display no error message, no html code, it is really a loop thing i guess....

Expected results:

when a website is running fine in other browser and private firefox mode, it shoud be run well to in the current broswer (classic basic mode).

i try to hit F12 and start the network analyze, but there is nothing ! (twitter tested).

mistake.
i said there is no html code during the "loop", but i spoke too quick. in fact, only the firefox blank code remains :

<!-- This Source Code Form is subject to the terms of the Mozilla Public

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; object-src 'none'; script-src resource: chrome:; connect-src https:; img-src https: data: blob:; style-src 'unsafe-inline';">
<title data-l10n-id="newtab-page-title"></title>
<link rel="icon" type="image/png" href="chrome://branding/content/icon32.png"/>
<link rel="localization" href="branding/brand.ftl" />
<link rel="localization" href="browser/branding/brandings.ftl" />
<link rel="localization" href="browser/newtab/newtab.ftl" />
<link rel="stylesheet" href="chrome://browser/content/contentSearchUI.css" />
<link rel="stylesheet" href="resource://activity-stream/css/activity-stream.css" />
</head>
<body class="activity-stream">
<div id="header-asrouter-container" role="presentation"></div>
<div id="root"></div>
<div id="footer-asrouter-container" role="presentation"></div>
</body>
</html>

if i visite Twitter or Turbobit during the blocking-loop, the same code is display.

Attached image firefox in task manager

some infos.
i actually no opened tab, only one tiny file in slow download process.
here the task manager infos :

now there is only bugzilla website opened (no download, no other website).
here the taskmaner.
is all this instances are normal ?

Attachment #9169042 - Attachment description: Image2.jpg → taksmanager : only bugzilla opened. but twitter, turbobits still blocked...

hi,
the bug is still happening sometimes without i find the cause.
For now, i pointed 3 websites impacted :
twitter.com and twitter.fr
turbobit.net
www.mycanal.fr

I performed :

  • "Cycle collection completed" (about: memory) but, nothing is solved.
  • "Garbage collection completed" nothing solved
  • "Memory minimization completed" nothing solved

i tried to perform a "show memory report / meesure" but it never ends ! can't have the result !

basic steps of the problem :

i enter "http://www.facebook.com" into the url address bar and hit ENTER key : it runs

i enter "https://www.twitter.com" into the url address bar and hit ENTER key. nothing happen, there is the infinity loop loading animation in the tab icon.

is there a way to trace the network from firefox ?
when there is the prb, i hit F12 and go to network and start the analyze. then what ? it looks like there is nothing hapenngin either.

Hi, michael-remy!

Thanks for your contribution!

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

Another thing you can do is attach the content inside about:support as txt to this issue so devs can research with more specific information.

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

Regards,

Flags: needinfo?(michael-remy)

hi,

i have actually the blockgin (happen in my current session firefox portable 79.0 (32-bit).
you ask me to install the nightly release, that i just did.
But, off course it run because it is a new instance.
Running FF nightly is like running google chrome, edge, opera : open a new instance.

so the nightly release does not solve the issu because it is a 64bits selft install , so it is not "intercourse" with my 32bits portable current instance (not detected at all, not reissue my session, not re-use my profil at all).
So the nightly 81.0a1 (2020-08-17) (64-bit) cannot help me until i start it at morning instead of FF.

is there a "tracert" i can do into firefox to track the query between the enter key and the loop animated icon ?

Flags: needinfo?(michael-remy)

Hi Michael,

Thanks so much for all of the info. Unfortunately, I wasn't able to reproduce the bug either but I've chosen a component for this bug in hope that someone with more expertise may look at it. We'll wait for their answer. If you consider that there's another component that's more proper for this case you may change it.

Regards, Flor.

Component: Untriaged → Netmonitor
Product: Firefox → DevTools
See Also: → 1659086

hi,
the problem still happen sometimes; i'm using the 80.0.1 (32-bit) release.
is there a tool or log feature i can activate to help you solve the problem ?

by example, once i click on a bookmark or validate an url in the address bar, it might be several step to track-by-track to the net to log , aren't ?
Maybe ff checks differents step....

Hello Micheal,
Is the devtools panel open when you see the issue occurring?

Thanks

Flags: needinfo?(michael-remy)

by "devtools panel", you mean the tools from F12 key ? then yes, it's working. i tried fire the network analyze but nothing happened.

Flags: needinfo?(michael-remy)

Thanks Micheal.

Does not look like a devtools issue, I'll move this to the network component.

Component: Netmonitor → Networking
Product: DevTools → Core

Hi Michael,

Could you try to get the http log when you see this happening?
I think we also need the logs from child processes. Please see the steps below.

  1. Open windows command line tool.
  2. Go to firefox's folder. In my case it's: C:\Program Files\Firefox Nightly.
  3. Type set MOZ_DISABLE_CONTENT_SANDBOX=1
  4. Run firefox.exe.
  5. Capture the log when the issue happens. When you click stop logging, you should be able to see logs created by child processes. The file name is like log.txt-child.xxxxx.moz_log.

Thanks.

Flags: needinfo?(michael-remy)

hello Kershaw Chang !
it happened again.
i did 3 differents logs (about 10s--30s each time)
log 1 trying to visit https://www.mycanal.fr/live/
log 2 trying to visit https://twitter.com
log 3 (idem) trying to visit https://twitter.com

i hope it can help you to find the issue.
here are the files (added in attached)

Flags: needinfo?(michael-remy)

log1

log2

log3

i did a fourth one log4

log4

this time i manager to screencast the video of the bug !
i tried to go to https://www.mycanal.fr/live/ and nothing happen... the loop animation again...
i looked at the networking tool... nothing for me.

then i use google chrome and it works fine there ...
i really don't understand what is happening to firefox sometimes....
a longtime bug ! (more than 6 months)

here the MP4 video.

Attached video firefix_Bug 1658192.mp4

firefix_Bug 1658192

another video of the bug

Kershaw, do you have time to look at this?

Flags: needinfo?(kershaw)

It seems that a service worker is involved here.
All 4 logs shows that the http channels are redirected to a service worker.
As the example below, a new redirect channel 1E390024 is created since nsHttpChannel::RedirectToInterceptedChannel() is called.
After nsHttpChannel::SetupReplacementChannel() is done, there is no logs for this new channel. It seems this new channel is never opened.

Andrew, do you probably have an idea here?

020-10-12 19:31:40.845000 UTC - [Parent 13824: Main Thread]: D/nsHttp nsHttpChannel::Connect [this=1A953800]
2020-10-12 19:31:40.845000 UTC - [Parent 13824: Main Thread]: V/nsHttp Creating HttpBaseChannel @1E390000
2020-10-12 19:31:40.845000 UTC - [Parent 13824: Main Thread]: E/nsHttp HttpBaseChannel::Init [this=1E390000]
2020-10-12 19:31:40.845000 UTC - [Parent 13824: Main Thread]: E/nsHttp host=www.canalplus.com port=-1
2020-10-12 19:31:40.845000 UTC - [Parent 13824: Main Thread]: E/nsHttp uri=https://www.canalplus.com/live/
2020-10-12 19:31:40.845000 UTC - [Parent 13824: Main Thread]: D/nsHttp nsHttpChannel::SetupReplacementChannel [this=1A953800 newChannel=1E390024 preserveMethod=1]
Flags: needinfo?(kershaw) → needinfo?(bugmail)

Hi Michael,

Thanks for the logs.
Could you try to do the steps in https://support.mozilla.org/en-US/kb/twitter-isnt-working-firefox and see if this happens again?

One thing in the log that also caught my eye. It seems there was something big downloading in the background at the same time when you opened https://www.mycanal.fr/live/ and https://twitter.com. Not sure if this is related.

2020-10-12 19:31:41.470000 UTC - [Parent 13824: Main Thread]: D/nsHttp nsHttpChannel::OnDataAvailable [this=02341000 request=19A9D300 offset=157347476 count=16384]

2020-10-12 19:45:07.701000 UTC - [Parent 13824: Main Thread]: D/nsHttp nsHttpChannel::OnDataAvailable [this=02341000 request=19A9D300 offset=173854356 count=16384]
Flags: needinfo?(michael-remy)

hi,

ok i will try this procedure the next time it will happen (if it happen again because i already update to 81.0.2 (32-bit).

As i said, not ALL website are blocked, only a few ones. And very often this both twitter and Mycanal (official tv channel).
i don't know what you call a "big downloading", but during this log, i had only a very slow downling file of 200MB.

i don't know if it can help you, but these both website are in the top5 of what i visit a lot every day, manytimes without closing my firefox instance (only closing tab many times.. in a day for the same site )

Flags: needinfo?(michael-remy)

hi,

i have the case for twitter, so i went to about:serviceworkers , i saw it then i unregistered it, then it fixed the blocking !
i will retry it the time for other site blocking, so don't close the ticket.

question : what are all thats list of website ? there are a lot ! even some which domain doen't exist anymore and also there are unwanted one like spyware or adware ! Can i delete all without any problem ?

(In reply to Michael REMY from comment #29)

hi,

i have the case for twitter, so i went to about:serviceworkers , i saw it then i unregistered it, then it fixed the blocking !
i will retry it the time for other site blocking, so don't close the ticket.

question : what are all thats list of website ? there are a lot ! even some which domain doen't exist anymore and also there are unwanted one like spyware or adware ! Can i delete all without any problem ?

I am not a service worker expert, but I think deleting them should not break any website.

Component: Networking → DOM: Service Workers
Status: UNCONFIRMED → NEW
Ever confirmed: true

I believe I have been sporadically experiencing this bug for many months now.

When it occurs, most pages in the browser hang indefinitely in the loading stage, even though the network connection is fine. Sometimes the network log in the developer tools shows the request being blocked with the status NS_BINDING_ABORTED, as reported in bug 1673534. Other times, it just shows the request with nothing loaded and no status.

I've tried removing service workers for the affected websites; sometimes it seems to help (and pages start to load until the problem comes back 20 seconds later) and sometimes it seems to make no difference. Similarly, closing and reopening the browser sometimes seems to help and sometimes does not.

Attached is a log where I attempted to load nytimes.com while experiencing this bug; the loading indicator in the favicon spun, but the page stayed blank and the network log in the developer tools showed the request with nothing loaded and no status.

Please let me know what other information I should collect the next time this happens again.

I am running Firefox 88.0b3 on macOS 11.2.2.

I just encountered this bug again (while trying to use wiki.linuxfoundation.org, which doesn't use service workers). This time, I took a video including the developer tools network log. The video doesn't show the status of NS_BINDING_ABORTED, but I saw it the previous time I tried to load the site.

This is the HTTP log corresponding to the video I just uploaded.

hi,

i'm the original report of this bug many months ago.
Since i've been told to to this tips (see below), it never happened again, never.

so the tip is :

  • go to about:serviceworkers
  • unregister each item !

The first time i went to this page, i got thousand of website there ! i don't know why neither when they subscribe a "service worker" here, but they constantly performed it !
So now, each week, i clean them all. If i wait 1 month, there are already more than 100 !
I don't know what it the permission they have, but even when i clean the cookie for a webiste, it managed to come back and re-register itself without my autorisation !

Since clean all each week, i have no problem at all.
Service Workers were the ill at my home!

Unregistering of all serviceworkers (go to about:serviceworkers - unregister each item) does NOT work for me.

reproducability: near 100% on my local machine after PC reboot (but yesterday it unhangs after a few hours, now it hangs again)
after auto-update to 90.0.1
run firefox and open any site (not help: reloading firefox, reloading PC, disabling avast antivirus, chaning )

My firefox hungs on white page, and sometimes show NS_BINDING_ABORTED http://prntscr.com/1e1bc5d

any site (by domain - for example "https://bugzilla.mozilla.org/" or "mail.ru" \ or by IP - for example "192.168.1.1") is not loaded and not renders any error, i.e. blank white

But first (after startup) request to page "mail.ru" renders broken content i.e. page loaded some data (and partially UI) and go to invalid state, then after reloads this page it not renders any UI (white page and no errors in UI)

In options firstly it show "Checking for updates" http://prntscr.com/1e19mpv
then after a few minutes it show "is up to date" http://prntscr.com/1e1d7jl

In about - Checking for updates https://image.prntscr.com/image/59RtH7YyRl6em7v0tKsdYg.png

Any other browser or network app is work

Extensions (like VPS or OneTab) is not work too (when ff in broken state, i.e. hangs pages)

p.s. Sorry, my FF instance was buggy due to OneTab (it has many tabs), and after disabling it - FF work (when enabling - FF does not load pages)

It seems there is nothing really actionable here. Feel free to file a new bug if something does not work as expected and thanks for the support!

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(bugmail)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: