Post not yet marked as solved
Post marked as unsolved with 1 replies, 683 views
Hi there,
We need help with one issue. Sometimes our post API request are having the following error. I checked the server logs and seems everything okay in Apache and PHP logs. Seems something wrong with out almofire libraray
Here is the error that we are having
[Result]: failure(Alamofire.AFError.sessionTaskFailed(error: Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost." UserInfo={_kCFStreamErrorCodeKey=-4, NSUnderlyingError=0x28139c840 {Error Domain=kCFErrorDomainCFNetwork Code=-1005 "(null)" UserInfo={NSErrorPeerAddressKey=<CFData 0x297c79400 [0x1ebb61860]>{length = 16, capacity = 16, bytes = 0x100201bb4834ca170000000000000000}, _kCFStreamErrorCodeKey=-4, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalUploadTask .<264>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalUploadTask .<264>"
), NSLocalizedDescription=The network connection was lost.,