Installation
By following this guide https://docs.eduvpn.org/client/linux/installation.html
Version
4.5.1
Check if your issue is in the known issues list
It is not
OS/Distribution
Fedora 42, Ubuntu 24
Description
More and more users here at Masaryk University are complaining about connection issues on Linux (and also Windows machines, I will create an issue in the Win app repo).
Apparently, the application often hangs, for multiple reasons. I will try to explain some scenarios that led to these problems.
I think most (if not all) of these problems come down to users having more than one connection in Network Manager under the name "eduVPN" or a single orphaned one with the same name.
1. Multiple accounts
A user works on a machine from multiple accounts, leaving eduVPN active in one of the profiles when attempting to activate eduVPN from the other profile, the application hangs.
I managed to replicate the issue. I was forced to close the app.
Repeating the process results in the same outcome. I did not manage to establish connection.
Logs
2025年06月16日 12:41:00,559 - MainThread - ERROR - eduvpn.nm - nm.py:739 - nm-manager-error-quark: Private connection already active on the device: uid 1001 has no permission to perform this operation (1)
2025年06月16日 12:42:14,456 - call-model - WARNING - eduvpn.nm - nm.py:780 - no connection to deactivate of uuid <module 'uuid' from '/usr/lib64/python3.13/uuid.py'>
2025年06月16日 12:42:29,596 - MainThread - ERROR - eduvpn.nm - nm.py:739 - nm-manager-error-quark: Private connection already active on the device: uid 1001 has no permission to perform this operation (1)
2025年06月16日 12:42:34,979 - call-model - WARNING - eduvpn.nm - nm.py:780 - no connection to deactivate of uuid <module 'uuid' from '/usr/lib64/python3.13/uuid.py'>
2.
We are not sure what steps led to this issue. The colleague that was having the issue no longer works here. However, he had to resort to using a configuration Wireguard file from the portal.
Logs
2024年12月02日 08:03:20,372 - MainThread - ERROR - eduvpn.nm - nm.py:783 - delete_connection_async exception: nm-settings-error-quark: Error checking authorization: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying (0)
2025年01月06日 09:21:13,817 - MainThread - ERROR - eduvpn.nm - nm.py:783 - delete_connection_async exception: nm-settings-error-quark: Error checking authorization: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying (0)
2025年01月24日 07:47:26,749 - MainThread - ERROR - eduvpn.nm - nm.py:820 - nm-device-error-quark: This device is not active (4)
2025年01月24日 07:47:26,761 - MainThread - ERROR - eduvpn.nm - nm.py:783 - delete_connection_async exception: nm-settings-error-quark: Error checking authorization: GDBus.Error:org.freedesktop.systemd1.TransactionIsDestructive: Transaction for polkit.service/start is destructive (proc-sys-fs-binfmt_misc.automount has 'stop' job queued, but 'start' is included in transaction). (0)
2025年02月04日 09:25:38,099 - MainThread - ERROR - eduvpn.nm - nm.py:820 - nm-device-error-quark: This device is not active (4)
2025年02月04日 09:25:38,136 - MainThread - ERROR - eduvpn.nm - nm.py:783 - delete_connection_async exception: nm-settings-error-quark: Error checking authorization: GDBus.Error:org.freedesktop.systemd1.TransactionIsDestructive: Transaction for polkit.service/start is destructive (systemd-reboot.service has 'start' job queued, but 'stop' is included in transaction). (0)
2025年02月04日 10:09:54,628 - MainThread - ERROR - eduvpn.nm - nm.py:783 - delete_connection_async exception: nm-settings-error-quark: Error checking authorization: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying (0)
2025年02月11日 06:51:16,020 - MainThread - ERROR - eduvpn.nm - nm.py:820 - nm-device-error-quark: Device is not active (4)
2025年02月11日 06:51:16,066 - MainThread - ERROR - eduvpn.nm - nm.py:783 - delete_connection_async exception: nm-settings-error-quark: Error checking authorization: GDBus.Error:org.freedesktop.systemd1.TransactionIsDestructive: Transaction for polkit.service/start is destructive (systemd-fsck@dev-disk-by\x2duuid-3918\x2dF710.service has 'stop' job queued, but 'start' is included in transaction). (0)
2025年02月20日 07:39:59,494 - MainThread - ERROR - eduvpn.nm - nm.py:820 - nm-device-error-quark: This device is not active (4)
2025年02月20日 07:39:59,586 - MainThread - ERROR - eduvpn.nm - nm.py:783 - delete_connection_async exception: nm-settings-error-quark: Error checking authorization: GDBus.Error:org.freedesktop.systemd1.TransactionIsDestructive: Transaction for polkit.service/start is destructive (systemd-update-utmp.service has 'stop' job queued, but 'start' is included in transaction). (0)
2025年02月21日 09:41:36,156 - MainThread - ERROR - eduvpn.nm - nm.py:783 - delete_connection_async exception: nm-settings-error-quark: Error checking authorization: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying (0)
2025年02月26日 10:16:46,812 - MainThread - ERROR - eduvpn.nm - nm.py:917 - add connection error: g-io-error-quark: Operation was cancelled (19)
2025年02月26日 10:16:46,813 - call-model - WARNING - eduvpn.nm - nm.py:706 - no connection to deactivate of uuid <module 'uuid' from '/usr/lib/python3.12/uuid.py'>
2025年02月26日 10:19:51,481 - MainThread - ERROR - eduvpn.nm - nm.py:917 - add connection error: g-dbus-error-quark: Message recipient disconnected from message bus without replying (4)
2025年02月26日 10:19:57,944 - call-model - WARNING - eduvpn.nm - nm.py:706 - no connection to deactivate of uuid <module 'uuid' from '/usr/lib/python3.12/uuid.py'>
2025年02月26日 10:28:09,977 - MainThread - ERROR - eduvpn.nm - nm.py:917 - add connection error: g-dbus-error-quark: Message recipient disconnected from message bus without replying (4)
2025年02月26日 10:28:16,997 - call-model - WARNING - eduvpn.nm - nm.py:706 - no connection to deactivate of uuid <module 'uuid' from '/usr/lib/python3.12/uuid.py'>
2025年02月26日 10:29:30,115 - MainThread - ERROR - eduvpn.nm - nm.py:917 - add connection error: g-dbus-error-quark: Message recipient disconnected from message bus without replying (4)
2025年02月26日 10:29:42,919 - call-model - WARNING - eduvpn.nm - nm.py:706 - no connection to deactivate of uuid <module 'uuid' from '/usr/lib/python3.12/uuid.py'>
3. Deleting contents of the .config/eduvpn/ folder
Many users try to resolve issues by deleting the .config/eduvpn folder. This action results in logs below.
Logs
2025年06月16日 11:07:39,160 - call-model - ERROR - /usr/lib/python3.13/site-packages/eduvpn/utils.py - utils.py:143 - exception occurred: Failed to obtain a VPN configuration for server: 'https://eduvpn.muni.cz/'. The cause of the error is: Timeout reached contacting URL: 'https://eduvpn.muni.cz/vpn-user-portal/api/v3/connect'.
2025年06月16日 11:07:39,175 - MainThread - ERROR - /usr/lib/python3.13/site-packages/eduvpn/utils.py - utils.py:28 - Unhandled exception
Traceback (most recent call last):
File "/usr/lib/python3.13/site-packages/eduvpn/utils.py", line 97, in inner
func(self, other_state, data)
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/eduvpn/ui/ui.py", line 809, in enter_MainState
secure = self.app.model.server_db.secure_internet
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/eduvpn/server.py", line 278, in secure_internet
for server in self.configured:
^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/eduvpn/server.py", line 293, in configured
return parse_servers(self.wrapper.get_servers())
~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3.13/site-packages/eduvpn_common/main.py", line 236, in get_servers
forwardError(servers_err)
~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/eduvpn_common/main.py", line 58, in forwardError
raise WrappedError(d["message"], "en", d["misc"])
eduvpn_common.main.WrappedError: An internal error occurred. The cause of the error is: No state available, did you register the client?.
2025年06月16日 11:07:57,750 - call-model - ERROR - /usr/lib/python3.13/site-packages/eduvpn/utils.py - utils.py:143 - exception occurred: Failed to obtain a VPN configuration for server: 'https://eduvpn.muni.cz/'. The cause of the error is: Timeout reached contacting URL: 'https://eduvpn.muni.cz/.well-known/vpn-user-portal'.
2025年06月16日 11:08:50,000 - call-model - ERROR - /usr/lib/python3.13/site-packages/eduvpn/utils.py - utils.py:143 - exception occurred: Failed to obtain a VPN configuration for server: 'https://eduvpn.muni.cz/'. The cause of the error is: Timeout reached contacting URL: 'https://eduvpn.muni.cz/vpn-user-portal/api/v3/info'.
2025年06月16日 11:09:20,750 - call-model - ERROR - /usr/lib/python3.13/site-packages/eduvpn/utils.py - utils.py:143 - exception occurred: Failed to obtain a VPN configuration for server: 'https://eduvpn.muni.cz/'. The cause of the error is: Timeout reached contacting URL: 'https://eduvpn.muni.cz/vpn-user-portal/api/v3/info'.
2025年06月16日 12:29:48,221 - MainThread - WARNING - eduvpn.nm - nm.py:912 - Cannot disconnect, no WireGuard device
In all of these cases, deleting NM connections with nmcli con delete eduVPN resolved the issue, however users are running into similar problems repeatedly, which means new orphaned or duplicate connections are somehow created by the app.
Could you please provide us assistance with these issues?
I know the issues are not very coherent or well-reproducible. I will be happy to provide more information if there is something specific you need to know.
Thanks