Authentication failed
mreza0100 opened this issue · comments
Describe the bug
Cannot connect to any server
To Reproduce
Steps to reproduce the behavior:
- sudo pip3 install protonvpn_cli==2.2.0
- sudo protonvpn init
- Enter all data correctly, from OpenVPN / IKEv2 username. from https://account.protonvpn.com/account
- sudo protonvpn connect
- select server
- select udp
- see the error:
[!] Authentication failed.
[!] Please make sure that your Username and Password is correct.
Expected behavior
Connect without error
Error Messages/Program Output/Log Messages (~/.pvpn-cli/pvpn-cli.log)
2022-06-02 22:06:05,783 — protonvpn-cli — DEBUG — dialog:45 — Starting dialog connect
2022-06-02 22:06:05,783 — protonvpn-cli — DEBUG — pull_server_data:79 — Last server pull within 15mins
2022-06-02 22:06:05,783 — protonvpn-cli — DEBUG — get_servers:100 — Reading servers from file
2022-06-02 22:06:05,793 — protonvpn-cli — DEBUG — show_dialog:35 — Showing Dialog: Choose a country:
2022-06-02 22:06:06,737 — protonvpn-cli — DEBUG — dialog:83 — Country Choice: Netherlands
2022-06-02 22:06:06,747 — protonvpn-cli — DEBUG — show_dialog:35 — Showing Dialog: Choose the server to connect:
2022-06-02 22:06:07,767 — protonvpn-cli — DEBUG — dialog:112 — Server Choice: NL-FREE#77
2022-06-02 22:06:07,773 — protonvpn-cli — DEBUG — show_dialog:35 — Showing Dialog: Choose a protocol:
2022-06-02 22:06:07,911 — protonvpn-cli — DEBUG — dialog:120 — Protocol Choice: UDP
2022-06-02 22:06:07,914 — protonvpn-cli — DEBUG — openvpn_connect:442 — Initiating OpenVPN connection
2022-06-02 22:06:07,914 — protonvpn-cli — DEBUG — openvpn_connect:443 — Connecting to NL-FREE#77 via UDP
2022-06-02 22:06:07,914 — protonvpn-cli — DEBUG — get_servers:100 — Reading servers from file
2022-06-02 22:06:07,921 — protonvpn-cli — DEBUG — openvpn_connect:460 — IPs: ['212.8.252.70', '212.8.252.70', '212.8.252.70', '212.8.252.70']
2022-06-02 22:06:07,921 — protonvpn-cli — DEBUG — openvpn_connect:461 — connect.ovpn written
2022-06-02 22:06:07,921 — protonvpn-cli — DEBUG — disconnect:302 — Initiating disconnect
2022-06-02 22:06:07,930 — protonvpn-cli — DEBUG — is_connected:198 — Checking connection Status. OpenVPN processes: 0
2022-06-02 22:06:07,930 — protonvpn-cli — DEBUG — manage_dns:608 — Restoring DNS
2022-06-02 22:06:07,930 — protonvpn-cli — DEBUG — manage_dns:625 — No Backupfile found
2022-06-02 22:06:07,930 — protonvpn-cli — DEBUG — manage_ipv6:684 — Restoring ip6tables
2022-06-02 22:06:07,930 — protonvpn-cli — DEBUG — manage_ipv6:699 — No Backupfile found
2022-06-02 22:06:07,930 — protonvpn-cli — DEBUG — manage_killswitch:774 — Restoring iptables
2022-06-02 22:06:07,930 — protonvpn-cli — DEBUG — manage_killswitch:783 — No Backupfile found
2022-06-02 22:06:07,930 — protonvpn-cli — DEBUG — disconnect:342 — No connection found
2022-06-02 22:06:07,930 — protonvpn-cli — DEBUG — get_ip_info:142 — Getting IP Information
2022-06-02 22:06:07,930 — protonvpn-cli — DEBUG — call_api:35 — Initiating API Call: https://api.protonmail.ch/vpn/location
2022-06-02 22:06:08,897 — protonvpn-cli — DEBUG — call_api:64 — Successful json response
2022-06-02 22:06:08,898 — protonvpn-cli — DEBUG — openvpn_connect:479 — OpenVPN process started
2022-06-02 22:06:16,818 — protonvpn-cli — DEBUG — openvpn_connect:522 — Authentication failure
Desktop:
- OS: Manjaro Linux x86_64
- Python Version: Python 3.10.4
- ProtonVPN-CLI Version: ProtonVPN-CLI v2.2.0
Additional context
I'm from Iran and have been connecting with 2.2.0 for a long time.
I can ping api.protonmail.ch, the IP is: 185.70.42.25
.
And today suddenly this happened, I have done nothing.
I changed my credentials so many times.
Tried different versions.
Changing api_domain from source code.
I'm sure my credentials are right.
I have tried different ISP and internet connections.
I think it is related to recent update of protonvpn and I'm facing this issue too.
@Rafficer
Can you please update to last release 2.2.11 and retry?
Can you please update to last release 2.2.11 and retry?
I tried 2.2.11 too and still facing same issue
Describe the bug Cannot connect to any server
To Reproduce Steps to reproduce the behavior:
- sudo pip3 install protonvpn_cli==2.2.0
- sudo protonvpn init
- Enter all data correctly, from OpenVPN / IKEv2 username. from https://account.protonvpn.com/account
- sudo protonvpn connect
- select server
- select udp
- see the error:
[!] Authentication failed. [!] Please make sure that your Username and Password is correct.
Expected behavior Connect without error
Error Messages/Program Output/Log Messages (~/.pvpn-cli/pvpn-cli.log)
2022-06-02 22:06:05,783 — protonvpn-cli — DEBUG — dialog:45 — Starting dialog connect 2022-06-02 22:06:05,783 — protonvpn-cli — DEBUG — pull_server_data:79 — Last server pull within 15mins 2022-06-02 22:06:05,783 — protonvpn-cli — DEBUG — get_servers:100 — Reading servers from file 2022-06-02 22:06:05,793 — protonvpn-cli — DEBUG — show_dialog:35 — Showing Dialog: Choose a country: 2022-06-02 22:06:06,737 — protonvpn-cli — DEBUG — dialog:83 — Country Choice: Netherlands 2022-06-02 22:06:06,747 — protonvpn-cli — DEBUG — show_dialog:35 — Showing Dialog: Choose the server to connect: 2022-06-02 22:06:07,767 — protonvpn-cli — DEBUG — dialog:112 — Server Choice: NL-FREE#77 2022-06-02 22:06:07,773 — protonvpn-cli — DEBUG — show_dialog:35 — Showing Dialog: Choose a protocol: 2022-06-02 22:06:07,911 — protonvpn-cli — DEBUG — dialog:120 — Protocol Choice: UDP 2022-06-02 22:06:07,914 — protonvpn-cli — DEBUG — openvpn_connect:442 — Initiating OpenVPN connection 2022-06-02 22:06:07,914 — protonvpn-cli — DEBUG — openvpn_connect:443 — Connecting to NL-FREE#77 via UDP 2022-06-02 22:06:07,914 — protonvpn-cli — DEBUG — get_servers:100 — Reading servers from file 2022-06-02 22:06:07,921 — protonvpn-cli — DEBUG — openvpn_connect:460 — IPs: ['212.8.252.70', '212.8.252.70', '212.8.252.70', '212.8.252.70'] 2022-06-02 22:06:07,921 — protonvpn-cli — DEBUG — openvpn_connect:461 — connect.ovpn written 2022-06-02 22:06:07,921 — protonvpn-cli — DEBUG — disconnect:302 — Initiating disconnect 2022-06-02 22:06:07,930 — protonvpn-cli — DEBUG — is_connected:198 — Checking connection Status. OpenVPN processes: 0 2022-06-02 22:06:07,930 — protonvpn-cli — DEBUG — manage_dns:608 — Restoring DNS 2022-06-02 22:06:07,930 — protonvpn-cli — DEBUG — manage_dns:625 — No Backupfile found 2022-06-02 22:06:07,930 — protonvpn-cli — DEBUG — manage_ipv6:684 — Restoring ip6tables 2022-06-02 22:06:07,930 — protonvpn-cli — DEBUG — manage_ipv6:699 — No Backupfile found 2022-06-02 22:06:07,930 — protonvpn-cli — DEBUG — manage_killswitch:774 — Restoring iptables 2022-06-02 22:06:07,930 — protonvpn-cli — DEBUG — manage_killswitch:783 — No Backupfile found 2022-06-02 22:06:07,930 — protonvpn-cli — DEBUG — disconnect:342 — No connection found 2022-06-02 22:06:07,930 — protonvpn-cli — DEBUG — get_ip_info:142 — Getting IP Information 2022-06-02 22:06:07,930 — protonvpn-cli — DEBUG — call_api:35 — Initiating API Call: https://api.protonmail.ch/vpn/location 2022-06-02 22:06:08,897 — protonvpn-cli — DEBUG — call_api:64 — Successful json response 2022-06-02 22:06:08,898 — protonvpn-cli — DEBUG — openvpn_connect:479 — OpenVPN process started 2022-06-02 22:06:16,818 — protonvpn-cli — DEBUG — openvpn_connect:522 — Authentication failure
Desktop:
- OS: Manjaro Linux x86_64
- Python Version: Python 3.10.4
- ProtonVPN-CLI Version: ProtonVPN-CLI v2.2.0
Additional context I'm from Iran and have been connecting with 2.2.0 for a long time. I can ping api.protonmail.ch, the IP is:
185.70.42.25
. And today suddenly this happened, I have done nothing. I changed my credentials so many times. Tried different versions. Changing api_domain from source code. I'm sure my credentials are right. I have tried different ISP and internet connections.
plz try TCP protocol to connect may this will help you!
@aliazani
I also tried that.
It says connected, but it's not.
Because the connection is going, like having no internet at all!
@kylekatarnls
I tried the latest version too, didn't work
@mreza0100 I see, well I tried different server and different protocols
but It's ok with NL-FREE#75 - TCP protocol.
I hope this can help you!
Can you try logging out and logging in again to fetch fresh server lists?
@kaplun I did this and it didn't work with UDP and sometimes with TCP there is no internet connection after connected message showed.
Can you try logging out and logging in again to fetch fresh server lists?
prevision I have:
Reboot the system.
Purge Configuration from protonvpn configure
and reset credentials from protonvpn pannel.
I also have another friend, outside of this issue that has the same problem.
Hello, we identified some issues with specific servers on OpenVPN. It should be over now. Sorry for the inconvenience and thanks for the report, it helped to spot it 🙏
@kylekatarnls Thanks for your help, everything looks good now for me.
Works like a charm.
Thank you