Rafficer / linux-cli-community

Linux command-line client for ProtonVPN. Written in Python.
https://protonvpn.com
GNU General Public License v3.0
1.31k stars 198 forks source link

[BUG] #236

Closed lorenzojavier closed 4 years ago

lorenzojavier commented 4 years ago

Describe the bug I can't log in. authentication failed.

To Reproduce Steps to reproduce the behavior: I ran:

sudo protonvpn init

When prompted, entered my ProtonVpn username (**@protonmail.com) and password. After finishing the setup, I ran:

sudo protonvpn connect

After choosing what server, wether to use UDP or TCP, it starts connecting... and I get:

[!] Authentication failed. [!] Please make sure that your Username and Password is correct

Expected behavior I expected to connect to the VPN network.

Error Messages/Program Output/Log Messages (~/.pvpn-cli/pvpn-cli.log) 2020-09-21 11:37:16,021 — protonvpn-cli — DEBUG — call_api:65 — Successful json response 2020-09-21 11:37:16,026 — protonvpn-cli — DEBUG — openvpn_connect:474 — OpenVPN process started 2020-09-21 11:37:27,061 — protonvpn-cli — DEBUG — openvpn_connect:517 — Authentication failure

Desktop (please complete the following information):

Additional context Using this same credentials I can log in at protonvpn.com.

Any Ideas about this? Maybe I'm I doing something wrong? Thank you in any case, for taking time and reading this.

Rafficer commented 4 years ago

Please read the obtrusive init message the CLI prints:

image

calexandru2018 commented 4 years ago

You should type your openvpn/ikev2 credentials and not your protonvpn ones.

lorenzojavier commented 4 years ago

Thank you very much! :D

El lun., 21 sept. 2020 11:58, Alexandru Cheltuitor notifications@github.com escribió:

You should type your openvpn/ikev2 credentials and not your protonvpn ones.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ProtonVPN/linux-cli/issues/236#issuecomment-696170738, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQFME6V53QB3WK6AHNVCR43SG5SZVANCNFSM4RUUDEKA .