When do we get NEProviderStopReasonConfigurationDisabled?

Hello,


Network extension call stopTunnelWithReason: method randomly with reason NEProviderStopReasonConfigurationDisabled. Not sure why configuration get disabled after few hours of successful connection. It keeps happening every few hours. It happens at customer place, we are not able to simulate it in our lab, so any help regarding this would be really appreciated.


Set up details:

L3 connection

User initiated VPN



Thanks,

Meera

Replies

Network extension call

stopTunnelWithReason:
method randomly with reason
NEProviderStopReasonConfigurationDisabled
.

What platform is this on? And what version of that?

Share and Enjoy

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

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

Thank Eskimo for quick response, Sorry I missed to add that.


Customer is seeing this issue on all iOS versions.


Edit: Got a log from a customer who is facing this issue and he is using iOS 12.3.1

Got a log from a customer who is facing this issue and he is using iOS 12.3.1

Cool. Well, not cool, but at least you’re engaged with someone who can reproduce the problem.

My recommendation in situations like this is:

  1. Add logging to your app so that you can clearly identify the time at which this problem occurred. It is best, IMO, to use

    os_log
    for this, because your logging will then end up in the system log.
  2. Have the custom install the VPN (Network Extension) for iOS profile, per our Bug Reporting > Profiles and Logs.

  3. When they next notice the problem, ask them to trigger a sysdiagnose (also covered on that page).

  4. Have them send you that sysdiagnose log.

  5. Unpack it and dig into the system log. Specifically, find your log entry of the problem, and then work backwards looking for more information about what triggered the disconnect.

Share and Enjoy

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

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

Thanks Eskimo. I'll add logs and try to get more info regarding this from customer.


In the meantime, Could you please shed some more light on this issue?

What are the possiblities to get NEProviderStopReasonConfigurationDisabled?

What are the possiblities to get

NEProviderStopReasonConfigurationDisabled
?

I’m not familiar enough with the NE implementation to offer an immediate answer to that question.

Share and Enjoy

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

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