This forum has been archived. All content is frozen. Please use KDE Discuss instead.

OpenVPN - network-manager : Failed to request VPN secrets ..

Tags: None
(comma "," separated)
User avatar
yossarianuk
Registered Member
Posts
26
Karma
0
Hi.

I have a KDE Neon setup - I presently use the OpenVPN client via CLI and it works fine.

I have the 'network-manager-openvpn' and 'openvpn' packages installed (and restarted network-manager)

I imported my .ovpn profile into network-manager fine and it copied the certs, etc,

I have following settings
---------------------------------
Connection type : Password with Certificates (TLS)
---
All cert paths are correct..
Private key password : This password is not required
username : my username
password : Ask for this password every time
---------------------------------

Note : I need to have the password asked for every time and we are using OTP tokens to connect..

When I try to connect it doesn't work.

I can see this in journalctl


Code: Select all
Jan 17 15:16:06 mcox-N552VW NetworkManager[18759]: <info>  [1547738166.2994] audit: op="connection-activate" uuid="661cacc2-d80d-419c-a803-593fc7c8160c" name="client.ovpn.new" pid=2096 uid=1000 result="success"
Jan 17 15:16:06 mcox-N552VW NetworkManager[18759]: <info>  [1547738166.3121] vpn-connection[0x55ad95d1a4d0,661cacc2-d80d-419c-a803-593fc7c8160c,"client.ovpn.new",0]: Started the VPN service, PID 23852
Jan 17 15:16:06 mcox-N552VW NetworkManager[18759]: <info>  [1547738166.3265] vpn-connection[0x55ad95d1a4d0,661cacc2-d80d-419c-a803-593fc7c8160c,"client.ovpn.new",0]: Saw the service appear; activating connection
Jan 17 15:16:06 mcox-N552VW NetworkManager[18759]: <error> [1547738166.3365] vpn-connection[0x55ad95d1a4d0,661cacc2-d80d-419c-a803-593fc7c8160c,"client.ovpn.new",0]: Failed to request VPN secrets #3: No agents were available for this request.
Jan 17 15:16:06 mcox-N552VW NetworkManager[18759]: <info>  [1547738166.3380] vpn-connection[0x55ad95d1a4d0,661cacc2-d80d-419c-a803-593fc7c8160c,"client.ovpn.new",0]: VPN plugin: state changed: stopped (6)
Jan 17 15:16:06 mcox-N552VW NetworkManager[18759]: <info>  [1547738166.3389] vpn-connection[0x55ad95d1a4d0,661cacc2-d80d-419c-a803-593fc7c8160c,"client.ovpn.new",0]: VPN service disappeared
Jan 17 15:16:06 mcox-N552VW NetworkManager[18759]: <info>  [1547738166.3468] audit: op="statistics" arg="refresh-rate-ms" pid=2096 uid=1000 result="success"
Jan 17 15:16:06 mcox-N552VW NetworkManager[18759]: <info>  [1547738166.3550] audit: op="statistics" arg="refresh-rate-ms" pid=2096 uid=1000 result="success"
Jan 17 15:16:08 mcox-N552VW NetworkManager[18759]: <info>  [1547738168.3735] audit: op="statistics" arg="refresh-rate-ms" pid=2096 uid=1000 result="success"
Jan 17 15:16:08 mcox-N552VW NetworkManager[18759]: <info>  [1547738168.3761] audit: op="statistics" arg="refresh-rate-ms" pid=2096 uid=1000 result="success"


Any ideas ?

Note: Doing the same on my Rhel7 desktop (gnome) when I connect I get the standard password manager which correctly asks for a password


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell