App in a state that no network call can be made on iOS 10.1

Our app went into a state where there is no network call can be made (the UI is responsive). So far the issue is intermitten. When this issue occurs

  • We check charles proxy, no network is made.
  • We couldn't attach the process throught xcode to debug the issue either.
  • Close and restart the app won't resolve the issue. We were told that delete and reinstall the app resolved the issue.
  • We only saw this issue in iOS 10.1 so far and our users have also report the issues in app review.


This is code snippet:

NSURLSessionDataTask *requestTask = [[NSURLSession sharedSession] dataTaskWithRequest:request completionHandler:^(NSData *data, NSURLResponse *response, NSError *error)


Anybody has also seen this issue on iOS 10.1?


Thanks

Replies

Anybody has also seen this issue on iOS 10.1?

I’m not aware of any widespread issue like this.

Do the network requests fail with an error? Or just never complete?

This is a good time (well, probably a bit late now that I think about it) to point you to my Network Debugging in the Field post (-:

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"