linux-app
linux-app copied to clipboard
Why does protonvpn fail to connect?
from protonvpn-cli.log
the error seems to be dbus not being authorized to perform an operation
-------------------------------------------------
----------- Initialized protonvpn-cli -----------
-------------------------------------------------
2022-07-04 06:22:11,659 — cli.py — INFO — __init__:29 — Proton VPN CLI v3.12.0 (protonvpn-nm-lib v3.11.0; proton-client v0.7.1)
2022-07-04 06:22:11,660 — cli.py — INFO — __init__:64 — CLI command: Namespace(command='c', version=False, help=False, get_logs=False)
2022-07-04 06:22:11,661 — cli.py — INFO — connect:128 — Options: Namespace(servername=None, fastest=False, random=False, cc=None, sc=False, p2p=False, tor=False, protocol=None, help=False)
2022-07-04 06:22:15,586 — cli_dialog.py — INFO — start:59 — Selected country: "Netherlands"
2022-07-04 06:22:17,047 — cli_dialog.py — INFO — start:63 — Selected server: "NL-FREE#1"
2022-07-04 06:22:17,807 — cli_dialog.py — INFO — start:67 — Selected protocol: "udp"
2022-07-04 06:22:18,794 — cli_wrapper.py — ERROR — connect:379 — org.freedesktop.NetworkManager.PermissionDenied: Not authorized to perform this operation
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/protonvpn_cli/cli_wrapper.py", line 277, in connect
self.protonvpn.setup_connection(
File "/usr/lib/python3/dist-packages/protonvpn_nm_lib/api.py", line 158, in setup_connection
self._env.connection_backend.setup(**data)
File "/usr/lib/python3/dist-packages/protonvpn_nm_lib/core/connection_backend/nm_client/nm_client.py", line 81, in setup
self._pre_setup_connection(kwargs.get("entry_ip"))
File "/usr/lib/python3/dist-packages/protonvpn_nm_lib/core/connection_backend/nm_client/nm_client.py", line 233, in _pre_setup_connection
ipv6_lp.manage(KillSwitchActionEnum.ENABLE)
File "/usr/lib/python3/dist-packages/protonvpn_nm_lib/core/killswitch/ipv6_leak_protection.py", line 55, in manage
self._ensure_connectivity_check_is_disabled()
File "/usr/lib/python3/dist-packages/protonvpn_nm_lib/core/killswitch/ipv6_leak_protection.py", line 226, in _ensure_connectivity_check_is_disabled
self.disable_connectivity_check(
File "/usr/lib/python3/dist-packages/protonvpn_nm_lib/core/killswitch/ipv6_leak_protection.py", line 273, in disable_connectivity_check
nm_methods.Set(
File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 72, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 141, in __call__
return self._connection.call_blocking(self._named_service,
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.NetworkManager.PermissionDenied: Not authorized to perform this operation
the output when using protonvpn-cli
Setting up Proton VPN.
An unknown error has occured. Please ensure that you have internet connectivity.
If the issue persists, please contact support.
I am running Ubuntu 22 with xfce environment