Package Details: proton-vpn-gtk-app 4.8.1-1

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: 89
Popularity: 8.78
First Submitted: 2023-11-01 12:41 (UTC)
Last Updated: 2024-12-06 14:44 (UTC)

Pinned Comments

ali.molaei commented on 2024-11-14 16:25 (UTC)

I've added https://aur.archlinux.org/packages/python-proton-vpn-local-agent-bin as optional dependency, I worked on https://aur.archlinux.org/packages/python-proton-vpn-local-agent a bit to build it from source, but I have a weird issue with it so I'm not depending this package on that by default for now.

For those who know a bit about rust packaging, the issue with building from source for me is: - If I copy the build so file using cp command it works fine - If I package it (using install in PKGBUILD) and put the file there by installing the package using pacman, It doesn't work! although the files have the same checksum.

I have no idea why is that and am open to any help on https://aur.archlinux.org/packages/python-proton-vpn-local-agent package

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 .. 22 Next › Last »

Ginko commented on 2024-08-01 17:33 (UTC)

python-proton-vpn-session was removed as a dependency on May 24, you should uninstall it.

raisedintheusa commented on 2024-08-01 17:25 (UTC)

I'm seeing "python-proton-vpn-session-0.6.7-3 and python-proton-vpn-api-core-0.29.4-2 are in conflict" and while the app starts, it's not able to successfully start a VPN connection, giving an error of "Something went wrong."

Achilleus commented on 2024-08-01 08:20 (UTC) (edited on 2024-08-01 08:21 (UTC) by Achilleus)

After recent update the app won't run

$ protonvpn-app
2024-08-01T06:59:46.482066 | proton.vpn.session.session:96 | WARNING | VPN session could not be deserialized.
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/proton/vpn/session/session.py", line 92, in __setstate__
    self._server_list = self._fetcher.load_server_list_from_cache()
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/proton/vpn/session/fetcher.py", line 113, in load_server_list_from_cache
    return self._server_list_fetcher.load_from_cache()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/proton/vpn/session/servers/fetcher.py", line 109, in load_from_cache
    raise ServerListDecodeError("Cached server list was not found")
proton.vpn.session.exceptions.ServerListDecodeError: Cached server list was not found
Traceback (most recent call last):
  File "/usr/bin/protonvpn-app", line 33, in <module>
    sys.exit(load_entry_point('proton-vpn-gtk-app==4.4.2', 'console_scripts', 'protonvpn-app')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/proton/vpn/app/gtk/__main__.py", line 34, in main
    controller = Controller.get(executor)
                 ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/proton/vpn/app/gtk/controller.py", line 61, in get
    executor.submit(controller.initialize_vpn_connector).result()
  File "/usr/lib/python3.12/concurrent/futures/_base.py", line 456, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
  File "/usr/lib/python3.12/site-packages/proton/vpn/app/gtk/controller.py", line 94, in initialize_vpn_connector
    self._connector = await self._api.get_vpn_connector()
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/proton/vpn/core/api.py", line 67, in get_vpn_connector
    vpn_connector = await VPNConnector.get(credentials, settings)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/proton/vpn/connection/vpnconnector.py", line 61, in get
    await connector.initialize_state()
  File "/usr/lib/python3.12/site-packages/proton/vpn/connection/vpnconnector.py", line 156, in initialize_state
    self._set_global_ks()
  File "/usr/lib/python3.12/site-packages/proton/vpn/connection/vpnconnector.py", line 302, in _set_global_ks
    kill_switch_backend = KillSwitch.get(protocol=protocol)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/proton/vpn/killswitch/interface/killswitch.py", line 59, in get
    return Loader.get(
           ^^^^^^^^^^^
TypeError: Loader.get() got an unexpected keyword argument 'validate_params'

ali.molaei commented on 2024-08-01 07:06 (UTC)

Please remove the python-proton-vpn-connection and python-proton-vpn-killswitch packages, they are now provided via api-core

osmosys commented on 2024-07-29 09:14 (UTC) (edited on 2024-07-29 09:35 (UTC) by osmosys)

Hello, thank you for providing smooth way to install the proton app, It would be nice that the PKGBUILD use "rm -f" or check that the file exists. It cause the build to fail for me :/

Cleaning version.py and versions.yml copied by mistake by setup.py
rm: cannot remove '.local/var/cache/yay/proton-vpn-gtk-app/pkg/proton-vpn-gtk-app/usr/version.py': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
 -> error making: proton-vpn-gtk-app-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
proton-vpn-gtk-app - exit status 4

I modified manually the PKGBUILD to make it work for me but I guess that it could be included in the original.

Wispy commented on 2024-07-17 18:10 (UTC) (edited on 2024-07-17 18:11 (UTC) by Wispy)

Connection to free servers doesn't work:

2024-07-17T18:01:58.258122 | proton.vpn.app.gtk.widgets.vpn.quick_connect_widget:96 | INFO | UI.TRAY:CONNECT | Connect to fastest server
2024-07-17T18:01:58.322000 | proton.vpn.core.connection:168 | INFO | CONN.CONNECT:START | Server: JP-FREE#189009 / Domain: node-jp-22.protonvpn.net / IP: 138.199.21.216 / OpenVPN Ports: ProtocolPorts(udp=[80], tcp=[8443]) / WireGuard Ports: ProtocolPorts(udp=[443, 1224, 4500, 51820], tcp=[443, 5995]) / Protocol: openvpn-udp / Backend: None
2024-07-17T18:01:58.324045 | proton.vpn.connection.vpnconnector:238 | INFO | CONN:STATE_CHANGED | Connecting
2024-07-17T18:01:59.451816 | proton.vpn.backend.linux.networkmanager.core.networkmanager:91 | INFO | VPN server REACHABLE.
2024-07-17T18:01:59.582865 | proton.vpn.connection.vpnconnector:238 | INFO | CONN:STATE_CHANGED | Error
2024-07-17T18:01:59.586006 | proton.vpn.connection.states:334 | WARNING | Reached connection error state: AuthDenied (<enum NM_VPN_CONNECTION_STATE_REASON_NO_SECRETS of type NM.VpnConnectionStateReason>)
2024-07-17T18:02:02.162003 | proton.vpn.app.gtk.services.reconnector.reconnector:191 | INFO | VPN connection drop was detected.
2024-07-17T18:02:02.162562 | proton.vpn.app.gtk.services.reconnector.reconnector:194 | INFO | VPN reconnection not possible: fatal connection error.
2024-07-17T18:02:02.478456 | proton.vpn.app.gtk.widgets.main.exception_handler:164 | ERROR | APP:ERROR | Reconnection not possible due to authentication error.
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/proton/vpn/app/gtk/services/reconnector/reconnector.py", line 148, in _on_reconnection_error
    raise AuthenticationError("Reconnection not possible due to authentication error.")
proton.vpn.connection.exceptions.AuthenticationError: Reconnection not possible due to authentication error.
2024-07-17T18:02:59.096368 | proton.vpn.app.gtk.widgets.headerbar.menu.menu:224 | INFO | UI.DIALOG:QUIT | Yes
2024-07-17T18:02:59.113659 | proton.vpn.connection.vpnconnector:238 | INFO | CONN:STATE_CHANGED | Disconnected
2024-07-17T18:02:59.114476 | proton.vpn.app.gtk.services.reconnector.reconnector:103 | INFO | VPN reconnector disabled.
2024-07-17T18:02:59.115468 | proton.vpn.connection.persistence:110 | WARNING | CONN.PERSISTENCE:REMOVE | Connection persistence not found when trying to remove it: /home/wispy/.cache/Proton/VPN/connection/connection_persistence.json
2024-07-17T18:02:59.115784 | proton.vpn.app.gtk.services.refresher.client_config_refresher:77 | INFO | Client config refresher disabled.
2024-07-17T18:02:59.116346 | proton.vpn.app.gtk.services.refresher.server_list_refresher:82 | INFO | Server list refresher disabled.
2024-07-17T18:02:59.116854 | proton.vpn.app.gtk.services.refresher.certificate_refresher:77 | INFO | Certificate refresher disabled
2024-07-17T18:02:59.117339 | proton.vpn.app.gtk.services.refresher.vpn_data_refresher:150 | INFO | APP.VPN_DATA_REFRESHER:DISABLE | VPN data refresher service disabled.

bader commented on 2024-07-17 08:03 (UTC)

when I try to connect the app crashes. Not sure what is causing it. I have tried rebuilding the app and all dependencies to no avail.

Version: 4.3.3-1

Error log:

2024-07-17T08:00:13.860389 | proton.vpn.app.gtk.widgets.vpn.quick_connect_widget:96 | INFO | UI.TRAY:CONNECT | Connect to fastest server
2024-07-17T08:00:13.945635 | proton.vpn.core.connection:168 | INFO | CONN.CONNECT:START | Server: QA#7 / Domain: qa-01.protonvpn.net / IP: 45.83.136.1 / OpenVPN Ports: ProtocolPorts(udp=[80, 51820, 4569, 1194, 5060], tcp=[443, 7770, 8443]) / WireGuard Ports: ProtocolPorts(udp=[443, 88, 1224, 51820, 500, 4500], tcp=[443]) / Protocol: openvpn-udp / Backend: None
2024-07-17T08:00:14.056628 | proton.vpn.connection.vpnconnector:238 | INFO | CONN:STATE_CHANGED | Connecting
2024-07-17T08:00:19.063952 | proton.vpn.app.gtk.widgets.main.exception_handler:175 | CRITICAL | APP:CRASH | Unexpected error.
Traceback (most recent call last):
  File "/usr/lib/python3.12/concurrent/futures/_base.py", line 449, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
TimeoutError