Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 24.04: Proton VPN 4.9.1 not loading properly unless I sign out and login of Proton account #96

Open
jugular253 opened this issue Feb 21, 2025 · 2 comments

Comments

@jugular253
Copy link

jugular253 commented Feb 21, 2025

Image

Proton VPN 4.9.1 not loading properly unless I sign out and login of Proton account.

Here's my terminal output when I first started the Proton VPN app:

~$ protonvpn-app
2025-02-21T04:44:30.433038+00:00 | proton.vpn.session.session:96 | WARNING | VPN session could not be deserialized.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/proton/vpn/session/session.py", line 92, in __setstate__
    self._server_list = self._fetcher.load_server_list_from_cache()
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-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/dist-packages/proton/vpn/session/servers/fetcher.py", line 128, in load_from_cache
    raise ServerListDecodeError("Cached server list was not found")
proton.vpn.session.exceptions.ServerListDecodeError: Cached server list was not found
2025-02-21T04:44:30.801754+00:00 | proton.vpn.core.connection:472 | INFO | CONN:STATE_CHANGED | Disconnected (initial state)
2025-02-21T04:44:31.090973+00:00 | proton.vpn.app.gtk.app:57 | INFO | APP:PROCESS_START | self=<app.App object at 0x75a9f718b080 (proton+vpn+app+gtk+app+App at 0x226e4a50)>
2025-02-21T04:44:31.213438+00:00 | proton.vpn.app.gtk.utils.exception_handler:257 | CRITICAL | APP:CRASH | Unexpected error.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/proton/vpn/app/gtk/widgets/main/main_widget.py", line 81, in <lambda>
    self.connect("show", lambda *_: self.initialize_visible_widget())
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/proton/vpn/app/gtk/widgets/main/main_widget.py", line 113, in initialize_visible_widget
    self._display_vpn_widget()
  File "/usr/lib/python3/dist-packages/proton/vpn/app/gtk/widgets/main/main_widget.py", line 182, in _display_vpn_widget
    self.vpn_widget = self._create_vpn_widget()
                      ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/proton/vpn/app/gtk/widgets/main/main_widget.py", line 169, in _create_vpn_widget
    vpn_widget = VPNWidget(
                 ^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/proton/vpn/app/gtk/widgets/vpn/vpn_widget.py", line 84, in __init__
    self.connection_status_widget = VPNConnectionStatusWidget(
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/proton/vpn/app/gtk/widgets/vpn/connection_status_widget.py", line 60, in __init__
    .get("DisplayPortForwarding")
     ^^^AttributeError: 'NoneType' object has no attribute 'get'

And here's the terminal output after I signed out and logged into my Proton account:

2025-02-21T06:03:01.485631+00:00 | proton.vpn.core.connection:472 | INFO | CONN:STATE_CHANGED | Disconnected (initial state)
2025-02-21T06:03:01.779660+00:00 | proton.vpn.app.gtk.app:57 | INFO | APP:PROCESS_START | self=<app.App object at 0x7a053893e500 (proton+vpn+app+gtk+app+App at 0x2bbbde90)>
2025-02-21T06:03:01.897622+00:00 | proton.vpn.core.refresher.vpn_data_refresher:167 | INFO | APP.VPN_DATA_REFRESHER:ENABLE | VPN data refresher service enabled.
2025-02-21T06:03:01.898313+00:00 | proton.vpn.core.refresher.vpn_data_refresher:175 | INFO | Next client config refresh scheduled in 2:25:53.029466
2025-02-21T06:03:01.898603+00:00 | proton.vpn.core.refresher.vpn_data_refresher:184 | INFO | Next server list refresh scheduled in 0:01:58.679786
2025-02-21T06:03:01.901323+00:00 | proton.vpn.core.refresher.vpn_data_refresher:193 | INFO | Next certificate refresh scheduled in 5 days, 5:13:53.098899
2025-02-21T06:03:01.902099+00:00 | proton.vpn.core.refresher.vpn_data_refresher:202 | INFO | Next feature flags refresh scheduled in 1:09:28.363285
2025-02-21T06:03:01.962174+00:00 | proton.vpn.app.gtk.services.reconnector.reconnector:95 | INFO | VPN reconnector enabled.
2025-02-21T06:03:02.369912+00:00 | proton.vpn.app.gtk.controller:147 | INFO | APP.STARTUP:STARTUP_ACTIONS | Running startup actions
2025-02-21T06:03:02.370121+00:00 | proton.vpn.app.gtk.widgets.vpn.vpn_widget:199 | INFO | APP.VPN:WIDGET_READY | VPN widget is ready (load time: 0.47 seconds)
2025-02-21T06:03:02.374876+00:00 | proton.vpn.app.gtk.services.reconnector.reconnector:175 | INFO | Network connectivity was detected.
@jugular253 jugular253 changed the title Ubuntu 24.04: Proton VPN 4.9.1 on not loading properly unless I sign out and login of Proton account Ubuntu 24.04: Proton VPN 4.9.1 not loading properly unless I sign out and login of Proton account Feb 21, 2025
@defUserName-404
Copy link

I had the same issue on Debian 12 Kde. I had to log out and log back in to solve the issue. Deleting caches and config file did not work.

@calexandru2018
Copy link
Member

Hey @jugular253, thanks for the report 👍🏻
We're aware of this issue and have already issued a fix on python3-proton-vpn-api-core v0.42.2, which is currently available on the beta branch. It will be available on the stable branch next monday.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants