I know that if I use following nsurlconnectiondelegate it will be fixed
– connection:willSendRequestForAuthenticationChallenge: – connection:canAuthenti
In my case, this error occurred due to my firewall blocked the required url. it's worked fine after removing firewall restrictions