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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: 5.13.2
    • Fix Version/s: None
    • Component/s: Network
    • Labels:
      None
    • Platform/s:
      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

            Assignee:
            tpochep Timur Pocheptsov
            Reporter:
            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