Bug 432271
| Summary: | konqueror cannot connect to bugzilla - SSL negotiation failed. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Orion Poplawski <orion> | ||||||
| Component: | qt | Assignee: | Than Ngo <than> | ||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | rawhide | CC: | gbcox, kevin, ltinkl, mefoster, rdieter | ||||||
| Target Milestone: | --- | Keywords: | Reopened | ||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | 4.3.4-10.fc9 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2008-04-02 13:49:48 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Orion Poplawski
2008-02-10 19:33:14 UTC
Ugh, that's supposed to be fixed in kdelibs-4.0.1-1+ builds, see also bug #429846 (or at least one other openssl-related issue). fwiw, bugzilla.redhat.com worksforme. Does konq -> Settings -> Configure Konqueror -> WebBrowsing -> Crypto -> OpenSSL tab, "Test" button report success or faiilure? "Test" button reports success. Issue still exists in: kdebase-4.0.1-3.fc9.i386 kdelibs-4.0.1-6.fc9.i386 FWIW Firefox isn't working at all for me, and I'm just trying to get to work using the Alpha distribution. I'll look to see if a bug exists for that... Test button works for me too. Still cannot connect with kdebase-4.0.2-2.fc9, just hangs forever. I (still) can't reproduce this. WORKSFORME. Hummmmmmmm...I just tried again and it still isn't working...I have never been able to get it to work with F9 Alpha, and I've been keeping up with updates on a daily basis. Rex, did you try http://mail.google.com? When I try to connect to that, I get: An error occurred while loading http://mail.google.com: Could not connect to host www.google.com: SSL negotiation failed. and when I try bugzilla, it just hangs... Firefox, otoh is working fine now... early on had some issues, but those have been corrected via updates. I'm wondering if there is any correlation with the SSL problems with kopete? Just a thought... both bugzilla, gmail work for me. wierd. Looks like this has been reported upstream and affects multiple distros: https://bugs.kde.org/show_bug.cgi?id=155564 Same symptoms, possible tie in to the reported kopete issue. Some folks don't have the issue, but majority seem to have it. Wonder if there is a hardware dependency - I'm running AMD64 and having the issue. Maybe an OpenSSL bug? I remember XChat being hit by similar "SSL negotiation fixed" errors and an OpenSSL patch fixed it, maybe the fix was not complete? Oops, I mean "SSL negotiation failed" errors of course, not "fixed". ;-) Did a clean install of F9 Beta hoping that maybe something had gotten corrupted during the install of the Alpha and a fresh install with beta would resolve. Same result: An error occured while loading... Could not connect to host www.google.com SSL negotiation failed Has anyone else done a fresh install from the beta DVD and gotten this to work? i cannot reproduce with latest rawhide. it seems fixed in rawhide. Still just hangs forever(?) for me on today's rawhide. Here's some actual information from .xsession-errors:
konqueror(3809) LocalDomainUriFilter::filterUri:
KUrl("https://bugzilla.redhat.com/")
konqueror(3809) FixHostUriFilter::filterUri: FixHostUriFilter::filterUri:
KUrl("https://b
ugzilla.redhat.com/")
konqueror(3809) KonqMainWindow::openFilteredUrl: url
"https://bugzilla.redhat.com/" filt
ered into KUrl("https://bugzilla.redhat.com/")
konqueror(3809) KonqMainWindow::openUrl: KonqMainWindow::openUrl : url = '
KUrl("https://b
ugzilla.redhat.com/") ' mimeType=' "" req=
"[typedUrl=https://bugzilla.redhat.com/ newT
abInFront]" ' view= QObject(0x0)
konqueror(3809) KonqMainWindow::openUrl: trying openView for
KUrl("https://bugzilla.redha
t.com/") (mimeType "" )
konqueror(3809) KonqMainWindow::openUrl: Creating new konqrun for
KUrl("https://bugzilla.
redhat.com/") req.typedUrl= "https://bugzilla.redhat.com/"
konqueror(3809)/kparts KParts::BrowserRun::scanFile: BrowserRun::scanfile
KUrl("https://bu
gzilla.redhat.com/")
konqueror(3809)/kio (Slave) KIO::Slave::createSlave: createSlave ' "https" ' for
"https:/
/bugzilla.redhat.com/"
konqueror(3809)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote:
Listening on
"local:/tmp/ksocket-orion/konquerorwy3809.slave-socket"
klauncher(3600)/kio (KLauncher) KLauncher::requestSlave: KLauncher: launching
new slave "
kio_http" with protocol= "https" args= ("https",
"local:/tmp/ksocket-orion/klauncherMT36
00.slave-socket", "local:/tmp/ksocket-orion/konquerorwy3809.slave-socket")
kdeinit4: Got EXEC_NEW 'kio_http' from launcher.
kdeinit4: preparing to launch
klauncher(3600)/kio (KLauncher) KLauncher::processRequestReturn: "kio_http" (pid
4315) up
and running.
QSslSocket: cannot find ssl library: QLibrary::load_sys: Cannot load ssl
(libssl.so: cannot open shared object file: No such file or directory).
kio_http(4315)/kio (kioslave) KIO::SlaveBase::checkCachedAuthentication:
SlaveBase::checkCachedAuthInfo window = 52428801 url =
"https://bugzilla.redhat.com/"
kded(3602)/kio (KPasswdServer) KPasswdServer::checkAuthInfo:
KPasswdServer::checkAuthInfo: User= "" , WindowId = 52428801
kio_http(4315) HTTPProtocol::httpOpen: ============ Sending Header:
kio_http(4315) HTTPProtocol::httpOpen: "GET / HTTP/1.1"
kio_http(4315) HTTPProtocol::httpOpen: "Connection: Keep-Alive"
kio_http(4315) HTTPProtocol::httpOpen: "User-Agent: Mozilla/5.0 (compatible;
Konqueror/4.0; Linux) KHTML/4.0.3 (like Gecko) Fedora/4.0.3-1.fc9"
kio_http(4315) HTTPProtocol::httpOpen: "Accept: text/html, image/jpeg,
image/png, text/*, image/*, */*"
kio_http(4315) HTTPProtocol::httpOpen: "Accept-Encoding: x-gzip, x-deflate,
gzip, deflate"
kio_http(4315) HTTPProtocol::httpOpen: "Accept-Charset: utf-8, utf-8;q=0.5, *;q=0.5"
kio_http(4315) HTTPProtocol::httpOpen: "Accept-Language: en-US, en"
kio_http(4315) HTTPProtocol::httpOpen: "Host: bugzilla.redhat.com"
kio_http(4315)/kssl KIO::TCPSlaveBase::disconnectFromHost:
kio_http(4315)/kssl KIO::TCPSlaveBase::connectToHost: before connectToHost:
Socket error is 0 , Socket state is 0
kio_http(4315)/kssl KIO::TCPSlaveBase::connectToHost: after connectToHost:
Socket error is 0 , Socket state is 1
kio_http(4315)/kssl KIO::TCPSlaveBase::connectToHost: after waitForConnected:
Socket error is 0 , Socket state is 3 , waitForConnected returned true
QSslSocket: cannot call unresolved function SSLv3_client_method
QSslSocket: cannot call unresolved function SSL_CTX_new
QSslSocket: cannot call unresolved function ERR_get_error
QSslSocket: cannot call unresolved function ERR_error_string
knotify(3634) KNotify::event: 29 ref= 0
Looks like it's failing to find the ssl library.
Let's keep further comment/dialog upstream @ http://bugs.kde.org/155564 please. Created attachment 299948 [details] strace of konqueror to mail.google.com Kevin... Attaching results of: strace konqueror 2 target url: mail.google.com Received following error messsage: An error occurred while loading http://mail.google.com: Could not connect to host www.google.com: SSL negotiation failed. Created attachment 299951 [details]
strace of konqueror to mail.google.com
Correct log file...ignore previous.
Thanks for the log, unfortunately that doesn't enlighten us either. :-( The KDE architecture is biting us there, all the SSL calls happen in the kio_http ioslave, so all Konqueror gets is the error message. :-( Back to the drawing board... Discussion is moving forward in the upstream bug. Look there... From the upstream bugzilla: ------- Additional Comment #31 From Orion Poplawski 2008-04-01 22:32 ------- I think it's a Qt issue. qt-x11-opensource-src-4.3.4/src/network/qsslsocket_openssl_symbols.cpp:257: QLibrary libssl(QLatin1String("ssl")); if (!libssl.load()) { // Cannot find libssl qWarning("QSslSocket: cannot find ssl library: %s.", qPrintable(libssl.errorString())); return false; } Seems like this needs to be libssl(QLatin1String("ssl"),SSL_VERSION) with SSL_VERSION = 7 in Fedora devel. So it's asking QLibrary to load "libssl.so". Thanks Orion, this looks fairly easy to patch. Should be fixed in qt-4.3.4-10.fc9, please test. http://koji.fedoraproject.org/koji/taskinfo?taskID=543345 This is also likely to fix the SSL-related errors with Kopete. it's similar bug in kdelibs that we already fixed. Good work Orion, thanks. Confirmed fixed, thanks to Gerald Cox. *** Bug 436974 has been marked as a duplicate of this bug. *** |