"ConfigDict: required config-key '['server']' is not defined":

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
CoI
OpenVpn Newbie
Posts: 1
Joined: Fri Apr 30, 2021 1:39 pm

"ConfigDict: required config-key '['server']' is not defined":

Post by CoI » Fri Apr 30, 2021 2:28 pm

"ConfigDict: required config-key '['server']' is not defined": util/cdict:301,util/cdict:550 (exceptions.KeyError) 'auth': svc/svc:637,sagent/cqsvc:280 (exceptions.KeyError)

We were finishing the initial configuration of our Access Server and saved the settings. When we tried to push those settings to the Access Server we received the following error:

"ConfigDict: required config-key '['server']' is not defined": util/cdict:301,util/cdict:550 (exceptions.KeyError) 'auth': svc/svc:637,sagent/cqsvc:280 (exceptions.KeyError)

Trying to find assistance on this doesn't provide much help. Google searches returned nothing on this issue at all.

Thanks,

chilinux
OpenVPN Power User
Posts: 156
Joined: Thu Mar 28, 2013 8:31 am

Re: "ConfigDict: required config-key '['server']' is not defined":

Post by chilinux » Fri Apr 30, 2021 5:49 pm

More context would be helpful of the steps to take to recreate the error.

What version of OpenVPN AS are you using?

Did you do the initial configuration via the web portal or using sacli?

What settings did you change? Were you attempting to configure it to use RADIUS or LDAP authentication?

If you haven't activated any fixed licenses on the server yet, I recommend running the following:
/usr/local/openvpn_as/bin/ovpn-init

Then try configuring it again and see if you can reproduce the error.

If you activated fixed licenses on the server, then it is probably best to open a ticket with OpenVPN AS support. The type of error being produced appears to by a exception thrown by the python code. Only the developers have access to the code to investigate the error further so the community forums will be limited in how much they can help.

Post Reply