Page 1 of 1

Error Loading Profile in OpenVPN app

Posted: Fri Feb 22, 2013 9:19 pm
by cshort
Hello,

I installed the OpenVPN app on iOS and using the option to import a profile from an OpenVPN access server, seemed to connect and pull the information just fine.

However, I receive the following error under the "New profiles are available..." section.

Error loading profile: Inbox/client.ovpn
option_error: more than one instance of option 'dev'

The green plus option and the green arrow option are grayed out and only the red X option is available.

Any suggestions are appreciated.

Thank You!

Re: Error Loading Profile in OpenVPN app

Posted: Mon Feb 25, 2013 3:16 pm
by cabhay
That error means you have multiple "dev tun" or "dev" keys in your client.ovpn file. Please check your client.ovpn file.

Secondly, if you are adding ovpn file from iTunes connect, add above inbox folder.

I hope this will help you.

- Abhay

Re: Error Loading Profile in OpenVPN app

Posted: Tue Feb 26, 2013 1:48 pm
by cshort
Thank You! It did. I saw a couple of "dev_tun" lines. I just deleted the second one and (after deleting a duplicate proto line) the certificate pulled in fine.

I'm having authentication failures - but that's another thing I need to work on.

Thanks again!

Re: Error Loading Profile in OpenVPN app

Posted: Tue Mar 05, 2013 10:58 am
by cabhay
Great. Are you using username-password authentication or cert-based?

- Abhay

Re: Error Loading Profile in OpenVPN app

Posted: Fri Jun 24, 2016 6:43 am
by other man
Hello

I also have this bug out "Error Loading Profile in OpenVPN"
client configuration
"client
dev tun
proto udp
remote 192.168.3.104 1194
tls-client
ca "ca.crt"
tls-auth "ta.key" 1
cert "User1.crt"
key "User1.key"
remote-cert-tls server
comp-lzo
tun-mtu 1500
mssfix 1450
verb 3
nobind
resolv-retry infinite"

sorry for my bad english