OpenVPNAdapter
OpenVPNAdapter copied to clipboard
OpenVPNAdapter not working via Cocoapods
I just Implemented the OpenVPNAdapter using cocoapods but I've not been able to successfully connect to the VPN, the VPN status goes from connecting to disconnected. On iOS 12, I get an update required message just beneath the Configuration on the settings page for VPN.
Any help on this? cc @ss-abramchuk @JonathanDowning @ss-abramchuk
@ss-abramchuk
Hi @djubreel, have you checked the VPN log and system log? If there is nothing suspicious have you tried to debug the extension step by step?
Still, no luck with this @ss-abramchuk, seems like the OpenVPN adapter process isn't started at all. Any help running it via cocoapods?
You need setting the Deployment Target of network extension Target which was more than your iPhone system version
@djubreel I am having the same problem, vpn goes from connecting to disconnected. Have you found any solution? Please share. I am using Cocoapod too.
@ss-abramchuk not able to connect openvpn using Cocoapod. I am using objective-c. Status goes from connecting to disconnected. Please, can you share any solution.
No @PiasMasum, I haven't been able to fix it. I actually haven't worked on it for a while.
I found the solution. The problem was in our OVPN configuration file. In anyName.ovpn configuration file you need to add setenv CLIENT_CERT 0 for iOS. Now it's working perfectly fine.