Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-13606

QHostInfo::lookupHost() returns "Host not found" when the Qt application tries to reconnect to some internet address after n/w roaming(WLAN->GPRS->WLan) or forceful disconnection from ConnectionManager

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 4.6.3
    • Network: DNS
    • None
    • Symbian^3 Wk33 CPwk34 Qt 4.7

    Description

      Whenver the user Disconnects the connection from "Connection Manager" we get the signal disconnected from the socket and after few seconds our Qt Application is trying to reconnect to the n/w again, the connection is successful but the Socket Connection never succeeds and our application goes into the reconnection loop. The connection eventually is establised after 20-30 minutes, why does it happen like this? I thought that if we close and destroy all the old QSockets and create fresh sockets again the connection should happen all the time but again the DNS resolving is failing here also.
      Same behaviour is observed with N/W roaming between WLAN->GPRS->WLAN.

      We really should look into the QHostInfo::lookupHost() API this seems to be problematic in case of n/w roaming and forceful disconnection.
      This is another SHOWSTOPPER for CP and OMB.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              earthdomain Earth Domain (Inactive)
              yogeshpande Yogesh Pande
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes