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

HTTP GET request failes if PC switches from Ethernet to Wi-Fi

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.3.1, 5.4.0 Beta
    • None
    • windows
    • I50f23c62804f29370915eecac2c92301c5f3ead2

    Description

      QNetworkAccessManager continue using old configuration (in this case Ethernet) even if PC is switched to the Wireless.

      Attached example reproduces it:
      Steps to reproduce:
      1) Disconnect the Wi-Fi from your machine.
      2) Make sure only LAN Ethernet cable is connected to your machine and internet is there.
      3) Launch the application.
      4) Able to see the below messages in application window.
      Initiate HTTP GET Request HTTP GET Reply Code: 0 and Name: Unknown error
      5) Disconnect the LAN Ethernet cable from your machine and internet will be off.
      6) Then you will start seeing below messages.
      The specified configuration cannot be used
      7) Now connect to Wi-Fi and even then you will see the same messages.
      The specified configuration cannot be used

      Attachments

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

        Activity

          People

            lpotter Lorn Potter
            qtcomsupport Qt Support
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes