Closed Bug 2036005 Opened 6 months ago Closed 5 months ago

Show TLS error code on the "Secure Connection Failed" error page

Categories

(Core :: Networking, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
152 Branch
Tracking Status
firefox152 --- fixed

People

(Reporter: leggert, Assigned: leggert)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

Attachments

(1 external file)

When a TLS handshake fails with an SSL error that isn't individually registered in the error registry (e.g. SSL_ERROR_DECRYPT_ERROR_ALERT), the nssFailure2 error page shows only generic text with no indication of what specifically went wrong. This makes it hard to diagnose what error triggered the page.

Suggested by :djackson in https://bugzilla.mozilla.org/show_bug.cgi?id=2033073#c17

Assignee: nobody → leggert
See Also: → 2033073

Unregistered SSL errors that fall through to the nssFailure2 config in the
error registry now show their error code (e.g. SSL_ERROR_DECRYPT_ERROR_ALERT)
on the "Secure Connection Failed" error page, consistent with how registered
errors like SSL_ERROR_NO_CYPHER_OVERLAP already behave. Also removes a broken
third descriptionParts entry in the nssFailure2 config that referenced a
Fluent string that was never defined.

Severity: -- → N/A
Priority: -- → P2
Whiteboard: [necko-triaged]
See Also: → 2027209

:manuel, is there anything in this PR that should change?

Flags: needinfo?(manuel)
Pushed by leggert@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/e504e64895d9 https://hg.mozilla.org/integration/autoland/rev/ce31cb127ddc Show SSL error code on nssFailure2 fallback error pages r=kershaw,necko-reviewers

Sorry, didn't have time to look at the patch. Clearing needinfo. I think showing the exact error code is good. Bug 2027209 did the same (roughly at the same time) for some other networking errors. Thanks for working on it and landing :)

Flags: needinfo?(manuel)
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
QA Whiteboard: [qa-triage-done-c153/b152]
Blocks: 2046859
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: