OpenVPNAdapter icon indicating copy to clipboard operation
OpenVPNAdapter copied to clipboard

OpenVPNAdapter not working via Cocoapods

Open JubrilEdu opened this issue 6 years ago • 8 comments

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

JubrilEdu avatar Nov 29 '18 10:11 JubrilEdu

@ss-abramchuk

JubrilEdu avatar Dec 09 '18 20:12 JubrilEdu

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?

ss-abramchuk avatar Dec 12 '18 07:12 ss-abramchuk

Still, no luck with this @ss-abramchuk, seems like the OpenVPN adapter process isn't started at all. Any help running it via cocoapods?

JubrilEdu avatar Feb 01 '19 12:02 JubrilEdu

You need setting the Deployment Target of network extension Target which was more than your iPhone system version

Terriermon avatar Feb 14 '19 06:02 Terriermon

@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.

iamPias avatar Aug 22 '19 09:08 iamPias

@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.

iamPias avatar Aug 25 '19 06:08 iamPias

No @PiasMasum, I haven't been able to fix it. I actually haven't worked on it for a while.

JubrilEdu avatar Aug 25 '19 11:08 JubrilEdu

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.

iamPias avatar Aug 28 '19 10:08 iamPias