You are not logged in.
Server log
[Authy] Auth finished. Result: Authy success for username jilen.zhang@gmail.com.
Fri Aug 12 17:44:32 2016 192.168.2.1:56761 PLUGIN_CALL: POST /usr/lib/authy/authy-openvpn.so/PLUGIN_AUTH_USER_PASS_VERIFY status=0
Fri Aug 12 17:44:32 2016 192.168.2.1:56761 TLS: Username/Password authentication succeeded for username 'jilen.zhang@gmail.com'
Fri Aug 12 17:44:32 2016 192.168.2.1:56761 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Fri Aug 12 17:44:32 2016 192.168.2.1:56761 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Fri Aug 12 17:44:32 2016 192.168.2.1:56761 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Fri Aug 12 17:44:32 2016 192.168.2.1:56761 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Fri Aug 12 17:44:32 2016 192.168.2.1:56761 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-AES256-GCM-SHA384
Fri Aug 12 17:44:32 2016 192.168.2.1:56761 [] Peer Connection Initiated with [AF_INET]192.168.2.1:56761
Fri Aug 12 17:44:32 2016 192.168.2.1:56761 MULTI_sva: pool returned IPv4=10.8.0.26, IPv6=(Not enabled)
Fri Aug 12 17:44:32 2016 192.168.2.1:56761 MULTI: Learn: 10.8.0.26 -> 192.168.2.1:56761
Fri Aug 12 17:44:32 2016 192.168.2.1:56761 MULTI: primary virtual IP for 192.168.2.1:56761: 10.8.0.26
Fri Aug 12 17:44:34 2016 192.168.2.1:56761 PUSH: Received control message: 'PUSH_REQUEST'
Fri Aug 12 17:44:34 2016 192.168.2.1:56761 send_push_reply(): safe_cap=940
Fri Aug 12 17:44:34 2016 192.168.2.1:56761 SENT CONTROL [UNDEF]: 'PUSH_REPLY,route 10.8.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.26 10.8.0.25' (status=1)NetworkManager log
Aug 12 17:44:29 jilen.org nm-openvpn[26800]: OpenVPN 2.3.11 x86_64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Jul 15 2016
Aug 12 17:44:29 jilen.org nm-openvpn[26800]: library versions: OpenSSL 1.0.2h 3 May 2016, LZO 2.09
Aug 12 17:44:29 jilen.org nm-openvpn[26800]: WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Aug 12 17:44:29 jilen.org nm-openvpn[26800]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Aug 12 17:44:29 jilen.org nm-openvpn[26800]: NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay
Aug 12 17:44:29 jilen.org nm-openvpn[26800]: UDPv4 link local: [undef]
Aug 12 17:44:29 jilen.org nm-openvpn[26800]: UDPv4 link remote: [AF_INET]220.191.161.26:1194
Aug 12 17:44:32 jilen.org nm-openvpn[26800]: [dripower] Peer Connection Initiated with [AF_INET]220.191.161.26:1194
Aug 12 17:44:34 jilen.org NetworkManager[26037]: <debug> [1470995074.6799] QL: qual 96/96/0x60, level 61/61/0x3D, noise 0/0/0x0, updated: 0x7 ** MAX: qual 100/100/0x64, level 100/100/0x64, noise 100/100/0x64, up
Aug 12 17:44:34 jilen.org NetworkManager[26037]: <debug> [1470995074.6799] QL2: level_percent is 61. max_level 100, level 61.
Aug 12 17:44:34 jilen.org NetworkManager[26037]: <debug> [1470995074.6799] QL: Final quality percent is 96 (96).
Aug 12 17:44:34 jilen.org NetworkManager[26037]: nm-openvpn[26789] <warn> openvpn[26800] exited with error code 1
Aug 12 17:44:34 jilen.org NetworkManager[26037]: <warn> [1470995074.8069] vpn-connection[0x24b05e0,c4cd9d0c-204b-4e92-a50d-84cbd4d3b5df,"Dripower",0]: VPN plugin: failed: connect-failed (1)
Aug 12 17:44:34 jilen.org NetworkManager[26037]: <warn> [1470995074.8069] vpn-connection[0x24b05e0,c4cd9d0c-204b-4e92-a50d-84cbd4d3b5df,"Dripower",0]: VPN plugin: failed: connect-failed (1)
Aug 12 17:44:34 jilen.org NetworkManager[26037]: <info> [1470995074.8070] vpn-connection[0x24b05e0,c4cd9d0c-204b-4e92-a50d-84cbd4d3b5df,"Dripower",0]: VPN plugin: state changed: stopping (5)
Aug 12 17:44:34 jilen.org NetworkManager[26037]: <info> [1470995074.8070] vpn-connection[0x24b05e0,c4cd9d0c-204b-4e92-a50d-84cbd4d3b5df,"Dripower",0]: VPN plugin: state changed: stopped (6)
Aug 12 17:44:34 jilen.org NetworkManager[26037]: <info> [1470995074.8077] vpn-connection[0x24b05e0,c4cd9d0c-204b-4e92-a50d-84cbd4d3b5df,"Dripower",0]: VPN plugin: state change reason: unknown (0)
Aug 12 17:44:34 jilen.org NetworkManager[26037]: <debug> [1470995074.8077] active-connection[0x24b05e0]: set state deactivated (was activating)
Aug 12 17:44:34 jilen.org NetworkManager[26037]: <debug> [1470995074.8078] active-connection[0x24b05e0]: check-master-ready: not signalling (state deactivated, no master)
Aug 12 17:44:34 jilen.org NetworkManager[26037]: <debug> [1470995074.8078] device[0x241d860] (enp0s20u3): remove_pending_action (0): 'activation::0x24b05e0'
Aug 12 17:44:34 jilen.org NetworkManager[26037]: <info> [1470995074.8083] vpn-connection[0x24b05e0,c4cd9d0c-204b-4e92-a50d-84cbd4d3b5df,"Dripower",0]: VPN service disappeared
Aug 12 17:44:34 jilen.org NetworkManager[26037]: <debug> [1470995074.8096] active-connection[0x24b05e0]: disposingServer config
port 1194
proto udp
dev tun
ca ca.crt
cert dripower.crt
key dripower.key # This file should be kept secret
dh dh2048.pem
server 10.8.0.0 255.255.255.0
push "route 192.168.2.0 255.255.255.0"
push "redirect-gateway def1 bypass-dhcp"
keepalive 10 120
persist-key
persist-tun
status openvpn-status.log
log /var/log/openvpn.log
verb 3
client-cert-not-required
plugin /usr/lib/authy/authy-openvpn.so https://api.authy.com/protected/json xxx nopamOffline
I recommend the usage of `openvpn PATH TO .ovpn FILE' to run openvpn.
NetworkManager always has issues with openvpn, the same goes for WICD.
Also security whise its always more secure to use openvpn's build in client to connect to vpn's
Offline
I don't think NM understands OpenVPN plugins. If you look at the Wiki, it clearly say that NM parses only some of the *.ovpn directives and does not offer full support. Also, your log suggests the plugin is the reason the connection failed. I'm guessing your plugin is either incompatible (with NM or even OpenVPN) or the plugin has a bug/misconfiguration.
Offline