New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Non-overridable certificate error" but page is stuck at 0% #5078
Comments
An error is non-overridable when the website uses HTTP Strict Transport Security (and a response which such a header has been received at some earlier point). I can reproduce this (even with Looks like |
Ah, that makes sense. That's why I was able to "fix it" by opening the URL in a private tab or using
Sure! |
You wrote the next comment in
Yet I'm running Qt 5.11.3 and I still see a blank page if I ignore the error. For example by going to https://expired.badssl.com and choosing "No" when asked to continue. I removed the As for getting the right URL, I thought of saving the last requested URL in |
Actually this is not entirely true 🤔. My main qutebrowser install shows the error page, but it stops showing it with |
Odd. I get an error page with Qt 5.11.2 (can't test .3 easily at the moment) and |
Looks like Qt also has a fix for this in Qt 5.13.2 and 5.12.6: https://codereview.qt-project.org/c/qt/qtwebengine/+/270556 Did you ever find out why you don't get the error page for the common (overridable error) case? Are you on Debian by any chance? |
I'm confused as to whether this solves my issue or not. I understand that the progress will not be stuck at 0% anymore, but I'm not sure the error page will show.
I am in Debian indeed, is there a known problem related to this? What I was able to find out is that I get the error page only with |
There are actually various issues at play here.
|
FWIW I just found and pushed a workaround for the Debian bug. |
Great! I just tested it and it works. Thanks!
Okay, so the version check I removed in #5085 is actually right and my testing was broken because of Debian; so I agree that change is not valid. I will add an extra check for versions prior to 5.13.2/5.12.6 and show the custom error page for non-overridable certificate errors on those cases. |
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882805 See #5078, #3773 (cherry picked from commit d741bdf)
I (accidentally) merged #5085, but at least for the test page, it doesn't work for reasons outlined in #5085 (comment) - @lufte do you know if it works for the cases where you've seen this issue before? |
Manual revert of d741bdf See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882805 See #5078, #3773
I have sporadically seen this issue where I open a new tab and it gets stuck at 0%. If I go check the logs I see
ERROR: Non-overridable certificate error: Server's certificate has expired.
, but without seeing the logs I have no clue of what's going on.I cannot reproduce the issue with
--temp-basedir
nor even by opening the url in a private tab. I have also tried to reproduce it with https://expired.badssl.com/ or with a self signed certificate and a local server, but with no success. Sadly, the site which last caused this issue has been fixed now.Any clue on how to reproduce or when is a certificate error "non-overridable"?
The text was updated successfully, but these errors were encountered: