Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-565

QNetworkSession::open() / waitForOpened() does not work with an active configuration on Symbian

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • None
    • 1.0.2
    • Bearer Management
    • None
    • NokiaQtSDK
      Windows 7 x64
      E51 (Qt 4.6.3 + QtMobility 1.0.2)
      E52 (Qt 4.6.3/4.7.0 + QtMobility 1.0.2)
      N97 (Qt 4.6.3 + QtMobility 1.0.2)
    • d238b0ba236da4c3c33c0707d8dd6f5e5903d6c0

      Steps to reproduce:
      1. Open phone browser with specific access point
      2. Try attached application with the same access point

      If I'm using an active configuration (WLAN already open), the QNetworkSession::waitForOpened(-1) returns "Unknown session error". Sometimes (very rarely) I have also seen the "The specific configuration cannot be used." error message. This is a critical issue for us because our Qt application is unable to connect to the Internet when the device has already open WLAN (browser/chat/mail etc.) and 3G (UIWidgets) connections.

      In addition, we have faced problems with network destinations. My device has an active connection (Internet browser) through network destination called "Internet", which contains 7 access points (e.g. wlan_1, wlan_2, 3g_1, ...). If I try to open QNetworkSession with this same destination I get the "Unknown session error" message. It seems like it just tries the first one in the list, which is wlan_1, and stops after it notices that I cannot be used.

      The device supports this feature because I can see that when opening 2 applications (Phone default browser + Opera) they both can utilize the same network connection.

      If you need any additional details let me know.

        1. qnetworksession.diff
          0.5 kB
          Ville Pernu
        2. httptest_src.zip
          5 kB
          Tuomo Timonen
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vpernu Ville Pernu
            tuomo_timonen Tuomo Timonen
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes