Domain=NSURLErrorDomain Code=-1005 "The network connection was lost." UserInfo={_kCFStreamErrorCodeKey=54, NSUnderlyingError=0x2834c47b0 {Error Domain=kCFErrorDomainCFNetwork Code=-1005 "(null)" UserInfo={_kCFStreamErrorCodeKey=54, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask .<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask .<1>" ), NSLocalizedDescription=The network connection was lost., NSErrorFailingURLStringKey=https://xxx.xxxx.com/xxxx/xxxxx, NSErrorFailingURLKey=https://xxx.xxxx.com/xxx/xxx, _kCFStreamErrorDomainKey=1} [-1005]
Got above error When I am firing api using AFNetworking. I have configured "App Transport Security setting" to allow arbitrary loads. Increased timeout interval of AFNetworking request serializer to 100 seconds. But none helped.