Reputation: 19790
I know from this question that I can whitelist domains where I know it will be making non HTTPS requests.
However, after whitelisting a few domains, I noticed that there are still a few requests blocked by NSURLRequest
, is there a way to find out which domains are being blocked by it?
Upvotes: 2
Views: 608
Reputation: 10417
If you are making the request, modify your connection:didFailWithError: method and print the URL that failed.
If some third-party library is making the request, set the CFNETWORK_DIAGNOSTICS environment variable to 1 (or 2 or 3).
Upvotes: 4
Reputation: 52592
http requests are not blocked, they are automatically turned into https requests. To find out what is blocked, set a breakpoint in your code where a connection error would be reported.
Upvotes: -3