NSURLErrorDomain -1009 (NSURLErrorNotConnectedToInternet) on one specific device

On one specific device, one specific version of our iOS app can't send any URL requests over cellular data using NSURLSession or NSURLConnection. It does not work when installed from the App Store but it does work when installed locally with Xcode. Changing the iOS settings or restarting iOS doesn't help (cellular data is enabled for the app). Also, URL requests work fine for other apps on the device.


The issue also doesn't occur when:

  • we use WiFi instead of cellular data
  • we use a slightly different app version with no changes regarding the API and networking


The following error occurs which just means that there is no internet connection, e.g. due to the iOS settings or a lack of connectivity:


Error Domain=NSURLErrorDomain Code=-1009

NSURLErrorNotConnectedToInternet


Device info:

iPhone 6

iOS 10.3.2


Any help will be appreciated.

This cropped up on another thread recently and you can find my advice there.

Share and Enjoy

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

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

My device is not pick up URL address after some time come a message "There are Nuslerror"

NSURLErrorDomain -1009 (NSURLErrorNotConnectedToInternet) on one specific device
 
 
Q