Failed to register Personal IncludeAllNetworks VPN Session NESMIKEv2VPNSession

As described in a few threads here, it is not possible to set IncludeAllNetworks to true on NEVPNProtocolIKEv2 if there are any Enterprise VPNs with NEVPNProtocolIKEv2 enabled, even if they are not used at that moment.
The problem I faced, is that system does not have any other VPN configs listed in System Preferences -> Network, but connection still can't be established with error: Failed to register Personal IncludeAllNetworks VPN Session NESMIKEv2VPNSession due to Enterprise VPN session NESMVPNSession.
Is there any other place in the system where VPN configs can be found?


Replies

Is there any other place in the system where VPN configs can be found?

For macOS, System Preferences -> Network is the standard place. You can use % scutil also to take a look at the Network Configurations via % scutil --nc list.

If you do not include IncludeAllNetworks are you able to connect your tunnel?


Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com

If you do not include IncludeAllNetworks are you able to connect your tunnel?



Yes, setting it to false works perfectly - you can connect to vpn without problems
scutil --nc list doesn't even show VPNs that are visible in the settings.
Any ideas how to debug this?
Or maybe there is a way to know that connection fill fail with this error beforehand, so we can at least inform user that he has to delete other vpn profiles before connecting?

Any ideas how to debug this?

Well, not having any other VPN network configurations installed on the system and receiving the error for, "Failed to register Personal IncludeAllNetworks VPN Session NESMIKEv2VPNSession due to Enterprise VPN session NESMVPNSession," is odd.

I would try this on a fresh VM. If you can still reproduce the issue, take a sysdiagnose and open a bug report.


Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com
Add a Comment