avicenzi, Thanks for the info.
I tried installing Proton VPN according to your terminal instruction for the CLI-version. The program installed with no problems. However, I had to install it with superuser rights, so I found out I had to write sudo in front of the command.
Nonetheless, the program will not start. I have several errors when I try to connect? I have no idea about those errors - there is no explanation of the errors other than references to line numbers inside some kind of code, which really is a very limited help for users like me. The only thing which I can figure out are that are 2 errors regarding an "Invalid access token and an “Invalid refresh token”. There are no explanations at all about what I can do to fix it
- what would you suggest regarding steps to counter these errors? Below is the error message:
protonvpn-cli c
Traceback (most recent call last):
File “/usr/lib/python3.10/site-packages/protonvpn_nm_lib/core/session/session.py”, line 39, in call
result = self._func(session, *args, **kwargs)
File “/usr/lib/python3.10/site-packages/protonvpn_nm_lib/core/session/session.py”, line 620, in update_servers_if_needed
self.__proton_api.api_request(
File “/usr/lib/python3.10/site-packages/proton/api.py”, line 294, in api_request
raise ProtonAPIError(response)
proton.exceptions.ProtonAPIError: Invalid access token
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/lib/python3.10/site-packages/protonvpn_nm_lib/core/session/session.py”, line 39, in call
result = self._func(session, *args, **kwargs)
File “/usr/lib/python3.10/site-packages/protonvpn_nm_lib/core/session/session.py”, line 411, in refresh
self.__proton_api.refresh()
File “/usr/lib/python3.10/site-packages/proton/api.py”, line 468, in refresh
refresh_response = self.api_request(
File “/usr/lib/python3.10/site-packages/proton/api.py”, line 294, in api_request
raise ProtonAPIError(response)
proton.exceptions.ProtonAPIError: Invalid refresh token
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/bin/protonvpn-cli”, line 33, in
sys.exit(load_entry_point(‘protonvpn-cli==3.13.0’, ‘console_scripts’, ‘protonvpn-cli’)())
File “/usr/lib/python3.10/site-packages/protonvpn_cli/main.py”, line 21, in main
ProtonVPNCLI()
File “/usr/lib/python3.10/site-packages/protonvpn_cli/cli.py”, line 65, in init
res = getattr(self, args.command)()
File “/usr/lib/python3.10/site-packages/protonvpn_cli/cli.py”, line 71, in c
return self.connect()
File “/usr/lib/python3.10/site-packages/protonvpn_cli/cli.py”, line 133, in connect
return self.cli_wrapper.connect(args)
File “/usr/lib/python3.10/site-packages/protonvpn_cli/cli_wrapper.py”, line 261, in connect
servername, protocol = self.dialog.start()
File “/usr/lib/python3.10/site-packages/protonvpn_cli/cli_dialog.py”, line 48, in start
self.servers = self.session.servers
File “/usr/lib/python3.10/site-packages/protonvpn_nm_lib/core/session/session.py”, line 675, in servers
self.update_servers_if_needed()
File “/usr/lib/python3.10/site-packages/protonvpn_nm_lib/core/session/session.py”, line 42, in call
self.__handle_api_error(e, session, *args, **kwargs)
File “/usr/lib/python3.10/site-packages/protonvpn_nm_lib/core/session/session.py”, line 69, in __handle_api_error
return getattr(
File “/usr/lib/python3.10/site-packages/protonvpn_nm_lib/core/session/session.py”, line 154, in _handle_401
session.refresh()
File “/usr/lib/python3.10/site-packages/protonvpn_nm_lib/core/session/session.py”, line 42, in call
self.__handle_api_error(e, session, *args, **kwargs)
File “/usr/lib/python3.10/site-packages/protonvpn_nm_lib/core/session/session.py”, line 69, in __handle_api_error
return getattr(
File “/usr/lib/python3.10/site-packages/protonvpn_nm_lib/core/session/session.py”, line 207, in _handle_10013
raise APISessionIsNotValidError(error)
protonvpn_nm_lib.exceptions.APISessionIsNotValidError: Invalid refresh token