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

Can not connect

Open SCCOBN opened this issue 5 years ago • 8 comments

Mind you, from Windows I have no such problem, only in Linux and this began recently.

alex@mb1  ~  sudo protonvpn connect [sudo] пароль для alex: [!] There was an error connecting to the ProtonVPN API. [!] Please make sure your connection is working properly! ✘ alex@mb1  ~ 

SCCOBN avatar Oct 06 '20 04:10 SCCOBN

In accrodance with this line you have no access to api.protonvpn.ch endpoint. Please, try to ping it typing ping api.protonvpn.ch in your terminal/console. I'm afraid it has been blocked in Russia recently (in case this's your location of course).

delminskii avatar Oct 06 '20 17:10 delminskii

I'm located in Russia and I also have the same issue. No ping to api.protonvpn.ch.

I used to use AUR's version of protonvpn-cli - protonvpn-cli-ng then switched to the "official" pip version from the documentation and everywhere the result was the same.

Now I'm just log in and downloading ovpn configuration profiles from protonvpn's website and executing it in the terminal: sudo openvpn some-another-profile.protonvpn.com.udp.ovpn

Any suggestions on how I can get the cli working in Russia, maybe you can set up alternative domains/IPs?

Edit: hey, why I can still connect from my Windows machine with the protonvpn application?!

Edit2: the ping points the api.protonvpn.ch to 3.127.229.68. But when I connect to a remote server (Finland in my case) it points to another IP 185.159.159.170

m1llen1um avatar Oct 07 '20 08:10 m1llen1um

The reason why it is working in window is because windows has implemented alternative routing.

The Linux clients are atm being rewriten, which will allow to (later) also implement alternative routing, thus bypassing such blocks as you're experiencing.

calexandru2018 avatar Oct 07 '20 08:10 calexandru2018

Hello, Nikolay! You are absolutely correct, there is an access problem - if I'm ping from host (windows Powershell) ping returning to me ping api.protonvpn.ch Pinging api.protonvpn.ch [3.127.229.68] with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out. Ping statistics for 3.127.229.68: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), (pinging without VPN) What is possible here??

С Уважением, Кузьменков Кирилл

вт, 6 окт. 2020 г. в 20:28, Nikolay [email protected]:

In accrodance with this line https://github.com/ProtonVPN/linux-cli/blob/965e36af1fe29c60a01664745e051fe84cd8bcc0/protonvpn_cli/utils.py#L48 you have no access to api.protonvpn.ch endpoint. Please, try to ping it typing ping api.protonvpn.ch in your terminal/console. I'm afraid it has been blocked in Russia recently (in case this's your location of course).

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ProtonVPN/linux-cli/issues/242#issuecomment-704431338, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOGU3T562I5BM6BZJ73IRCTSJNHURANCNFSM4SFQEAGQ .

ghost avatar Oct 12 '20 01:10 ghost

Hello Nikolay, yes I'm pinging from Russia...and no success so far...  can you please explain what does mean exactly the blocking here... means to use your services i will have to create another VPN?) Fckngtired of our never sleep services.. Is there any other way to solve thjs case?? Отправлено из Mail.ru для Android вторник, 06 октября 2020г., 20:28 +03:00 от Nikolay [email protected] :

In accrodance with this line you have no access to api.protonvpn.ch endpoint. Please, try to ping it typing ping api.protonvpn.ch in your terminal/console. I'm afraid it has been blocked in Russia recently (in case this's your location of course). — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub , or unsubscribe .

ghost avatar Oct 12 '20 20:10 ghost

There is already a VPN connection running. Terminating previous connection... Connecting to NL-FREE#1 via UDP... Connection failed.

652436962 avatar Oct 16 '20 04:10 652436962

same thing in iran it was working about 3 month ago here but i get [!] There was an error connecting to the ProtonVPN API. [!] Please make sure your connection is working properly!

):

amirhossein-ka avatar Oct 25 '20 08:10 amirhossein-ka

also protonvpn-cli on ubuntu not work in russion. need add bifurcation in this soft and have ping api.protonvpn.ch, now this address no work without vpn but protonvpn.com work, we waet it. this f provider full shit. i use gnome-network-manager with config but this very medium good hack.

i have low speed, i have drop connect is make me scrim

i no know what with this do. i want autostart protonvpn-cli, before in previous year i have very good autostart protonvpn-cli but also low speed on plus plan but i see it nice, and now is no work.

iktak avatar Dec 19 '20 23:12 iktak