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

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

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes