Web app http request errors in iOS5 mobile safari caused by HTTP Pipelining?
iOS5 seams to have broken functionality in our HTML5 mobile webapp. Requesting audio media assets are currently failing 1 out of 2 times with one of two errors:
The operation couldn’t be completed. (NSURLErrorDomain error – 1013.)
The operation could not be completed
After much research I’ve come to the conclusion that our authenticated media host is having issues with the updated HTTP Request behavior in iOS5′s version of mobile Safari. iOS5 now uses its own flavor of HTTP Pipelining to speed up data transfer and my theory is somewhere along the line our host’s web server is disagreeing with it.
Since mobile networks usually have very high latency HTTP Pipelining allows the HTTP client to avoid round trips to the server by send multiple requests on the same connection without waiting for the server to respond. You can readĀ up on iOS5′s version of HTTP Pipelining and the concept in general here:
http://www.blaze.io/mobile/ios5-top10-performance-changes/
http://www.blaze.io/mobile/http-pipelining-big-in-mobile/
We’ll be reaching out to our media content provider today to validate but I figured I would throw up a place for others experiencing the same issue to discuss as I am not seeing other posts about it yet.
Hey,
What did your provider have to say??
I am using a squid proxy (privately) and have found it to generate the same error.
Our corporate proxy (ISA) is exactly the same.
I’ve come to think its not how the proxy handles the connection, but I don’t think the youtube app is using the proxy for all its connections, because if I go transparent, it works fine.
Regards
Hey Mark, did you ever figure out a solution to this. I’m running into the same problem and not sure how to approach solving it. Any resources/solutions you could post would be great. Thanks!
Same here. I read this http://tech.vg.no/2011/12/14/safari-on-ios-5-randomly-switches-images/
Thing is, I still don’t know if this fixed in iOS6