While loading preferences from NETunnelProviderManager
with API loadAllFromPreferencesWithCompletionHandler
, I get error Error Domain=NEVPNErrorDomain Code=5 "IPC failed" UserInfo={NSLocalizedDescription=IPC failed}
. This happens very rarely. Any idea what could be leading to this IPC failure.
Sys diagnostics around same time
com.apple.networkextension default 3374 2023-03-31 13:52:27.010705 -0700 TestApp Received a com.apple.neconfigurationchanged notification with token 105
com.apple.networkextension default 3374 2023-03-31 13:52:27.010720 -0700 TestApp Lost connection to nehelper: Connection interrupted
com.apple.networkextension error 3374 2023-03-31 13:52:27.010752 -0700 TestApp Failed to send a 6 message to nehelper: <dictionary: 0x25c06da80> { count = 1, transaction: 0, voucher = 0x0, contents =
"XPCErrorDescription" => <string: 0x25c06dc18> { length = 18, contents = "Connection invalid" }
}
com.apple.networkextension default 3374 2023-03-31 13:52:27.010855 -0700 TestApp Clearing FE1912DC-BC59-4C99-AE90-F5BBB32AA0C0 from the loaded configurations
com.apple.LocalAuthentication default 266 2023-03-31 13:52:27.010965 -0700 coreauthd ACMRequirement of type:1, state:1, flags:0 -> MechanismPasscode[1607]
com.apple.LocalAuthentication default 266 2023-03-31 13:52:27.011014 -0700 coreauthd ACMRequirement of type:3, state:1, flags:0 -> MechanismPearl[1608]
com.apple.BiometricKit default 266 2023-03-31 13:52:27.011023 -0700 coreauthd BKDevice::extendedBioLockoutState:forUser: 0x16f351318 501 (_cid 3711427250)
com.apple.networkextension error 3374 2023-03-31 13:52:27.011158 -0700 TestApp Failed to load configurations: Error Domain=NEConfigurationErrorDomain Code=11 "IPC failed" UserInfo={NSLocalizedDescription=IPC failed}