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

QNetworkAccessManager always fails with 99 (Host unreachable) under ios devices

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.13.2
    • Network
    • None
    • iOS/tvOS/watchOS

    Description

      1) Use QNetworkAccessManager, QNetworkRequest, QNetworkReply to access remote api through https://ip/api/xxx or http://ip/api/xxx under iPad (IOS 12.4), it always return 99. even upgrade iOS to 13.2, the same problem.

      2) Added to info.list:
      NSAllowsLocalNetworking = YES
      NSAllowsArbitraryLoads = YES

      3) Same results by qmake and xCode.

      Attachments

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

        Activity

          People

            tpochep Timur Pocheptsov
            secular_wheel Secular Wheel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes