You are not logged in.
Pages: 1
Hello
The problem is that unfortunately it gives this error!
Of course, I can say that I can not even connect to the ProtonVPN site from the browser, and with the SetupVPN of the Chrome browser, I connected to the ProtonVPN site !! Isn't this a problem ??
The problem is that unfortunately when Chrome browser VPN Setup is open, it gives this error, but when I close the browser VPN Setup, it does not give the last two lines and after a few minutes nothing happens.
[root@spy babak]# protonvpn init
[ -- PROTONVPN-CLI INIT -- ]
ProtonVPN uses two different sets of credentials, one for the website and
official apps where the username is most likely your e-mail, and one for
connecting to the VPN servers.
You can find the OpenVPN credentials at https://account.protonvpn.com/account.
--- Please make sure to use the OpenVPN credentials ---
Enter your ProtonVPN OpenVPN username: 6EmasS_eJRurrAzsqT7dnps0
Enter your ProtonVPN OpenVPN password:
Confirm your ProtonVPN OpenVPN password:
Please choose your ProtonVPN Plan
1) Free
2) Basic
3) Plus
4) Visionary
Your plan: 1
Choose the default OpenVPN protocol.
OpenVPN can act on two different protocols: UDP and TCP.
UDP is preferred for speed but might be blocked in some networks.
TCP is not as fast but a lot harder to block.
Input your preferred protocol. (Default: UDP)
1) UDP
2) TCP
Your choice: 1
You entered the following information:
Username: 6EmasS_eJRurrAzsqT7dnps0
Password: ************************
Tier: Free
Default protocol: UDP
Is this information correct? [Y/n]: Y
Writing configuration to disk...
[!] There was an error connecting to the ProtonVPN API.
[!] Please make sure your connection is working properly!
[root@spy babak]#
Last edited by SPYAM (2020-11-14 19:55:54)
Only progress!
Offline
It's possible that ProtonVPN is blocked in your region?
Are you aware if VPNs are illegal where you are?
IIRC some countries have declared them illegal and blocking access with firewalls...
If that's not the case then idk, I don't have any VPN yet.
On another perspective, have you configured a firewall?
Last edited by GaKu999 (2020-11-14 17:56:05)
Offline
It's possible that ProtonVPN is blocked in your region?
Are you aware if VPNs are illegal where you are?IIRC some countries have declared them illegal and blocking access with firewalls...
If that's not the case then idk, I don't have any VPN yet.On another perspective, have you configured a firewall?
Yes, VPN is limited in our area
But I need VPN for my work for Telegram and YouTube
Unfortunately, in our region, they limit it like this!
An educational site should say:
sudo vim /usr/local/lib/python3.x/dist-packages/protonvpn_cli/utils.py
Found this:
api_domain = "https://api.protonvpn.ch"
Then change to this:
api_domain = "https://api.protonmail.ch"
The problem will be solved!
But I can not find the utils.py file !!
Only progress!
Offline
sudo vim /usr/local/lib/python3.x/dist-packages/protonvpn_cli/utils.py
Try sudo vim /usr/lib/python3.x/dist-packages/protonvpn_cli/utils.py
EDIT: Ignore that
Run:
pacman -Ql protonvpn-cli-ng | grep utils.py
You will get the path. Remember to search owner package always when in doubt.
And remember, ArchPackages don't place stuff in /usr/local, that is admin stuff place.
Last edited by GaKu999 (2020-11-14 18:21:28)
Offline
SPYAM wrote:sudo vim /usr/local/lib/python3.x/dist-packages/protonvpn_cli/utils.py
Try sudo vim /usr/lib/python3.x/dist-packages/protonvpn_cli/utils.py
EDIT: Ignore thatRun:
pacman -Ql protonvpn-cli-ng | grep utils.py
You will get the path. Remember to search owner package always when in doubt.
And remember, ArchPackages don't place stuff in /usr/local, that is admin stuff place.
I found the file and replaced it, but it still didn't work !!
What do you think I should do? I am tired of this restriction that is in our area. There was a lot of program in Windows so that we can overcome this restriction, but I do not know Linux, how can it be connected to a VPN for free !?
EDIT :
I have ping to both sites, why is it not connected and gives an error ???
[babak@spy ~]$ ping -c 4 api.protonvpn.ch
PING api.protonvpn.ch (185.159.159.170) 56(84) bytes of data.
64 bytes from 185.159.159.170 (185.159.159.170): icmp_seq=1 ttl=45 time=179 ms
64 bytes from 185.159.159.170 (185.159.159.170): icmp_seq=2 ttl=45 time=170 ms
64 bytes from 185.159.159.170 (185.159.159.170): icmp_seq=3 ttl=45 time=171 ms
64 bytes from 185.159.159.170 (185.159.159.170): icmp_seq=4 ttl=45 time=171 ms
--- api.protonvpn.ch ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 170.421/172.780/178.658/3.410 ms
[babak@spy ~]$ ping -c 4 api.proronmail.ch
PING api.proronmail.ch (103.224.182.250) 56(84) bytes of data.
64 bytes from lb-182-250.above.com (103.224.182.250): icmp_seq=1 ttl=40 time=306 ms
64 bytes from lb-182-250.above.com (103.224.182.250): icmp_seq=2 ttl=40 time=305 ms
64 bytes from lb-182-250.above.com (103.224.182.250): icmp_seq=3 ttl=40 time=305 ms
64 bytes from lb-182-250.above.com (103.224.182.250): icmp_seq=4 ttl=40 time=304 ms
--- api.proronmail.ch ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 304.156/304.895/305.622/0.535 ms
[babak@spy ~]$
Last edited by SPYAM (2020-11-14 18:43:53)
Only progress!
Offline
Depends on goal, do you want to skip firewall? Or privacy?
I recommend a non-blocked VPN, but that is difficult.
Worse if VPNs are illegal where you are. (You have not said they are, but I assume they are indeed not wanted by the ones that block them)
I can't account for one that will work for you.
Last edited by GaKu999 (2020-11-14 18:46:12)
Offline
Depends on goal, do you want to skip firewall? Or privacy?
I recommend a non-blocked VPN, but that is difficult.
Worse if VPNs are illegal where you are. (You have not said they are, but I assume they are indeed not wanted by the ones that block them)
I can't account for one that will work for you.
I really do not know the firewall and what you say ...
I just want to be able to connect to Telegram and YouTube, which are filtered in our country, and connect.
Only progress!
Offline
which are filtered in our country
That is firewall, that is what you skip with VPN.
Problem is, how many VPNs your region blocks...I do not know.
Offline
SPYAM wrote:which are filtered in our country
That is firewall, that is what you skip with VPN.
Problem is, how many VPNs your region blocks...I do not know.
I do not really know
I just hope I can connect to a VPN
To easily access Telegram and YouTube sites and programs
Only progress!
Offline
I installed this and with this I installed, my problem was solved
https://www.archlinux.org/packages/extr … ython-pip/
Only progress!
Offline
Pages: 1