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

[BUG] Arch Empty Server Pool #377

Open
ProgKing opened this issue Dec 8, 2024 · 9 comments
Open

[BUG] Arch Empty Server Pool #377

ProgKing opened this issue Dec 8, 2024 · 9 comments

Comments

@ProgKing
Copy link

ProgKing commented Dec 8, 2024

I have this error on my Arch Linux after fresh install:
Traceback (most recent call last):
File "/usr/bin/protonvpn", line 33, in
sys.exit(load_entry_point('protonvpn-cli==2.2.12', 'console_scripts', 'protonvpn')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/protonvpn_cli/cli.py", line 72, in main
cli()
File "/usr/lib/python3.12/site-packages/protonvpn_cli/cli.py", line 121, in cli
connection.fastest(protocol)
File "/usr/lib/python3.12/site-packages/protonvpn_cli/connection.py", line 180, in fastest
fastest_server = get_fastest_server(server_pool)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/protonvpn_cli/utils.py", line 180, in get_fastest_server
fastest_server = random.choice(fastest_pool[:pool_size])["Name"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/random.py", line 347, in choice
raise IndexError('Cannot choose from an empty sequence')
IndexError: Cannot choose from an empty sequence

@ACR-Jeff
Copy link

ACR-Jeff commented Dec 9, 2024

Exact same issue in void linux
I've been using protonvpn-cli for some time, Today I tried to connect to any server and I get the exact errors above.

@Phoenix-999
Copy link

Same Problem

@ACR-Jeff
Copy link

ACR-Jeff commented Jan 13, 2025

Well I solved all of my problems with the help of one comment in Reddit, https://old.reddit.com/r/ProtonVPN/comments/1bd1o4e/protonvpn_cli_api_not_working/kumk5x6/
open terminal and execute this command sudo protonvpn init
Type in your password, It will then follow through with some steps
I followed the instructions on protonvpn's website 2. Your OpenVPN username and password https://protonvpn.com/support/linux-openvpn#preparation
Then follow through with your other options such as free vpn or paid service, Etc.
After that everything works as expected on my end.

@ACR-Jeff
Copy link

ACR-Jeff commented Jan 13, 2025

Well shoot, It worked right after configuring, Now it's throwing errors on protonvpn status Going to have to check the errors.

ProtonVPN now offers an official Linux app which includes a graphical user interface. Visit https://protonvpn.com/support/official-linux-client to upgrade. Traceback (most recent call last): File "/usr/bin/protonvpn", line 33, in <module> sys.exit(load_entry_point('protonvpn-cli==2.2.12', 'console_scripts', 'protonvpn')()) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/lib/python3.13/site-packages/protonvpn_cli/cli.py", line 72, in main cli() ~~~^^ File "/usr/lib/python3.13/site-packages/protonvpn_cli/cli.py", line 144, in cli connection.status() ~~~~~~~~~~~~~~~~~^^ File "/usr/lib/python3.13/site-packages/protonvpn_cli/connection.py", line 444, in status + "Features: {0}\n".format(all_features[feature]) ~~~~~~~~~~~~^^^^^^^^^ KeyError: 16

@ACR-Jeff
Copy link

ACR-Jeff commented Jan 14, 2025

Well apparently protonvpn-cli still works with the above instructions, The only time I've gotten an error is while using protonvpn status I will continue to test.

@Tamaranch
Copy link

Ah yes, it works again. No need to reconfigure in my case, so the problem must have been with the upstream data format. protonvpn status also fails for me.

@Tamaranch
Copy link

And... broken again 😕

@ACR-Jeff
Copy link

Yep seems like proton is trying to go all out and lose customers

@ACR-Jeff
Copy link

Strange, Without doing anything now today I try it and it works again. Roller coaster ride?

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

4 participants