Bug 45402 - [Qt] QtTestBrowser unable to load http://www.flysas.com
Summary: [Qt] QtTestBrowser unable to load http://www.flysas.com
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: S60 Hardware S60 3rd edition
: P3 Normal
Assignee: Nobody
URL:
Keywords: Qt
Depends on:
Blocks:
 
Reported: 2010-09-08 11:30 PDT by Alexandra Santos
Modified: 2010-11-04 11:12 PDT (History)
2 users (show)

See Also:


Attachments
firefox go to flysas.com trace (111.00 KB, text/plain)
2010-10-28 13:19 PDT, qi
no flags Details
QtTestBrowser go to flysas.com trace (983 bytes, text/plain)
2010-10-28 13:19 PDT, qi
no flags Details
firefox go to scaninavian trace (3.24 KB, application/octet-stream)
2010-10-28 13:20 PDT, qi
no flags Details
QtTestBrowser go to scaninavian trace (2.07 KB, text/plain)
2010-10-28 13:20 PDT, qi
no flags Details
error callstack (2.45 MB, image/bmp)
2010-11-03 13:38 PDT, qi
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandra Santos 2010-09-08 11:30:27 PDT
QtTestBrowser is unable to load the following url: http://www.flysas.com when running on a symbian device.

Steps to reproduce:

1.- Flash the device with symbian 4 platform and qtwebkit 2.1
2.- Install and launch QtTestBrowser
3.- Try to load the following url http://www.flysas.com

Actual Results

SSl handshake error is displayed. Page could not be loaded.

Expected Results:

The above mentioned page would load just fine.
Comment 1 Alexandra Santos 2010-10-26 07:47:33 PDT
This issue is reproducible on symbian 3 with the following stack: Qt 4.7, QtWebkit 2.1 and QtTestBrowser.
Comment 2 Suresh Voruganti 2010-10-26 11:39:26 PDT
Adding dependency to 39121 as this is Basic acceptance test failure for Qtwebkit 2.1
Comment 3 qi 2010-10-28 13:18:10 PDT
On the emulator environment, I used wireshark to trace the internet communication, see attachments.

To comparison, I also trace firefox.

For firefox, it is simple, the browser get content directly.
For our browser, we get 302, redirect to "https://sso.scandinavian.net/SSOSite/IsLoggedIn.aspx?url=http%3a%2f%2fwww.flysas.com%2f". Because the response is coded, I don't know to how to decode to see what's happen inside.

I even forced firefox go to "https://sso.scandinavian.net/SSOSite/IsLoggedIn.aspx?url=http%3a%2f%2fwww.flysas.com%2f", looks like the firefox get response (different with what symbian browser get), and then go back to flysas.com again.
Comment 4 qi 2010-10-28 13:19:12 PDT
Created attachment 72224 [details]
firefox go to flysas.com trace
Comment 5 qi 2010-10-28 13:19:47 PDT
Created attachment 72225 [details]
QtTestBrowser go to flysas.com trace
Comment 6 qi 2010-10-28 13:20:25 PDT
Created attachment 72226 [details]
firefox go to scaninavian trace
Comment 7 qi 2010-10-28 13:20:54 PDT
Created attachment 72227 [details]
QtTestBrowser go to scaninavian trace
Comment 8 qi 2010-11-03 13:36:19 PDT
I try to force QtTestBrowser use Firefox usr-agent string, it doesn't help.
Don't know the reason why server redirect QtTestBrowser to a https page yet.

What I know now is QSslSocketBackendPrivate issue a QAbstractSocket::SslHandshakeFailedError in startHandshake function. See attached callstack.
Comment 9 qi 2010-11-03 13:38:08 PDT
Created attachment 72862 [details]
error callstack
Comment 10 qi 2010-11-04 08:23:53 PDT
Create a bug at http://bugreports.qt.nokia.com/browse/QTWEBKIT-296

Note: Safari also be redirected, but looks ssl shakehand success.

I digged into qsslsockedt_openssl.cpp, found a certificate issue in function startHandshake.
Comment 11 Suresh Voruganti 2010-11-04 11:12:21 PDT
This issue is now tracked at https://bsetpl02.americas.nokia.com/browse/QT-4264.

As this is Qt issue, resolving the error as Invalid.