Bug 421675

Summary: SSL Certificate error! when loading a non existent page (404) of a website, that would otherwise accept the handshake
Product: [Applications] Falkon Reporter: kiyoMatsui <kiyo.matsui>
Component: generalAssignee: David Rosca <nowrep>
Status: RESOLVED UPSTREAM    
Severity: minor    
Priority: NOR    
Version: 3.1.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

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.