FS#61722 - [networkmanager]OpenConnect VPN connection through NetworkManager no longer working

Attached to Project: Arch Linux
Opened by Simon Wydooghe (HyperBaton) - Monday, 11 February 2019, 16:45 GMT
Last edited by Toolybird (Toolybird) - Monday, 29 May 2023, 03:23 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No



My OpenConnect VPN connection through NetworkManager is no longer working it seems. I only use it sporadically, so unsure when the problem appeared.

Additional info:
* package versions
* openconnect: 1:7.08-2
* networkmanager-openconnect: 1.2.5dev+110+g524a2e0-1
* networkmanager: 1.14.5dev+17+gba83251bb-2
* NetworkManager log:
<error> [1549901952.4402] vpn-connection[0x55cbf1478110,44122207-6eae-4fad-8136-db7b3f917a6c,"MEDIALAAN",0]: Failed to request VPN secrets #3: No agents were available for this request.
* Using nmcli:
❯ nmcli connection up MEDIALAAN
A password is required to connect to 'MEDIALAAN'.
Warning: password for 'vpn.secrets.gateway' not given in 'passwd-file' and nmcli cannot ask without '--ask' option.
Error: Connection activation failed: No valid secrets

The config has remained unchanged for a long time.

Steps to reproduce:
1. Use OpenConnect connection via NetworkManager.

NOTE: using the openconnect command manually still works just fine. Only the NM integration is not working.
This task depends upon

Closed by  Toolybird (Toolybird)
Monday, 29 May 2023, 03:23 GMT
Reason for closing:  No response
Additional comments about closing:  Plus it's old and stale. If still an issue, please report upstream.
Comment by mattia (nTia89) - Saturday, 19 March 2022, 11:14 GMT
I cannot reproduce the issue. Is it still valid for you?