NSURLConnection completed with error code -1202

When I find the login server, I get this error message:

NSURLConnection terminated with error code -1202.

I added security for porting applications in my Plist, and I allowed all invalid YES certificates.

+5
source share
1 answer

Corresponds to the query Google Search -1202 = NSURLErrorServerCertificateUntrusted:

Help links:

REF: Undocumented NSURLErrorDomain Error Codes (-1001, -1003, and -1004) using StoreKit

Check the validity of the certificate on the server side, as this may be one possibility for this error .

In addition, NSURLConnection disabled, I suggest updating it through NSURLSession

+3
source

Source: https://habr.com/ru/post/1273142/


All Articles