Going through the console, it actually seems that the profile is loaded properly:
NESMVPNSession[Primary Tunnel:XRTC Accelerator:6CB1FD0B-6268-4701-8968-2EE37DE109AC:(null)] starting with configuration: {
name = ****
identifier = 6CB1FD0B-6268-4701-8968-2EE37DE109AC
applicationName = ***
application = com.***.***
grade = 1
VPN = {
enabled = YES
onDemandEnabled = NO
disconnectOnDemandEnabled = NO
onDemandUserOverrideDisabled = NO
protocol = {
type = plugin
identifier = E8C022C7-41EE-4627-B2CD-88CE84D2A1DD
serverAddress = VPN Server
identityDataImported = NO
disconnectOnSleep = NO
disconnectOnIdle = NO
disconnectOnIdleTimeout = 0
disconnectOnWake = NO
disconnectOnWakeTimeout = 0
includeAllNetworks = YES
excludeLocalNetworks = YES
excludeCellularServices = YES
excludeAPNs = YES
enforceRoutes = NO
pluginType = com***
authenticationMethod = 0
providerConfiguration = {
key = value,
}
providerBundleIdentifier = ***.PacketTunnelProvider
}
tunnelType = packet
}
}
but then I get
[4768]: Tearing down XPC connection due to setup error: Error Domain=NEAgentErrorDomain Code=2 "(null)"
Any ideas on why this happens? Documentation on this error is quite sparse.
Topic:
App & System Services
SubTopic:
Networking
Tags: