fenix icon indicating copy to clipboard operation
fenix copied to clipboard

If time is incorrectly set, the error page shows "Address not found" instead of "Bad ssl certificate, check your time"

Open ghost opened this issue 6 years ago • 12 comments

Set my time to be 2 Aug instesd of 2 Sep and tried https://www.google.com. Error page shows "address not found, check if you typed ww instead of www or check if you have a working internet connection." Trying the same thing with Chrome, and other Chromium based browsers showed Your clock is behind, bad ssl certificate

Screenshot_2020-09-02-17-20-51

┆Issue is synchronized with this Jira Task

ghost avatar Sep 02 '20 06:09 ghost

Moved to bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1681814

Change performed by the Move to Bugzilla add-on.

amedyne avatar Dec 10 '20 19:12 amedyne

This is unlikely to be a GV issue. Error pages lives in A-C

kbrosnan avatar Dec 10 '20 20:12 kbrosnan

On Firefox 84.1.1, I get a "cannot securely connect" screen (also, add-on installation and Sync activation fails). Trying to continue regardless does nothing (or is thwarted by https://github.com/mozilla-mobile/fenix/issues/10721). Would be nice to get a "check your time" message.

madig avatar Dec 19 '20 22:12 madig

See: https://github.com/mozilla-mobile/fenix/issues/17373 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 17 '21 23:06 stale[bot]

I was able to reproduce this issue. I got the "Secure Connection Failed" screen, on the 6/24 Nightly build with Google Pixel (Android 10).

lobontiumira avatar Jun 24 '21 11:06 lobontiumira

This will need UX for the string and options available for the buttons ( just show an error message or add an option for button click to take you to date/time settings). Also, maybe GV will be needed because I do not know if WebRequestError has a special type for ERR_CERT_DATE_INVALID ?

mcarare avatar Jun 25 '21 11:06 mcarare

@agi Any thoughts on this?

amedyne avatar Jul 12 '21 14:07 amedyne

@amedyne on GeckoView example I see ERROR_SECURITY_BAD_CERT which seems a little bit better than Address not Found but still not great, I think you are right, we should expose a more fine grained error like "CERT_DATE_INVALID", I'll reopen the GV bug.

agi avatar Jul 12 '21 15:07 agi

We can use this bug to support the new error type once it lands in GV.

agi avatar Jul 12 '21 15:07 agi

Thank you @agi will be waiting for your go signal once the GV change is ready.

amedyne avatar Jul 12 '21 16:07 amedyne

See: https://github.com/mozilla-mobile/fenix/issues/17373 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 29 '22 11:01 stale[bot]

Moved to bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1806512

Change performed by the Move to Bugzilla add-on.

cpeterso avatar Dec 19 '22 20:12 cpeterso