Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

iOS and TLS: Error -9807



  • Hello,

    When I try to launch my application on an iPhone, I get the following error messages:

    May 30 07:16:39 UserEventAgent(MemoryMonitor)[29] <Error>: missed SYSPROTO_EVENT event, buffer not big enough
    May 30 07:16:39 OTACrashCopier(CFNetwork)[74] <Error>: Connection 1: default TLS Trust evaluation failed(-9807)
    May 30 07:16:39 OTACrashCopier(CFNetwork)[74] <Error>: Connection 1: TLS Trust encountered error 3:-9807
    May 30 07:16:39 OTACrashCopier(CFNetwork)[74] <Error>: Connection 1: encountered error(3:-9807)
    May 30 07:16:39 OTACrashCopier(CFNetwork)[74] <Error>: Task <B3AF8F2B-51B4-4EA6-B1DC-52994081CD1D>.<0> HTTP load failed, 0/0 bytes (error code: -1202 [3:-9807])
    May 30 07:16:39 OTACrashCopier(CFNetwork)[74] <Error>: NSURLConnection finished with error - code -1202
    May 30 07:16:40 kbd(KeyboardServices)[340] <Error>: -[_KSUserWordsSynchroniser accountDidChange:]_block_invoke  Disabling syncing if necessary as no compatible account found
    May 30 07:16:46 thermalmonitord[60] <Error>: <Error> could not find `pkg-avg-limiter-input-w2r property
    May 30 07:16:46 thermalmonitord[60] <Error>: <Error> Failed to read `pkg-avg-limiter-input-w2r
    

    On ios simulator, I have no problem.

    In the plist file, I have defined this:

    <key>NSAppTransportSecurity</key>
    <dict>
                <key>NSAllowsArbitraryLoads</key>
                <true/>
    </dict>
    

    So what's wrong (Qt 5.15.2) ?

    Thank you!


  • Lifetime Qt Champion

    Hi,

    Are you connecting to an http service that switched to https ?


Log in to reply