linux-cli-community icon indicating copy to clipboard operation
linux-cli-community copied to clipboard

[BUG] There was an error connecting to the ProtonVPN API.

Open kohane27 opened this issue 3 months ago • 16 comments

Description

Running sudo protonvpn connect gives the following error:

[!] There was an error connecting to the ProtonVPN API.
[!] Please make sure your connection is working properly!
[!] HTTP Error Code: 422

Confirmed I'm not the only one: protonvpn_cli_api_not_working.

Solution

I resolved it with the latest linux-cli-community version.

I followed Manual Installation from source.

Note: pipx upgrade protonvpn-cli doesn't work.

Make sure you're on the latest version:

➜ protonvpn --version

ProtonVPN now offers an official Linux app which includes a graphical user interface.
Visit https://protonvpn.com/support/official-linux-client to upgrade.
ProtonVPN-CLI v2.2.12

After installing, I ran sudo protonvpn init and then sudo protonvpn c works again.

Thank you.

kohane27 avatar Mar 13 '24 03:03 kohane27