Bug 421675 - SSL Certificate error! when loading a non existent page (404) of a website, that would otherwise accept the handshake
Summary: SSL Certificate error! when loading a non existent page (404) of a website, t...
Status: RESOLVED UPSTREAM
Alias: None
Product: Falkon
Classification: Applications
Component: general (show other bugs)
Version: 3.1.0
Platform: Compiled Sources Linux
: NOR minor
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-17 14:36 UTC by kiyoMatsui
Modified: 2020-06-05 00:06 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kiyoMatsui 2020-05-17 14:36:34 UTC
SUMMARY
That "SSL Certificate error!" but it seems to happen when loading a non existent page (404) of a popular website. existing urls of the same website would otherwise accept the handshake. 

STEPS TO REPRODUCE
1. In falkon search for https://www.theguardian.com/exampleBadURL
2. 
3. 

OBSERVED RESULT
output:
[11445:11460:0517/145756.472087:ERROR:ssl_client_socket_impl.cc(941)] handshake failed; returned -1, SSL error code 1, net_error -200

Then:
"SSL Certificate error!" dialog.

EXPECTED RESULT
No handshake failed prompt (for the right reasons of course!)


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: KDE neon 5.18
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.69.0
Qt Version:  5.14.2

ADDITIONAL INFORMATION
Currently can only repro with this site. Doesn't happen with say reddit or with google but does happen with The Guardian (Guardian is a major newspaper in the UK). It also doesn't occur if an instance of the page is open on another Tab. Something is off!
Comment 1 kiyoMatsui 2020-05-27 20:00:12 UTC
Having looked at the issue this is out of the scope of falkon and more of a QtWebEngine issue. You will also get the same behavior using the simple browser sample.
Comment 2 Christoph Feck 2020-06-05 00:06:25 UTC
Thanks for the update; changing status.