passepartoutvpn / tunnelkit

VPN client library for Apple platforms.
GNU General Public License v3.0
9 stars 8 forks source link

VPN installation failed: Error Domain=NEVPNErrorDomain Code=5 "IPC failed" #275

Closed chmcj closed 2 years ago

chmcj commented 2 years ago

Hello, When I try to connect to my OpenVPN server with the provided Demo project I get this error shown on server:

2022-09-19 16:56:46.555192+0800 TunnelKitDemo-iOS[13733:31263440] [] Failed to send a 6 message to nehelper: <dictionary: 0x1d23af550> { count = 1, transaction: 0, voucher = 0x0, contents =
    "XPCErrorDescription" => <string: 0x1d23af6e8> { length = 18, contents = "Connection invalid" }
}
2022-09-19 16:56:46.555325+0800 TunnelKitDemo-iOS[13733:31263440] []  Failed to load configurations: Error Domain=NEConfigurationErrorDomain Code=11 "IPC failed" UserInfo={NSLocalizedDescription=IPC failed}
2022-09-19 16:56:51.447977+0800 TunnelKitDemo-iOS[13733:31263441] [] Failed to send a 6 message to nehelper: <dictionary: 0x1d23af550> { count = 1, transaction: 0, voucher = 0x0, contents =
    "XPCErrorDescription" => <string: 0x1d23af6e8> { length = 18, contents = "Connection invalid" }
}
2022-09-19 16:56:51.448156+0800 TunnelKitDemo-iOS[13733:31263441] []  Failed to load configurations: Error Domain=NEConfigurationErrorDomain Code=11 "IPC failed" UserInfo={NSLocalizedDescription=IPC failed}
VPNStatusDidFail: IPC failed
16:56:51 ERROR NetworkExtensionVPN.notifyInstallError():289 - VPN installation failed: Error Domain=NEVPNErrorDomain Code=5 "IPC failed" UserInfo={NSLocalizedDescription=IPC failed})
narner commented 1 year ago

I'm currently seeing this as well