Page MenuHomeVyOS Platform

openconnect: KeyError: 'local_users'
Closed, ResolvedPublicBUG


To reproduce:

set vpn openconnect authentication mode local
Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/", line 147, in <module>
  File "/usr/libexec/vyos/conf_mode/", line 64, in verify
    if not ocserv["authentication"]["local_users"] or not ocserv["authentication"]["local_users"]["username"]:
KeyError: 'local_users'


Difficulty level
Easy (less than an hour)
Why the issue appeared?
Implementation mistake
Is it a breaking change?
Stricter validation
Issue type
Bug (incorrect behavior)

Related Objects

Mentioned In

Event Timeline

c-po triaged this task as Normal priority.
c-po created this task.
c-po edited projects, added VyOS 1.3 Equuleus (1.3.3); removed VyOS 1.3 Equuleus.
c-po changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
c-po changed Why the issue appeared? from Will be filled on close to Implementation mistake.
c-po changed Is it a breaking change? from Unspecified (possibly destroys the router) to Stricter validation.
c-po changed Issue type from Unspecified (please specify) to Bug (incorrect behavior).
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus (1.3.2) board.