[solved] Can't start server - ValueError: Cannot get unloaded field 'route_dns'

Hello, I can’t start one of our (linked)servers anymore.

This is the error in the log file
[vpn-dc][2023-11-30 10:58:41,823][ERROR] Server error occurred while running
Traceback (most recent call last):
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/server/instance.py”, line 1597, in _run_thread
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/server/instance.py”, line 599, in generate_iptables_rules
for route in self.server.get_routes(
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/server/server.py”, line 720, in get_routes
for route in link_svr.get_routes():
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/server/server.py”, line 667, in get_routes
if self.route_dns and include_dns_routes:
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/mongo/object.py”, line 47, in getattr
raise ValueError(‘Cannot get unloaded field %r’ % name)
ValueError: Cannot get unloaded field ‘route_dns’

We removed an now unused network interface and subnet. Can this be related?

Some infos:

[vpn-dc][2023-11-30 10:58:29,290][INFO] Starting server
selinux_context = “none”
ssl_version = “OpenSSL 1.1.1w 11 Sep 2023”
[vpn-dc][2023-11-30 10:58:41,529][INFO] Starting vpn server
server_id = “xx”
instance_id = “xx”
instances =
instances_count = 0
route_count = 1
network = “”
network6 = “fd00:c0a8:e700::/64”
dynamic_firewall = false
route_dns = true
device_auth = false
host_id = “xx”
host_address = “xx”
host_address6 = “2a01:xx”
host_networks = [“xx/32”, “”]
cur_timestamp = “2023-11-30 09:58:41.529071”
libipt = false

Debian 11
pritunl v1.32.3725.2
Enterprise subscription


This will be fixed in the next release which should be available tomorrow. You will need to downgrade the package to fix the issue. The repository only keeps old versions for RHEL based distributions. You would need to check the local cache for release version v1.32.3602.80 or older or download the deb package from the Pritunl v1.32.3602.80 GitHub release.

1 Like

The new version does work again, thanks.