{"action":"closed","issue":{"url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/2314","labels_url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/2314/labels{/name}","comments_url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/2314/comments","events_url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/2314/events","html_url":"https://github.com/AFNetworking/AFNetworking/issues/2314","id":43624677,"number":2314,"title":"The operation couldn’t be completed only in Wifi with POST method under iOS 8","user":{"login":"Dimillian","id":535509,"avatar_url":"https://avatars.githubusercontent.com/u/535509?v=3","gravatar_id":"","url":"https://api.github.com/users/Dimillian","html_url":"https://github.com/Dimillian","followers_url":"https://api.github.com/users/Dimillian/followers","following_url":"https://api.github.com/users/Dimillian/following{/other_user}","gists_url":"https://api.github.com/users/Dimillian/gists{/gist_id}","starred_url":"https://api.github.com/users/Dimillian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dimillian/subscriptions","organizations_url":"https://api.github.com/users/Dimillian/orgs","repos_url":"https://api.github.com/users/Dimillian/repos","events_url":"https://api.github.com/users/Dimillian/events{/privacy}","received_events_url":"https://api.github.com/users/Dimillian/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":72,"created_at":"2014-09-23T12:46:40Z","updated_at":"2015-05-02T20:41:46Z","closed_at":"2015-05-02T20:41:46Z","body":"I'm having some very weird issues with iOS 8. It never happens under iOS 7, and it only happens on iOS 8 on Wifi (tested with 3 different network) but not on cellular network. \r\nAround 2/3 of my POST Request fail, with an \"Operation couldn't be completed\" error.  \r\n\r\nI tried debugging it, server side, client side. It seems like the failing request never leave the iPhone, it goes directly to the didFail delegate with an error. \r\n\r\nHere is the full error message \r\n```\r\nError Domain=NSURLErrorDomain Code=-1005 \"The operation couldn’t be completed. (NSURLErrorDomain error -1005.)\" UserInfo=0x7feb814388a0 {NSErrorFailingURLStringKey=[removeURL], NSErrorFailingURLKey=[removedURL], _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-4, NSUnderlyingError=0x7feb81456750 \"The operation couldn’t be completed. (kCFErrorDomainCFNetwork error -1005.)\"\r\n```\r\n\r\nI think this SO question is kinda linked, it sound like it's a mix between the configuration of the application, AFNetworking and some iOS weirdness... http://stackoverflow.com/questions/25372318/error-domain-nsurlerrordomain-code-1005-the-network-connection-was-lost\r\n"}}