ProtonVPN / proton-vpn-gtk-app

Official ProtonVPN Linux app
https://protonvpn.com/download-linux
GNU General Public License v3.0
151 stars 20 forks source link

asyncio.exceptions.TimeoutError on Connect to VPN #57

Open divSelector opened 4 days ago

divSelector commented 4 days ago

Please complete the following checklist (by adding [x]):


 2024-06-22T21:42:11.904459 | proton.vpn.app.gtk.widgets.main.exception_handler:175 | CRITICAL | APP:CRASH | Unexpected error.
Traceback (most recent call last):
 File "/usr/lib/python3.10/asyncio/tasks.py", line 456, in wait_for
   return fut.result()
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
 File "/usr/lib/python3.10/concurrent/futures/_base.py", line 451, in result
   return self.__get_result()
 File "/usr/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
   raise self._exception
 File "/usr/lib/python3/dist-packages/proton/vpn/core/connection.py", line 165, in connect
   await self._connector.connect(
 File "/usr/lib/python3/dist-packages/proton/vpn/connection/vpnconnector.py", line 198, in connect
   await self._on_connection_event(
 File "/usr/lib/python3/dist-packages/proton/vpn/connection/vpnconnector.py", line 230, in _on_connection_event
   event = await self._update_state(new_state)
 File "/usr/lib/python3/dist-packages/proton/vpn/connection/vpnconnector.py", line 250, in _update_state
   new_event = await state_tasks
 File "/usr/lib/python3/dist-packages/proton/vpn/connection/states.py", line 225, in run_tasks
   await self.context.kill_switch.enable(
 File "/usr/lib/python3/dist-packages/proton/vpn/killswitch/backend/linux/networkmanager/nmkillswitch.py", line 59, in enable
   await self._ks_handler.add_full_killswitch_connection(permanent)
 File "/usr/lib/python3/dist-packages/proton/vpn/killswitch/backend/linux/networkmanager/killswitch_connection_handler.py", line 136, in add_full_killswitch_connection
   await _wrap_future(
 File "/usr/lib/python3/dist-packages/proton/vpn/killswitch/backend/linux/networkmanager/killswitch_connection_handler.py", line 51, in _wrap_future
   return await asyncio.wait_for(
 File "/usr/lib/python3.10/asyncio/tasks.py", line 458, in wait_for
   raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError 

After attempting to connect there will be a dummy killswitch left in the network manager that you have to remove before your connection will resume.

divSelector commented 4 days ago

Description: Ubuntu 22.04.4 LTS

Proton VPN Linux Client 4.3.2