Frequent and repeated NSURLErrorTimedOut

Originator:an00na
Number:rdar://22770738 Date Originated:19-Sep-2015 10:51 AM
Status:Open Resolved:
Product:iOS SDK Product Version:9.0
Classification:Serious Bug Reproducible:Sometimes
 
This is a problem that is very hard to reproduce reliably even though it occurs quite frequently because it depends on both client and server.

Simply put, when communicating with some servers(in my case Sina Weibo Open Platform) with some configuration iOS network frequently enters an state that gives continuous NSURLErrorTimedOut until the network is reset by turning off and on.

It is very hard to describe. Here is the best I can do: http://stackoverflow.com/questions/28904723/how-to-solve-timeout-issues-caused-by-bad-http-persistent-connection.

Here is a related discussion: https://github.com/AFNetworking/AFNetworking/issues/2314. As you can see its affection is very extensive.

It begins since iOS 8 and seems more severe in iOS 9.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!