Hi all,
I'm facing a very strange problem in my application. In particular, using the application when a request receives a timeout message, all the following ones receive a timeout too (see screenshot).
Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={NSUnderlyingError=0x28113a550 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, NSErrorFailingURLStringKey=https://MY_SERVER_URL, NSErrorFailingURLKey=https://MY_SERVER_URL, _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-2102, NSLocalizedDescription=The request timed out.}
I'm not sure if this happens when the application enters the foreground after a background state since it's quite difficult to replicate.
Based on what exposed,
- do you any clue why this can happen?
- additionally, is there a way to replicate a similar behavior in a consistent way?
Waiting for a reply I thank you for your attention.
Thanks, Lorenzo