Closed
Bug 1344340
Opened 7 years ago
Closed 7 years ago
"An unknown error has occurred (804b000c)" appears in the statusbar when loading some sites
Categories
(Core :: Networking, defect)
Core
Networking
Tracking
()
VERIFIED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox51 | --- | unaffected |
firefox52 | --- | unaffected |
firefox-esr52 | --- | unaffected |
firefox53 | --- | unaffected |
firefox54 | + | fixed |
firefox55 | --- | fixed |
People
(Reporter: stephend, Assigned: dragana)
References
()
Details
(Keywords: regression, Whiteboard: [necko-active])
Attachments
(3 files, 1 obsolete file)
52.87 KB,
image/png
|
Details | |
1.03 KB,
patch
|
valentin
:
review+
gchang
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
6.31 KB,
patch
|
mcmanus
:
review-
|
Details | Diff | Splinter Review |
Sorry in advance for not getting a good, specific component; please triage as-needed! Build ID: Build identifier: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0 STR: 1. Load http://www.wired.com (this happens on other sites, like wiki.mozilla.org) 2. Look at the statusbar on the bottom left (default) Actual: Seemingly in-between DNS lookup and the actual 1st connection to the website/resource, you see "An unknown error has occurred (hex)" in the statusbar Expected: Not really sure, to be honest
https://dxr.mozilla.org/mozilla-central/search?q=%22An+unknown+error+has+occurred%22
Severity: major → minor
Product: Toolkit → Firefox
Regression window: https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=08df0e07f0ba02a27e532b25a0d3415166a6bba1&tochange=fb3c9156f1b99c4b08e7c35b98ac27756c357687 fb3c9156f1b9 Patrick McManus — Bug 1340655 - remove h1 pipeline support r=mayhemer
Blocks: 1340655
Severity: minor → normal
Has Regression Range: --- → yes
Has STR: --- → yes
status-firefox51:
--- → unaffected
status-firefox52:
--- → unaffected
status-firefox53:
--- → unaffected
Keywords: regressionwindow-wanted
Summary: "An unknown error has occurred" appears in the statusbar when loading some sites → "An unknown error has occurred (804b000c)" appears in the statusbar when loading some sites
Updated•7 years ago
|
Component: General → Networking
Product: Firefox → Core
Comment 3•7 years ago
|
||
0x804b000c is NS_ERROR_NOT_CONNECTED, by the way.
Comment 4•7 years ago
|
||
Thanks for the research, but I'm going to disagree with the regression analysis - my testing shows this was introduced with bug 1340164 - which makes a lot more sense based on what the patches changed. using gecko-dev git checkout a980860d80cca1a2418d46ee0be9f80a921e1e4e~1 this is the cset before 1340655 and I can still see the bug git checkout 29f090a0d67b4108293a35f8afe4e6395df18209~1 this is the cset before 1340164 and I can't see the bug (this is a bit confusing because a980860d80cca1a2418d46ee0be9f80a921e1e4e~1 is 29f090a0d67b4108293a35f8afe4e6395df18209 .. they were landed back to back by coincidence)
Assignee | ||
Comment 5•7 years ago
|
||
The bug to blame is 1343600. I have added 2 new socket events: so 0x804b000c is NS_NET_STATUS_TLS_HANDSHAKE_STARTING ans 0x804b00d is NS_NET_STATUS_TLS_HANDSHAKE_ENDED. I will update the test shown.
Assignee | ||
Comment 6•7 years ago
|
||
I am not sure about working. If you have a better suggestion I will change it.
Assignee: nobody → dd.mozilla
Status: NEW → ASSIGNED
Attachment #8843881 -
Flags: review?(valentin.gosu)
Attachment #8843881 -
Flags: review?(valentin.gosu) → review+
Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Whiteboard: [necko-active]
Comment 7•7 years ago
|
||
Why did you use duplicated value with NS_ERROR_NOT_CONNECTED/NS_ERROR_CONNECTION_REFUSED? https://dxr.mozilla.org/mozilla-central/rev/8d026c60151005ad942e3d4389318fe28a0c8c54/xpcom/base/ErrorList.h#207,210 https://dxr.mozilla.org/mozilla-central/rev/8d026c60151005ad942e3d4389318fe28a0c8c54/xpcom/base/ErrorList.h#337-338 Didn't it confuse the status UI?
Flags: needinfo?(dd.mozilla)
Assignee | ||
Comment 8•7 years ago
|
||
(In reply to Masatoshi Kimura [:emk] from comment #7) > Why did you use duplicated value with > NS_ERROR_NOT_CONNECTED/NS_ERROR_CONNECTION_REFUSED? > https://dxr.mozilla.org/mozilla-central/rev/ > 8d026c60151005ad942e3d4389318fe28a0c8c54/xpcom/base/ErrorList.h#207,210 > https://dxr.mozilla.org/mozilla-central/rev/ > 8d026c60151005ad942e3d4389318fe28a0c8c54/xpcom/base/ErrorList.h#337-338 > > Didn't it confuse the status UI? Status codes do not have anything to do with errors. All almost all our status codes are some errors as well: NS_NET_STATUS_RESOLVING_HOST is equal to NS_BINDING_REDIRECTED, NS_NET_STATUS_CONNECTED_TO is equal to NS_BINDING_RETARGETED.... This status code are only different phases of a transaction and not the final status/error of a transaction. This is a bit confusing, but that is a different bug. And here is a comment saying that: https://dxr.mozilla.org/mozilla-central/rev/8d026c60151005ad942e3d4389318fe28a0c8c54/xpcom/base/ErrorList.h#326
Flags: needinfo?(dd.mozilla)
I think the NS_NET_STATUS_ codes used to be associated to SUCCESS(code). I don't remember when this changed, or why.
Comment 10•7 years ago
|
||
Pushed by cbook@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/96f98abacba4 add text for NS_NET_STATUS_TLS_HANDSHAKE_STARTING and NS_NET_STATUS_TLS_HANDSHAKE_ENDED tansport states. r=valentin
Keywords: checkin-needed
Comment 11•7 years ago
|
||
landed with correct bug number now, seems the patch here has the wrong one (bug 1343600)
Assignee | ||
Comment 12•7 years ago
|
||
(In reply to Carsten Book [:Tomcat] from comment #11) > landed with correct bug number now, seems the patch here has the wrong one > (bug 1343600) Thanks!!! Sorry, the other is the bug that caused the regression.
Assignee | ||
Comment 13•7 years ago
|
||
It looks like this have not made it into aurora 54 :(
Comment 14•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/96f98abacba4
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Updated•7 years ago
|
tracking-firefox54:
--- → ?
Assignee | ||
Comment 17•7 years ago
|
||
Comment on attachment 8843881 [details] [diff] [review] bug_1344340.patch Approval Request Comment [Feature/Bug causing the regression]:1343600 [User impact if declined]: At the bottom right corner we show info about state of a connection,e.g. "Connecting to..", "Sending to..". I have added 2 new ones, tls started and tls ended, but I forgot to add text for it. Therefore users see "An unknown error has occurred (804b000c)" [Is this code covered by automated tests?]:no [Has the fix been verified in Nightly?]:yes [Needs manual test from QE? If yes, steps to reproduce]: It is easy to reproduce. I have verified it manually. [List of other uplifts needed for the feature/fix]: None, this one just missed getting into 54 for a little [Is the change risky?]: none [Why is the change risky/not risky?]: This only adds 2 strings [String changes made/needed]: adding 2 strings
Attachment #8843881 -
Flags: approval-mozilla-aurora?
Comment 18•7 years ago
|
||
I wonder why we don't back that out from aurora instead, but I confess I don't fully understand the scope of bug 1343600 and if it needs to be available on 54. If release drivers decide this needs to land in aurora, the sooner it happens the better.
Assignee | ||
Comment 19•7 years ago
|
||
(In reply to Francesco Lodolo [:flod] from comment #18) > I wonder why we don't back that out from aurora instead, but I confess I > don't fully understand the scope of bug 1343600 and if it needs to be > available on 54. > > If release drivers decide this needs to land in aurora, the sooner it > happens the better. We can back it out. Bug 1343600 is a small change and it is no risk to back it out. Bug 1343600 fixes resource timing (https://www.w3.org/TR/resource-timing/), i.e. TLS handshake should be part of connect startStart-connectEnd time but it is not accounted at all.
Assignee | ||
Comment 20•7 years ago
|
||
The timing bug is there from beginning it is not a regression.
Comment 21•7 years ago
|
||
Hi :dragana, I prefer to backout bug 1343600, can you provie a patch to backout 1343600 from aurora?
Flags: needinfo?(dd.mozilla)
Assignee | ||
Comment 22•7 years ago
|
||
Flags: needinfo?(dd.mozilla)
Assignee | ||
Updated•7 years ago
|
Attachment #8843881 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 23•7 years ago
|
||
I am not sure if a review is required. This is only a backup of 1343600.
Attachment #8844855 -
Attachment is obsolete: true
Attachment #8844856 -
Flags: review?(valentin.gosu)
Comment 24•7 years ago
|
||
gary, dragana - you should take this uplift in aurora. it's a trivial followon to a real bugfix in the first 2 days of aurora. It doesn't make sense to make our users wait 6 additional weeks for the timing fix.
Comment on attachment 8844856 [details] [diff] [review] bug_1344340_backup1343600_aurora.patch Review of attachment 8844856 [details] [diff] [review]: ----------------------------------------------------------------- typo in commit message backup -> backout
Attachment #8844856 -
Flags: review?(valentin.gosu) → review+
Comment 26•7 years ago
|
||
Comment on attachment 8844856 [details] [diff] [review] bug_1344340_backup1343600_aurora.patch owner privilege - we need to be be flexible enough to fix stuff like this in the first couple days of aurora.
Attachment #8844856 -
Flags: review+ → review-
Updated•7 years ago
|
status-firefox-esr52:
--- → unaffected
Assignee | ||
Comment 27•7 years ago
|
||
Comment on attachment 8843881 [details] [diff] [review] bug_1344340.patch Approval Request Comment [Feature/Bug causing the regression]:1343600 [User impact if declined]: At the bottom right corner we show info about state of a connection,e.g. "Connecting to..", "Sending to..". I have added 2 new ones, tls started and tls ended, but I forgot to add text for it. Therefore users see "An unknown error has occurred (804b000c)" [Is this code covered by automated tests?]:no [Has the fix been verified in Nightly?]:yes [Needs manual test from QE? If yes, steps to reproduce]: It is easy to reproduce. I have verified it manually. [List of other uplifts needed for the feature/fix]: None, this one just missed getting into 54 for a little [Is the change risky?]: none [Why is the change risky/not risky?]: This only adds 2 strings [String changes made/needed]: adding 2 strings
Attachment #8843881 -
Flags: approval-mozilla-aurora?
Comment 28•7 years ago
|
||
Hi :flod, There are 2 new strings added in the aurora cycle. If we need to take this, are you ok with it?
Flags: needinfo?(francesco.lodolo)
Comment 29•7 years ago
|
||
(In reply to Gerry Chang [:gchang] from comment #28) > Hi :flod, > There are 2 new strings added in the aurora cycle. If we need to take this, > are you ok with it? Your call at this point (see comment 18).
Flags: needinfo?(francesco.lodolo)
Comment 30•7 years ago
|
||
Comment on attachment 8843881 [details] [diff] [review] bug_1344340.patch Add strings to show the status at the bottom right corner. Aurora54+.
Attachment #8843881 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 32•7 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/359c6746a4c6f40347a7c6a3813977c1744ab603
Comment 33•7 years ago
|
||
Thanks all.
Reporter | ||
Comment 34•7 years ago
|
||
Verified FIXED using Build identifier: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•