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

application cannot connect to localhost when network is unreachable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.9.2
    • 5.9.1, 5.10
    • None
    • Ubuntu 16.04.3
      plasma desktop
      NetworkManager

    Description

      steps to reproduce:
      1) unpack the dataset (mymap.tar.gz) somewhere
      2) serve it over http on port 8080 (e.g., using twisted, twistd -n web --path somewhere/mymap --port 8080)
      3) unpack and build the sample
      4) unplug the ethernet cable
      5) run the application

      expected result: blank map. and warnings about

      QHttpNetworkConnectionPrivate::_q_hostLookupFinished could not de-queue request
      

      repeating the steps and skipping 4) will make it work

      Attachments

        1. customMapType.tar.gz
          1 kB
        2. mymap.tar.gz
          593 kB

        Activity

          People

            manordheim MÃ¥rten Nordheim
            paangele Paolo Angelelli
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: