Hi,
Since the release of the 10.3.2 beta, our packet tunnel provider extension fails to connect.
The behavior observed is that in the VPN settings in the Settings app, the VPN status will switch to "Connecting...", during which all connectivity is lost. The status does not change and the corresponding packet tunnel provider is never started.
I can confirm that on iOS 10.3 this is working as promised, both with a configuration profile and using the classic NETunnelProviderManager. On 10.3.2, this behavior is consistently shown for my own app, but also for a handful of packet tunnel provider-based apps I've seen in the wild.
The console logs at this time do not give any useful debugging information other than the following:
Mar 31 15:22:29 iPhone nesessionmanager(NetworkExtension)[198] <Notice>: NESMVPNSession[MyApp]: Received a start command from Preferences[992]
Mar 31 15:22:29 iPhone nesessionmanager(NetworkExtension)[198] <Notice>: NESMVPNSession[MyApp]: status changed to connecting
Mar 31 15:23:30 iPhone nesessionmanager(NetworkExtension)[198] <Notice>: NESMVPNSession[MyApp]: Skip a start command from apsd[83]: session in state connecting
Mar 31 15:23:33 iPhone nesessionmanager(NetworkExtension)[198] <Notice>: NESMVPNSession[MyApp]: Skip a start command from routined[28]: session in state connecting
Mar 31 15:23:34 iPhone nesessionmanager(NetworkExtension)[198] <Notice>: NESMVPNSession[MyApp]: Skip a start command from geod[99]: session in state connecting
Mar 31 15:24:20 iPhone nesessionmanager(NetworkExtension)[198] <Notice>: NESMVPNSession[MyApp]: Skip a start command from timed[56]: session in state connecting
Mar 31 15:24:34 iPhone nesessionmanager(NetworkExtension)[198] <Notice>: NESMVPNSession[MyApp]: Skip a start command from routined[28]: session in state connecting
Mar 31 15:25:13 iPhone nesessionmanager(NetworkExtension)[198] <Notice>: NESMVPNSession[MyApp]: Skip a start command from apsd[83]: session in state connecting
Mar 31 15:25:33 iPhone nesessionmanager(NetworkExtension)[198] <Notice>: NESMVPNSession[MyApp]: Skip a start command from apsd[83]: session in state connecting
Mar 31 15:25:34 iPhone nesessionmanager(NetworkExtension)[198] <Notice>: NESMVPNSession[MyApp]: Skip a start command from apsd[83]: session in state connecting
Could this be related to the IKEv2 troubles observed on 10.3.2?
The bug is marked as a duplicate of 31315576, which is still open.
Thanks for the pointer (and the bug report). It seems that this is definitely a regression in iOS, not in the code itself but in the way the OS was built. You should continue to re-test this as new seeds are released.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"