Hi,

We use OpenVPN + DUO.
I imported a .ovpn file via sudo nmcli connection import type openvpn file 
/path/to/foo.ovpn.
I set my login in Ubuntu VPN settings (no password).
Turned on the VPN.
Ubuntu asked for an authentication, I entered my VPN password.
Ubuntu asked for a password (I guess it means DUO passcode), I entered it.
Ubuntu asked for it again and I pressed Cancel (system asks for it infinitely).

I hope it helps.

OpenVPN CLI works, OpenVPN for Windows works. Entering password,passcode
or passwordpasscode or passcodepassword doesn't work.

Feb 27 18:21:43 ubuntu-pc NetworkManager[1363]: <info>  [1582856503.6578] 
audit: op="connection-activate" uuid="f84be875-048c-40d8-9859-c4319e75eff4" 
name="Work" pid=12083 uid=1000 result="success"
Feb 27 18:21:43 ubuntu-pc NetworkManager[1363]: <info>  [1582856503.6629] 
vpn-connection[0x55cd0a0a8750,f84be875-048c-40d8-9859-c4319e75eff4,"Work",0]: 
Started the VPN service, PID 26648
Feb 27 18:21:43 ubuntu-pc NetworkManager[1363]: <info>  [1582856503.6687] 
vpn-connection[0x55cd0a0a8750,f84be875-048c-40d8-9859-c4319e75eff4,"Work",0]: 
Saw the service appear; activating connection
Feb 27 18:21:50 ubuntu-pc NetworkManager[1363]: <info>  [1582856510.4074] 
settings-connection[0x55cd0a068b60,f84be875-048c-40d8-9859-c4319e75eff4]: 
write: successfully updated (keyfile: update 
/etc/NetworkManager/system-connections/Work 
(f84be875-048c-40d8-9859-c4319e75eff4,"Work")
Feb 27 18:21:50 ubuntu-pc NetworkManager[1363]: <info>  [1582856510.4146] 
vpn-connection[0x55cd0a0a8750,f84be875-048c-40d8-9859-c4319e75eff4,"Work",0]: 
VPN plugin: state changed: starting (3)
Feb 27 18:21:50 ubuntu-pc NetworkManager[1363]: <info>  [1582856510.4147] 
vpn-connection[0x55cd0a0a8750,f84be875-048c-40d8-9859-c4319e75eff4,"Work",0]: 
VPN connection: (ConnectInteractive) reply received
Feb 27 18:21:50 ubuntu-pc nm-openvpn[26667]: OpenVPN 2.4.4 x86_64-pc-linux-gnu 
[SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 
14 2019
Feb 27 18:21:50 ubuntu-pc nm-openvpn[26667]: library versions: OpenSSL 1.1.1  
11 Sep 2018, LZO 2.08
Feb 27 18:21:50 ubuntu-pc nm-openvpn[26667]: NOTE: the current 
--script-security setting may allow this configuration to call user-defined 
scripts
Feb 27 18:21:50 ubuntu-pc nm-openvpn[26667]: TCP/UDP: Preserving recently used 
remote address: [AF_INET]54.188.115.216:443
Feb 27 18:21:50 ubuntu-pc nm-openvpn[26667]: UDP link local: (not bound)
Feb 27 18:21:50 ubuntu-pc nm-openvpn[26667]: UDP link remote: 
[AF_INET]54.188.115.216:443
Feb 27 18:21:50 ubuntu-pc nm-openvpn[26667]: NOTE: chroot will be delayed 
because of --client, --pull, or --up-delay
Feb 27 18:21:50 ubuntu-pc nm-openvpn[26667]: NOTE: UID/GID downgrade will be 
delayed because of --client, --pull, or --up-delay
Feb 27 18:21:50 ubuntu-pc nm-openvpn[26667]: [entrustawsclientvpn] Peer 
Connection Initiated with [AF_INET]54.188.115.216:443
Feb 27 18:21:51 ubuntu-pc nm-openvpn[26667]: AUTH: Received control message: 
AUTH_FAILED,Invalid username or password
Feb 27 18:21:51 ubuntu-pc nm-openvpn[26667]: SIGUSR1[soft,auth-failure] 
received, process restarting
Feb 27 18:21:56 ubuntu-pc NetworkManager[1363]: <info>  [1582856516.9069] 
vpn-connection[0x55cd0a0a8750,f84be875-048c-40d8-9859-c4319e75eff4,"Work",0]: 
VPN plugin: requested secrets; state connect (4)
Feb 27 18:22:03 ubuntu-pc NetworkManager[1363]: <info>  [1582856523.9088] 
settings-connection[0x55cd0a068b60,f84be875-048c-40d8-9859-c4319e75eff4]: 
write: successfully updated (keyfile: update 
/etc/NetworkManager/system-connections/Work 
(f84be875-048c-40d8-9859-c4319e75eff4,"Work")
Feb 27 18:22:03 ubuntu-pc nm-openvpn[26667]: NOTE: the current 
--script-security setting may allow this configuration to call user-defined 
scripts
Feb 27 18:22:03 ubuntu-pc nm-openvpn[26667]: TCP/UDP: Preserving recently used 
remote address: [AF_INET]54.188.115.216:443
Feb 27 18:22:03 ubuntu-pc nm-openvpn[26667]: UDP link local: (not bound)
Feb 27 18:22:03 ubuntu-pc nm-openvpn[26667]: UDP link remote: 
[AF_INET]54.188.115.216:443
Feb 27 18:22:04 ubuntu-pc nm-openvpn[26667]: [entrustawsclientvpn] Peer 
Connection Initiated with [AF_INET]54.188.115.216:443
Feb 27 18:22:05 ubuntu-pc nm-openvpn[26667]: AUTH: Received control message: 
AUTH_FAILED,Invalid username or password
Feb 27 18:22:05 ubuntu-pc nm-openvpn[26667]: SIGUSR1[soft,auth-failure] 
received, process restarting
Feb 27 18:22:10 ubuntu-pc NetworkManager[1363]: <info>  [1582856530.2720] 
vpn-connection[0x55cd0a0a8750,f84be875-048c-40d8-9859-c4319e75eff4,"Work",0]: 
VPN plugin: requested secrets; state connect (4)
Feb 27 18:22:12 ubuntu-pc NetworkManager[1363]: <error> [1582856532.7752] 
vpn-connection[0x55cd0a0a8750,f84be875-048c-40d8-9859-c4319e75eff4,"Work",0]: 
Failed to request VPN secrets #4: User canceled the secrets request.
Feb 27 18:22:12 ubuntu-pc nm-openvpn[26667]: ERROR: could not read Auth 
username/password/ok/string from management interface
Feb 27 18:22:12 ubuntu-pc nm-openvpn[26667]: Exiting due to fatal error
Feb 27 18:22:12 ubuntu-pc NetworkManager[1363]: <warn>  [1582856532.7766] 
vpn-connection[0x55cd0a0a8750,f84be875-048c-40d8-9859-c4319e75eff4,"Work",0]: 
VPN plugin: failed: connect-failed (1)
Feb 27 18:22:12 ubuntu-pc NetworkManager[1363]: <info>  [1582856532.7768] 
vpn-connection[0x55cd0a0a8750,f84be875-048c-40d8-9859-c4319e75eff4,"Work",0]: 
VPN plugin: state changed: stopping (5)
Feb 27 18:22:12 ubuntu-pc NetworkManager[1363]: <info>  [1582856532.7768] 
vpn-connection[0x55cd0a0a8750,f84be875-048c-40d8-9859-c4319e75eff4,"Work",0]: 
VPN plugin: state changed: stopped (6)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1322728

Title:
  VPN Connection Failed With 2 Factor Authentication

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager-fortisslvpn/+bug/1322728/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to