Closed Bug 1380265 Opened 9 years ago Closed 8 years ago

content encoding error

Categories

(Core :: Networking: HTTP, defect, P3)

54 Branch
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: zjtwkgkz, Assigned: mayhemer)

Details

(Whiteboard: [necko-triaged])

Attachments

(2 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:54.0) Gecko/20100101 Firefox/54.0 Build ID: 20170628075643 Steps to reproduce: Every time I try to open my Youtube feed page (https://www.youtube.com/feed/subscriptions/). Actual results: I get a content encoding error. If I reload the page, then it loads fine. Expected results: Page should have loaded. Works fine in Safari.
Component: Untriaged → Networking: HTTP
Product: Firefox → Core
Does this also happen after disabling any extensions / add-ons and/or with a fresh user profile?
Flags: needinfo?(zjtwkgkz)
My mistake, it's actually an intermittent problem that I can't trigger reliably. I can try to experiment with extensions, but it will take a long time. How do I create another profile?
Flags: needinfo?(zjtwkgkz)
(In reply to zjtwkgkz from comment #2) > My mistake, it's actually an intermittent problem that I can't trigger > reliably. I can try to experiment with extensions, but it will take a long > time. How do I create another profile? https://developer.mozilla.org/en-US/Firefox/Multiple_profiles
Flags: needinfo?(zjtwkgkz)
The issue is so unpredictable, that disabling extensions will never isolate the problem. Besides, I am only using extensions that are verified, and "signed" by Firefox. Surely the browser isn't so fragile.
Flags: needinfo?(zjtwkgkz)
(In reply to zjtwkgkz from comment #4) > The issue is so unpredictable, that disabling extensions will never isolate > the problem. Besides, I am only using extensions that are verified, and > "signed" by Firefox. Surely the browser isn't so fragile. If possible, could you try to capture the HTTP log when this issue happens? https://developer.mozilla.org/en-US/docs/Mozilla/Debugging/HTTP_logging#Using_aboutnetworking Thanks.
Flags: needinfo?(zjtwkgkz)
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
This issue persists and has not been resolved. It's impossible to predict when the error happens, and I don't want to run an HTTP log continuously as it grows by the hundreds of megabytes.
Status: RESOLVED → UNCONFIRMED
Flags: needinfo?(zjtwkgkz)
Resolution: INCOMPLETE → ---
I have determined that using the about:networking HTTP log, PREVENTS the issue from materializing. I just got the error now, and I was able to hit the "Try Again" button over and over, but as soon as I turn on logging, the page loads normally.
do you still see this problem?
Flags: needinfo?(zjtwkgkz)
Please reopen if you are able to find a way to reliably reproduce, or more info about the problem. When you say "a content encoding error" that prevents the page from loading, could you upload a screenshot of that? Thanks!
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago8 years ago
Resolution: --- → INCOMPLETE
I was finally able to capture an http log, but it's huge (29MB of text). What should I look for? I did upload a screenshot.
(In reply to zjtwkgkz from comment #10) > I was finally able to capture an http log, but it's huge (29MB of text). Good you got it! Could you attach the compressed HTTP log?
Attached file firefox http log
Flags: needinfo?(zjtwkgkz)
(In reply to zjtwkgkz from comment #12) > Created attachment 8926598 [details] > firefox http log Thanks. On what Firefox version was this exactly captured and what exactly was the symptoms? (sorry to ask probably once again, I just want to be sure I know what to look at).
The log is from version <57, exact version would be good to know. Looks like the server br encoded response is either broken or we can't handle it: Line 5951: 2017-11-08 22:39:49.768997 UTC - [Main Thread]: D/nsHttp nsHttpCompresssConv 0x124ee6370 ctor Line 5953: 2017-11-08 22:39:49.769007 UTC - [Main Thread]: D/nsHttp nsHttpCompresssConv 0x124ee6370 AsyncConvertData br uncompressed mode 3 Line 5955: 2017-11-08 22:39:49.769038 UTC - [Main Thread]: D/nsHttp nsHttpCompresssConv 0x124ee6370 onstart Line 5956: 2017-11-08 22:39:49.769048 UTC - [Main Thread]: D/nsHttp nsHttpCompressConv 0x124ee6370 OnDataAvailable 1380 Line 5960: 2017-11-08 22:39:49.769065 UTC - [Main Thread]: D/nsHttp nsHttpCompresssConv 0x124ee6370 brotlihandler decompress 1380 Line 5977: 2017-11-08 22:39:49.769192 UTC - [Main Thread]: D/nsHttp nsHttpCompresssConv 0x124ee6370 brotlihandler decompress rv=2 out=0 Line 5979: 2017-11-08 22:39:49.769207 UTC - [Main Thread]: D/nsHttp nsHttpCompresssConv 0x124ee6370 onstop 0 Line 5981: 2017-11-08 22:39:49.769214 UTC - [Main Thread]: D/nsHttp nsHttpCompresssConv 0x124ee6370 onstop brotlihandler rv 804b001b Line 5983: 2017-11-08 22:39:49.769241 UTC - [Main Thread]: D/nsHttp nsHttpCompresssConv 0x124ee6370 dtor Which is the converter the affected channel is using: nsHttpChannel @11b173000 created 2017-11-08 22:39:48.520
The problem is explained fully (including version) in the original bug report. I have since upgraded to Firefox 56.0.2
I'll try to extract a bit more info from the log. What are the extension you have installed, just in case? (When an extension is signed, it doesn't mean there is not a bug in it!). Thanks.
Assignee: nobody → honzab.moz
Status: RESOLVED → REOPENED
Ever confirmed: true
Flags: needinfo?(zjtwkgkz)
Resolution: INCOMPLETE → ---
Status: REOPENED → UNCONFIRMED
Ever confirmed: false
Addons: Adblock Plus + Element hiding Always Preview Safe browsing Xmarks
Flags: needinfo?(zjtwkgkz)
Honza is working on this, I'll leave the priority field for you.
Whiteboard: [necko-triaged]
Not a wide issue -> P3.
Priority: -- → P3
I don't have this issue any more, and I have no idea what fixed it.
Thanks for the update. I believe this was a server issue, but now it's hard to figure out. Sorry I didn't get to it sooner.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: