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

xmlhttprequest always fail after internet reconnection

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 5.8.0
    • Network
    • None
    • Mac OS 10.12

    Description

      Problem looks like https://bugreports.qt.io/browse/QTBUG-17245
      Simple application with one button, which send simple get to https://google.com and logs request status to stdout.
      [tar.gz with application in attachment]
      log

      Запускается /Users/mr_tron/prog/build-testqt-Desktop_Qt_5_8_0_clang_64bit-Debug/testqt.app/Contents/MacOS/testqt...
      QML debugging is enabled. Only use this in a safe environment.
      qml: request status 200
      qml: success
      qml: request status 200
      qml: success
      #####here i disabled wifi
      qml: request status 0  # and as expected request failed
      qml: error
      qml: request status 0
      qml: error
      #####here i enabled wifi and tested with browser, that all works
      ...
      #####long pause after first (after reconection) pressing button "press me"
      ...
      qml: request status 0
      qml: error
      #####and now errors start printing immediatly after pressing button 
      qml: request status 0
      qml: error
      

      Attachments

        Issue Links

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

          Activity

            People

              tpochep Timur Pocheptsov
              d.subbotin Ddenis
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes