Skip to content

TLS error #47

@KawanByte

Description

@KawanByte

Platform version:xcode15,iphone use ios 18
Task <9C10A1BF-1007-4F32-8ED4-14572C170FEB>.<2> finished with error [-1202] Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “10.254.163.191” which could put your confidential information at risk." UserInfo={NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, NSErrorPeerCertificateChainKey=(
"<cert(0x10b0ed200) s: localhost i: localhost>"
), NSErrorClientCertificateStateKey=0, NSErrorFailingURLKey=https://10.254.163.191:8443/message/50BA29C41A9049A79F7590588F9F62C3/90957946, NSErrorFailingURLStringKey=https://10.254.163.191:8443/message/50BA29C41A9049A79F7590588F9F62C3/90957946, NSUnderlyingError=0x300aced90 {Error Domain=kCFErrorDomainCFNetwork Code=-1202 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x3035412c0>, _kCFNetworkCFStreamSSLErrorOriginalValue=-9813, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9813, kCFStreamPropertySSLPeerCertificates=(
"<cert(0x10b0ed200) s: localhost i: localhost>"
)}}, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask <9C10A1BF-1007-4F32-8ED4-14572C170FEB>.<2>"
), _kCFStreamErrorCodeKey=-9813, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <9C10A1BF-1007-4F32-8ED4-14572C170FEB>.<2>, NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x3035412c0>, NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “10.254.163.191” which could put your confidential information at risk.}
Connection 6: default TLS Trust evaluation failed(-9813)
Connection 6: TLS Trust encountered error 3:-9813
Connection 6: encountered error(3:-9813)
Task <37830E6C-4E6B-46BF-A344-8171010DE671>.<3> HTTP load failed, 0/0 bytes (error code: -1202 [3:-9813])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions