Package Details: proton-vpn-gtk-app 4.3.1-2

Git Clone URL: https://aur.archlinux.org/proton-vpn-gtk-app.git (read-only, click to copy)
Package Base: proton-vpn-gtk-app
Description: ProtonVPN GTK app, Maintained by Community
Upstream URL: https://github.com/ProtonVPN/proton-vpn-gtk-app
Keywords: protonvpn
Licenses: GPL3
Groups: ProtonVPN
Conflicts: protonvpn-gui, python-proton-client
Submitter: ali.molaei
Maintainer: ali.molaei
Last Packager: ali.molaei
Votes: 35
Popularity: 7.75
First Submitted: 2023-11-01 12:41 (UTC)
Last Updated: 2024-05-07 09:46 (UTC)

Pinned Comments

stickyhands commented on 2024-02-09 23:53 (UTC) (edited on 2024-02-09 23:53 (UTC) by stickyhands)

@shoryuken thank you, that worked!

@ali.molaei I'm not sure of technicalities of dependencies, but if you cannot force network-manager-applet as a dependency I think you should at least pin some comment explaining that getting it might fix issues. As it stands I accidentally found the solution at other package page https://aur.archlinux.org/packages/protonvpn-cli#comment-951908, and only since it's the newest one.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 14 Next › Last »

Achilleus commented on 2024-01-27 10:11 (UTC)

$ protonvpn-app
2024-01-27T10:08:39.132495 | proton.vpn.connection.vpnconnector:168 | INFO | CONN:STATE_CHANGED | Disconnected (initial state)
Traceback (most recent call last):
  File "/usr/bin/protonvpn-app", line 33, in <module>
    sys.exit(load_entry_point('proton-vpn-gtk-app==4.1.8', 'console_scripts', 'protonvpn-app')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/proton/vpn/app/gtk/__main__.py", line 34, in main
    controller = Controller.get(executor)
                 ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/proton/vpn/app/gtk/controller.py", line 55, in get
    executor.submit(controller.initialize_vpn_connector).result()
  File "/usr/lib/python3.11/concurrent/futures/_base.py", line 456, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
  File "/usr/lib/python3.11/site-packages/proton/vpn/app/gtk/controller.py", line 100, in initialize_vpn_connector
    if self.user_logged_in and self.use_reconnector:
       ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/proton/vpn/app/gtk/controller.py", line 150, in user_logged_in
    return self._api.is_user_logged_in()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/proton/vpn/core/api.py", line 89, in is_user_logged_in
    return self._session_holder.session.logged_in
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/proton/vpn/core/session.py", line 71, in session
    self._session = self._proton_sso.get_default_session(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/proton/sso/sso.py", line 198, in get_default_session
    return self.get_session(account_name, override_class)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/proton/sso/sso.py", line 167, in get_session
    session = override_class(self._appversion, self._user_agent)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/proton/vpn/session/session.py", line 74, in __init__
    super().__init__(*args, **kwargs)
  File "/usr/lib/python3.11/site-packages/proton/session/api.py", line 107, in __init__
    self.transport_factory = None
    ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/proton/session/api.py", line 480, in transport_factory
    default_transport = Loader.get('transport')
                        ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/proton/loader/loader.py", line 90, in get
    acceptable_classes = self.get_all(type_name)
                         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/proton/loader/loader.py", line 163, in get_all
    self.__known_types[type_name][ep.name] = ep.load()
                                             ^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/importlib_metadata/__init__.py", line 208, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.11/site-packages/proton/session/transports/requests.py", line 21, in <module>
    import requests
  File "/usr/lib/python3.11/site-packages/requests/__init__.py", line 43, in <module>
    import urllib3
  File "/usr/lib/python3.11/site-packages/urllib3/__init__.py", line 13, in <module>
    from .connectionpool import HTTPConnectionPool, HTTPSConnectionPool, connection_from_url
  File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 13, in <module>
    from .connection import (
  File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 15, in <module>
    from .util.proxy import create_proxy_ssl_context
  File "/usr/lib/python3.11/site-packages/urllib3/util/__init__.py", line 8, in <module>
    from .ssl_ import (
  File "/usr/lib/python3.11/site-packages/urllib3/util/ssl_.py", line 17, in <module>
    from .url import BRACELESS_IPV6_ADDRZ_RE, IPV4_RE
  File "/usr/lib/python3.11/site-packages/urllib3/util/url.py", line 63, in <module>
    BRACELESS_IPV6_ADDRZ_RE = re.compile("^" + IPV6_ADDRZ_PAT[2:-2] + "$")
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/__init__.py", line 227, in compile
    return _compile(pattern, flags)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/__init__.py", line 294, in _compile
    p = _compiler.compile(pattern, flags)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_compiler.py", line 743, in compile
    p = _parser.parse(p, flags)
        ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 982, in parse
    p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 457, in _parse_sub
    itemsappend(_parse(source, state, verbose, nested + 1,
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 865, in _parse
    p = _parse_sub(source, state, sub_verbose, nested + 1)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 457, in _parse_sub
    itemsappend(_parse(source, state, verbose, nested + 1,
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 865, in _parse
    p = _parse_sub(source, state, sub_verbose, nested + 1)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 457, in _parse_sub
    itemsappend(_parse(source, state, verbose, nested + 1,
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 583, in _parse
    code1 = LITERAL, _ord(this)
                     ^^^^^^^^^^
TypeError: ord() expected a character, but string of length 2 found

ali.molaei commented on 2024-01-26 13:23 (UTC)

@deimos-aur Thanks

  1. No it doesn't support from upstream and I cannot do anything about that Read here

  2. I'm not sure and don't know about these technical details :) sorry

ali.molaei commented on 2024-01-26 13:20 (UTC)

@shoryuken network-manager-applet is an optional dependency for python-proton-vpn-network-manager which is a dependency for this package, I cannot force the applet to all users, some DEs and WMs will not force you to have that

deimos-aur commented on 2024-01-22 08:06 (UTC) (edited on 2024-01-22 08:09 (UTC) by deimos-aur)

I installed this pkg via AUR and it works mostly as expected. Thank you for committing/maintaining all of the dependent AUR packages to make this work.

Two questions:

  1. Does this support protonvpn wireguard servers? All I see are openvpn (udp/tcp) options.
  2. Does this support expanded ports? protonvpn blocks a lot of ports outbound without this setting enabled.

shoryuken commented on 2024-01-14 18:33 (UTC)

So it's not just networkmanager that's required, but also network-manager-applet (of which networkmanager is a dependency): see e.g. https://bbs.archlinux.org/viewtopic.php?id=246698

Without this, you'd have to activate each interface manually using nmcli connection up --ask, so it's not usable in this way.

So please add network-manager-applet as a dependency so that users don't waste their time on useless searches and have the maximum chance of getting working software out of the box. Thanks! :)

shoryuken commented on 2024-01-13 18:40 (UTC)

Apparently, networkmanager had to be installed and enabled/started. If so, it should be a dependency, its absence shouldn't crash the app, and an explicit error message would be nice :)

Now I have an authentication problem:

2024-01-13T18:36:31.709247 | proton.vpn.app.gtk.widgets.main.exception_handler:163 | ERROR | APP:ERROR | Reconnection not possible due to authentication error.
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/proton/vpn/app/gtk/services/reconnector/reconnector.py", line 142, in _raise_reconnection_error
    raise AuthenticationError("Reconnection not possible due to authentication error.")
proton.vpn.connection.exceptions.AuthenticationError: Reconnection not possible due to authentication error.

shoryuken commented on 2024-01-13 15:48 (UTC) (edited on 2024-01-13 15:49 (UTC) by shoryuken)

The app crashes when I try to connect to a server, has anyone ever had this?

2024-01-13T15:19:39.053697 | proton.vpn.app.gtk.widgets.main.exception_handler:174 | CRITICAL | APP:CRASH | Unexpected error.
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/proton/vpn/killswitch/interface/killswitch.py", line 52, in get
    return Loader.get("killswitch", class_name=class_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/proton/loader/loader.py", line 113, in get
    raise RuntimeError(f"Loader: couldn't find an acceptable implementation for {type_name}.")
RuntimeError: Loader: couldn't find an acceptable implementation for killswitch.

texer22 commented on 2024-01-07 17:08 (UTC) (edited on 2024-01-07 21:46 (UTC) by texer22)

I am trying to connect to a VPN connection but I get two warnings:

1. pvpn-killswitch-ipv6 
(Connection pvpn-killswitch-ipv6 deactivated)
2. ipv6leakintrf0
(IP configuration was unavailable).

I have had disabled IPV6 connections in /etc/ GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1"

I also checked on a virtual machine (with IP6 disabled) and I get the same warnings but the app connects to a VPN.

EDIT
I checked with a IP6 enabled and still cannot connect to a VPN.
Artix Linux 6.6.9, Wayland, OpenRC

texer22 commented on 2024-01-07 16:06 (UTC) (edited on 2024-01-07 21:43 (UTC) by texer22)

I cannot run it on Artix Wayland OpenRC. https://pastebin.com/h4LVkUa4 I have checked it on virtual machine using same set up (OpenRC and Wayland) and it is working. Very weird.

RuntimeError: The Secret Service daemon is neither running nor activatable through D-Bus

EDIT: Solved! I had to install gnome-keyring...

port19 commented on 2023-12-29 09:44 (UTC)

Forgot a dependency?

RuntimeError: The Secret Service daemon is neither running nor activatable through D-Bus