Proton vpn network error linux

Here we outline the solutions to the most common VPN problems that you might experience either at first use or at a later stage.

In cases Proton VPN can’t connect, please refer to the following list of solutions. Most of the steps described here can be done without direct support from our support team, but in case you get stuck or don’t know how to handle certain things, we will be there for you.

Server downtimes

If you have connection problems with a single server or country, it’s quite likely a temporary problem or downtime, e.g. for maintenance. We work to ensure maximum server uptime. However once in a while a server may still go down unexpectedly. If the problem persists on all servers, please also check your firewall/ antivirus settings.

 System and compatibility issues

 Installation

  • Make sure Proton VPN is properly installed and that you have granted permission to install the OpenVPN TAP adapter. For detailed instructions on how to install Proton VPN please visit this article.

System time

  • If your system time is not set correctly, you might be unable to log into Proton VPN. If your system time is, for example, set to April, 1st, 2005, an SSL certificate from 2007 will be rejected and the connection will fail.

Reinstall Proton VPN

  • Sometimes an operating system takes a wrong turn and slows down a program. please uninstall Proton VPN completely and re-install it. The following links have detailed instructions on how to uninstall and install Proton VPN.

 Account Problems

Wrong credentials

  • Please make sure that you typed your credentials correctly before attempting to connect. Learn more about locating your Proton VPN password.

Expired account

  • If your subscription ran out, Proton VPN will not connect to the internet. Please make sure that you have a valid subscription or upgrade your account.

Not connected to the internet while attempting to connect Proton VPN

 Please make sure that your internet connection is stable and uninterrupted. If you are using Wi-Fi, please try switching to a cable – Ethernet – connection instead.

Related questions

Does Proton VPN have bandwidth limit?

How to change VPN protocols?

How to use content streaming services with Proton VPN?

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

Menard

Level 7
Level 7
Posts: 1635
Joined: Wed May 08, 2019 5:14 am
Location: Angers (France)

[SOLVED] Protonvpn new version fails to connect and trashes the network

Protonvpn made an update and so it is totally broken now … :lol:
I am allways repeating to avoid updates but here the security is important :|
So now the issue is that when I want to connect it, it breaks my internet connection but answering that it doesn’t find a good internet connexion :roll: :lol: it is fantastic no ? And then I must restore my root partition to get it back … :x

Last edited by Menard on Tue Jun 29, 2021 6:09 am, edited 1 time in total.

Linux Mint 20.3 Cinnamon — K 5.15 — Desktop — english
AMD APU A8 7600 — DDR3 1833 MHz 4 GB x2 + ZSwap

If you think tough men are dangerous, wait until you see what weak men are capable of.

Menard

Level 7
Level 7
Posts: 1635
Joined: Wed May 08, 2019 5:14 am
Location: Angers (France)

Re: Protonvpn new version fails to connect and trashes the network

Post

by Menard » Mon Jun 14, 2021 11:26 am

Code: Select all

Setting up ProtonVPN.

An unknown error has occured. Please ensure that you have internet connectivity.
If the issue persists, please contact support.

Linux Mint 20.3 Cinnamon — K 5.15 — Desktop — english
AMD APU A8 7600 — DDR3 1833 MHz 4 GB x2 + ZSwap

If you think tough men are dangerous, wait until you see what weak men are capable of.

Menard

Level 7
Level 7
Posts: 1635
Joined: Wed May 08, 2019 5:14 am
Location: Angers (France)

Re: Protonvpn new version fails to connect and trashes the network

Post

by Menard » Tue Jun 15, 2021 6:16 am

I’ve had this too with protonvpn when it was able to do the job, but now it is worse because it even doesn’t do the job. I used to restore my partition when it happened, but I discovered that I had only 2 or 3 «factice» connections in the Network-manager (NM) to disconnet one by one, it is easy, but after the reboot you may have to do it again to get internet

Linux Mint 20.3 Cinnamon — K 5.15 — Desktop — english
AMD APU A8 7600 — DDR3 1833 MHz 4 GB x2 + ZSwap

If you think tough men are dangerous, wait until you see what weak men are capable of.

Menard

Level 7
Level 7
Posts: 1635
Joined: Wed May 08, 2019 5:14 am
Location: Angers (France)

Re: Protonvpn new version fails to connect and trashes the network

Post

by Menard » Tue Jun 15, 2021 6:17 am

It is sad but if VPN can’t work fully on Linux then I ll have to install Windows instead

Linux Mint 20.3 Cinnamon — K 5.15 — Desktop — english
AMD APU A8 7600 — DDR3 1833 MHz 4 GB x2 + ZSwap

If you think tough men are dangerous, wait until you see what weak men are capable of.

DAMIEN1307

Re: Protonvpn new version fails to connect and trashes the network

Post

by DAMIEN1307 » Thu Jun 17, 2021 9:59 am

Protonvpn made an update and so it is totally broken now

OK…So PROTON made an update or upgrade here.

It is sad but if VPN can’t work fully on Linux then I ll have to install Windows instead

Has it occured to you that if PROTON made an update/upgrade that this is not the fault of any Linux distro that it is now «totally broken» ??????????
You really need to contact Proton to inform them that it was fine UNTIL THEIR UPDATE/UPGRADE…It is their VPN so they have the problem, not Linux Mint.

follow their instructions to the letter when they help you correct your VPN configuration…DAMIEN

Menard

Level 7
Level 7
Posts: 1635
Joined: Wed May 08, 2019 5:14 am
Location: Angers (France)

Re: Protonvpn new version fails to connect and trashes the network

Post

by Menard » Mon Jun 21, 2021 12:57 pm

DAMIEN1307 wrote: ↑

Thu Jun 17, 2021 9:59 am

Protonvpn made an update and so it is totally broken now

OK…So PROTON made an update or upgrade here.

It is sad but if VPN can’t work fully on Linux then I ll have to install Windows instead

Has it occured to you that if PROTON made an update/upgrade that this is not the fault of any Linux distro that it is now «totally broken» ??????????
You really need to contact Proton to inform them that it was fine UNTIL THEIR UPDATE/UPGRADE…It is their VPN so they have the problem, not Linux Mint.

follow their instructions to the letter when they help you correct your VPN configuration…DAMIEN

I understand, you are not toally wrong but mind this : If it is too difficult for VPN Companies to developpe a specific application with killswitch for Linux as they display some for Windows, and the rare ones who do this seem to be not able to have it to work … at a moment it is to rely to Linux more than to these companies

Linux Mint 20.3 Cinnamon — K 5.15 — Desktop — english
AMD APU A8 7600 — DDR3 1833 MHz 4 GB x2 + ZSwap

If you think tough men are dangerous, wait until you see what weak men are capable of.

Menard

Level 7
Level 7
Posts: 1635
Joined: Wed May 08, 2019 5:14 am
Location: Angers (France)

Re: Protonvpn new version fails to connect and trashes the network

Post

by Menard » Mon Jun 21, 2021 12:58 pm

JoeFootball wrote: ↑

Thu Jun 17, 2021 9:49 am

Menard wrote:
Protonvpn made an update and so it is totally broken now

Continues to work without incident for me. :? Version 0.7.3.

Code: Select all

dpkg -s protonvpn-cli
Package: protonvpn-cli
Status: install ok installed
Priority: optional
Section: net
Installed-Size: 109
Maintainer: Proton Technologies AG <opensource@proton.me>
Architecture: all
Version: 3.6.0-4
Depends: python3-dialog, python3:any (>= 3.5~), python3-protonvpn-nm-lib (>= 3.2.0), python3-protonvpn-nm-lib (<= 3.3.0)
Description: ProtonVPN CLI (Python 3)
 Package installs official ProtonVPN CLI.
Homepage: https://github.com/ProtonVPN

Linux Mint 20.3 Cinnamon — K 5.15 — Desktop — english
AMD APU A8 7600 — DDR3 1833 MHz 4 GB x2 + ZSwap

If you think tough men are dangerous, wait until you see what weak men are capable of.

DAMIEN1307

Re: Protonvpn new version fails to connect and trashes the network

Post

by DAMIEN1307 » Mon Jun 21, 2021 1:07 pm

Code: Select all

Setting up ProtonVPN.

An unknown error has occured. Please ensure that you have internet connectivity.
If the issue persists, please contact support

All i can say to you Menard is what the message above is telling you…Contact Protonvpn support as i mentioned to you on a previous post as well as Proton itself telling you this in this message…DAMIEN

Menard

Level 7
Level 7
Posts: 1635
Joined: Wed May 08, 2019 5:14 am
Location: Angers (France)

Re: Protonvpn new version fails to connect and trashes the network

Post

by Menard » Mon Jun 21, 2021 3:10 pm

JoeFootball wrote: ↑

Mon Jun 21, 2021 1:21 pm

Menard wrote:
Package: protonvpn-cli

Ah, that’s the CLI client. I’m using the GUI client.

I first had this issue with the GUI
it is perhaps because I had to hard shutdown the OS when the VPN was on, but I don’t remember exactly how and what, and since then I restored my root partition, but not my home partition, maybe a line here

Linux Mint 20.3 Cinnamon — K 5.15 — Desktop — english
AMD APU A8 7600 — DDR3 1833 MHz 4 GB x2 + ZSwap

If you think tough men are dangerous, wait until you see what weak men are capable of.

Aztaroth

Level 5
Level 5
Posts: 769
Joined: Mon Jan 11, 2021 1:48 am

Re: Protonvpn new version fails to connect and trashes the network

Post

by Aztaroth » Wed Jun 23, 2021 12:33 am

it is perhaps because I had to hard shutdown the OS when the VPN was on, but I don’t remember exactly how and what, and since then I restored my root partition, but not my home partition, maybe a line here

If it is too difficult for VPN Companies to developpe a specific application with killswitch for Linux as they display some for Windows, and the rare ones who do this seem to be not able to have it to work … at a moment it is to rely to Linux more than to these companies

I used to restore my partition when it happened, but I discovered that I had only 2 or 3 «factice» connections in the Network-manager (NM) to disconnet one by one, it is easy, but after the reboot you may have to do it again to get internet

Protonvpn made an update and so it is totally broken now … :lol:
I am allways repeating to avoid updates but here the security is important :|
So now the issue is that when I want to connect it, it breaks my internet connection but answering that it doesn’t find a good internet connexion :roll: :lol: it is fantastic no ? And then I must restore my root partition to get it back …

Question : if you know everything about the issue (it comes from Mint or ProtonVPN even if you seem to be the only one to have this issue) and what to do (restoring partitions while howling at these teams), why the hell using this forum asking for suggestions you never follow because you know better ?

dual boot LMDE4 (mostly) + LM19.3 Cinnamon (sometimes)

Menard

Level 7
Level 7
Posts: 1635
Joined: Wed May 08, 2019 5:14 am
Location: Angers (France)

Re: Protonvpn new version fails to connect and trashes the network

Post

by Menard » Tue Jun 29, 2021 6:08 am

Aztaroth wrote: ↑

Wed Jun 23, 2021 12:33 am

Question : if you know everything about the issue (it comes from Mint or ProtonVPN even if you seem to be the only one to have this issue) and what to do (restoring partitions while howling at these teams), why the hell using this forum asking for suggestions you never follow because you know better ?

I don’t understand this attack, the best to do with attacks is not to answer

Somone positive as the Protonvpn team gave me the way to fix it, I had to uninstall and install the application by a special way, so it works but it is another release so I don’t really know where it came from

Linux Mint 20.3 Cinnamon — K 5.15 — Desktop — english
AMD APU A8 7600 — DDR3 1833 MHz 4 GB x2 + ZSwap

If you think tough men are dangerous, wait until you see what weak men are capable of.

Aztaroth

Level 5
Level 5
Posts: 769
Joined: Mon Jan 11, 2021 1:48 am

Re: [SOLVED] Protonvpn new version fails to connect and trashes the network

Post

by Aztaroth » Tue Jun 29, 2021 6:59 am

Somone positive as the Protonvpn team gave me the way to fix it

If you read the previous posts, Damien1307 (twice) and myself advised you to contact ProtonVPN team before charging Linux, Mint or Proton just because you were not able to perform a correct install.
Perhaps this means nothing to you, but all the participants here took some of their time to share a piece of knowledge or advise whatever worthy it was. This commands respect for all of them even if you’re obviously free to follow these advises or not.

You should probably read on the Debian Wiki about etiquette in questionning :
http://www.catb.org/~esr/faqs/smart-que … tml#before
and especially this section :

Q: My program doesn’t work. I think system facility X is broken.
A: While it is possible that you are the first person to notice an obvious deficiency in system calls and libraries heavily used by hundreds or thousands of people, it is rather more likely that you are utterly clueless. Extraordinary claims require extraordinary evidence; when you make a claim like this one, you must back it up with clear and exhaustive documentation of the failure case.

This will close discussion for me. Other readers if interested may judge by themselves : the title of the thread and initial post say it all.

dual boot LMDE4 (mostly) + LM19.3 Cinnamon (sometimes)

Menard

Level 7
Level 7
Posts: 1635
Joined: Wed May 08, 2019 5:14 am
Location: Angers (France)

Re: [SOLVED] Protonvpn new version fails to connect and trashes the network

Post

by Menard » Sat Jul 03, 2021 7:40 am

Aztaroth wrote: ↑

Tue Jun 29, 2021 6:59 am

Somone positive as the Protonvpn team gave me the way to fix it

If you read the previous posts, Damien1307 (twice) and myself advised you to contact ProtonVPN team before charging Linux, Mint or Proton just because you were not able to perform a correct install.
Perhaps this means nothing to you, but all the participants here took some of their time to share a piece of knowledge or advise whatever worthy it was. This commands respect for all of them even if you’re obviously free to follow these advises or not.

You should probably read on the Debian Wiki about etiquette in questionning :
http://www.catb.org/~esr/faqs/smart-que … tml#before
and especially this section :

Q: My program doesn’t work. I think system facility X is broken.
A: While it is possible that you are the first person to notice an obvious deficiency in system calls and libraries heavily used by hundreds or thousands of people, it is rather more likely that you are utterly clueless. Extraordinary claims require extraordinary evidence; when you make a claim like this one, you must back it up with clear and exhaustive documentation of the failure case.

This will close discussion for me. Other readers if interested may judge by themselves : the title of the thread and initial post say it all.

Yes but for me I see this differently, from a vulgar point of view, that is : I don’t want to spend my whole life to make a PC to work (it is the pre requisite) AND
— I never faced issues to use a VPN on Windows
— I faced numerous issues to use a VPN on Linux (even this one was totally causes by a bad release of this vpn)
That’s why this title

Linux Mint 20.3 Cinnamon — K 5.15 — Desktop — english
AMD APU A8 7600 — DDR3 1833 MHz 4 GB x2 + ZSwap

If you think tough men are dangerous, wait until you see what weak men are capable of.

User avatar

JoeFootball

Level 13
Level 13
Posts: 4643
Joined: Tue Nov 24, 2009 1:52 pm
Location: /home/usa/mn/minneapolis/joe

Re: [SOLVED] Protonvpn new version fails to connect and trashes the network

Post

by JoeFootball » Sat Jul 03, 2021 9:00 am

Menard wrote:
I faced numerous issues to use a VPN on Linux (even this one was totally causes by a bad release of this vpn)

I’m sorry that you’ve found this to be such a challenging experience. I’ve been using ProtonVPN on multiple deployments (Mint and otherwise) for the past 2-3 years, and I’ve not had any issues. :?

@acc-galenicum

Hi,
I’m working in a GCP Debian 10 linux machine, no graphic interface.
I installed the protonvpn-stable-release and protonvpn-cli following instructions here: https://protonvpn.com/support/linux-vpn-tool/

I am able to login, but when I try to connect to a proxy (protonvpn-cli c -f) it returns me this error:

An unknown error has occured. Please ensure that you have internet connectivity.
If the issue persists, please contact support.

Not much information to understand the error…

I’ve tried to find solutions and read similar problems, but nothing seems to match exactly my case.

Any help would be appreciated!

iliark1382, lucascompython, ethicnology, marekpetak, latiif, l3th3, Demetri0, socratesx, dev-rinchin, IgorKoval, and jndao reacted with thumbs up emoji

@iMerica

@astartav

Same for me on Ubuntu 18.04 for protonvpn-cli 3.11.0-7

@Anglodel

It happens to me too, with ProtonVPN CLI v3.11.1 (protonvpn-nm-lib v3.8.0; proton-client v0.7.1).
OS infos:

OS: Arch Linux x86_64
Kernel: 5.16.15-arch1-1
WM: i3

@ghost

  • archlinux, 5.15.32-1-lts

@ghost

UPD: I had the networkmanager-strongswan package installed.
There was such an error in the logs:

2022-03-29 19:32:43,294 — cli_wrapper.py — ERROR — connect:379 — nm-vpn-plugin-error-quark: cannot load plugin "/usr/lib/NetworkManager/libnm-vpn-plugin-strongswan.so": libnma.so.0: cannot open shared object file: No such file or directory (0)
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/protonvpn_cli/cli_wrapper.py", line 277, in connect
    self.protonvpn.setup_connection(
  File "/usr/lib/python3.10/site-packages/protonvpn_nm_lib/api.py", line 153, in setup_connection
    self._env.connection_backend.setup(**data)
  File "/usr/lib/python3.10/site-packages/protonvpn_nm_lib/core/connection_backend/nm_client/nm_client.py", line 51, in setup
    connection, protocol_implementation = NMPlugin.import_vpn_config(
  File "/usr/lib/python3.10/site-packages/protonvpn_nm_lib/core/connection_backend/nm_client/plugin/nm_plugin.py", line 21, in import_vpn_config
    plugin_editor = plugin.load_editor_plugin()
gi.repository.GLib.GError: nm-vpn-plugin-error-quark: cannot load plugin "/usr/lib/NetworkManager/libnm-vpn-plugin-strongswan.so": libnma.so.0: cannot open shared object file: No such file or directory (0)

After deleting the networkmanager-strongswan, it was possible to connect. But this is not a solution, because I need these package

@bi7je

I fixed it by doing the following.
If you type protonvpn-cli —get-logs the folder containing the logs will be opened.
protonvpn-cli.log is the one containing the error (in my case)
The log ended with the following traceback:
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
so i started network manager and i could connect.
sudo systemctl start NetworkManager
But while i was connected with a dutch server, my internet was not working.
So i enabled network manager and rebooted.
sudo systemctl enable NetworkManager
After reboot all worked as it should.

I hope this helps you guys too.

UPD: I had the networkmanager-strongswan package installed. There was such an error in the logs:

2022-03-29 19:32:43,294 — cli_wrapper.py — ERROR — connect:379 — nm-vpn-plugin-error-quark: cannot load plugin "/usr/lib/NetworkManager/libnm-vpn-plugin-strongswan.so": libnma.so.0: cannot open shared object file: No such file or directory (0)
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/protonvpn_cli/cli_wrapper.py", line 277, in connect
    self.protonvpn.setup_connection(
  File "/usr/lib/python3.10/site-packages/protonvpn_nm_lib/api.py", line 153, in setup_connection
    self._env.connection_backend.setup(**data)
  File "/usr/lib/python3.10/site-packages/protonvpn_nm_lib/core/connection_backend/nm_client/nm_client.py", line 51, in setup
    connection, protocol_implementation = NMPlugin.import_vpn_config(
  File "/usr/lib/python3.10/site-packages/protonvpn_nm_lib/core/connection_backend/nm_client/plugin/nm_plugin.py", line 21, in import_vpn_config
    plugin_editor = plugin.load_editor_plugin()
gi.repository.GLib.GError: nm-vpn-plugin-error-quark: cannot load plugin "/usr/lib/NetworkManager/libnm-vpn-plugin-strongswan.so": libnma.so.0: cannot open shared object file: No such file or directory (0)

After deleting the networkmanager-strongswan, it was possible to connect. But this is not a solution, because I need these package

Maybe you can resolve this issue by creating a symlink in «/usr/lib/NetworkManager/libnm-vpn-plugin-strongswan.so»

@marekpetak

Just installed on Ubuntu server 22.04 LTS (jammy) using Proton VPN CLI v3.12.0 (protonvpn-nm-lib v3.10.0; proton-client v0.7.1) and connecting via UDP connection.
I have tried using renderer in Netplan as NetworkManager, but this made no difference.

Setting up Proton VPN.

An unknown error has occured. Please ensure that you have internet connectivity.
If the issue persists, please contact support.

@thramas

Just installed on Ubuntu server 20.04.3 LTS using Proton VPN CLI v3.12.0 (protonvpn-nm-lib v3.11.0; proton-client v0.7.1) and connecting via UDP connection. Not able to connect

Setting up Proton VPN.

An unknown error has occured. Please ensure that you have internet connectivity.
If the issue persists, please contact support.

@Demetri0

Same issue persists for several months. (Proton VPN CLI v3.12.0 (protonvpn-nm-lib v3.11.0; proton-client v0.7.1))

Linux demetrio 5.4.0-109-generic #123-Ubuntu SMP Fri Apr 8 09:10:54 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Message from newest client (just upgraded) is:

$protonvpn-cli c -f

Setting up Proton VPN.
Connecting to Proton VPN on JP-FREE#3 with UDP.

Unable to connect to Proton VPN: Proton VPN connection has been disconnected. Reason: VPNConnectionReasonEnum.UNKNOWN_ERROR

Earlier client version just printed:

Setting up Proton VPN.

An unknown error has occured. Please ensure that you have internet connectivity.
If the issue persists, please contact support.

Legacy cli client:

$protonvpn -v
ProtonVPN-CLI v2.2.4

Prints next output:

$sudo protonvpn c -f

There is already a VPN connection running.
Terminating previous connection...
Connecting to US-FREE#49 via UDP...
[!] There was an error with accessing the ProtonVPN API.
[!] Please make sure your connection is working properly!
[!] HTTP Error Code: 422

But looks like it is actually connects, because I was able to get access to blocked resources, while newest versions is not working at all.

P/S: Servers from VPN Plus (Basic previously) plan also doesn’t work.
P/P/S: I’m really thinking about stop my subscription and switch to another VPN service provider, please fix this issue.
P/P/P/S: Android client connected to the same WiFi works well, but I have two laptops with ubuntu and both doesn’t work, so I believe issue relates exactly to a client, not network.

I know there is protonvpn-cli --get-logs command, but it generates a folder (30mb) with a lot of files, and I’m paranoid about sending it because probably some of them may contain sensitive data.
I don’t know but maybe you can add -v attribute that prints all steps while connecting for such situations and output all things that may go wrong?

@MuhammedZakir

I had this problem recently, and deleting ~/.cache/protonvpn fixed this. May need to run protonvpn-cli d once before/after doing it.

@Demetri0

Deleting ~/.cache/protonvpn doesn’t help.

But I found a logs in this folder:

protonvpn-cli.log


2022-07-03 08:00:47,613 — cli.py — INFO — __init__:17 — 
-------------------------------------------------

----------- Initialized protonvpn-cli -----------


2022-07-03 08:00:47,613 — cli.py — INFO — init:29 — Proton VPN CLI v3.12.0 (protonvpn-nm-lib v3.11.0; proton-client v0.7.1)
2022-07-03 08:00:47,616 — cli.py — INFO — init:64 — CLI command: Namespace(command='d', get_logs=False, help=False, version=False)
2022-07-03 08:00:54,738 — cli.py — INFO — init:17 —

----------- Initialized protonvpn-cli -----------


2022-07-03 08:00:54,738 — cli.py — INFO — init:29 — Proton VPN CLI v3.12.0 (protonvpn-nm-lib v3.11.0; proton-client v0.7.1)
2022-07-03 08:00:54,740 — cli.py — INFO — init:64 — CLI command: Namespace(command='c', get_logs=False, help=False, version=False)
2022-07-03 08:00:54,741 — cli.py — INFO — connect:128 — Options: Namespace(cc=None, fastest=True, help=False, p2p=False, protocol=None, random=False, sc=False, servername=None, tor=False)
2022-07-03 08:01:05,219 — cli_wrapper.py — ERROR — connect:379 — No internet connection. Please make sure you are connected and retry.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
conn = connection.create_connection(
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 84, in create_connection
raise err
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 74, in create_connection
sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 665, in urlopen
httplib_response = self._make_request(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 376, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 996, in _validate_conn
conn.connect()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 314, in connect
conn = self._new_conn()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 171, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fcc3f1558e0>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 719, in urlopen
retries = retries.increment(
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 436, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='protonstatus.com', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fcc3f1558e0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/protonvpn_nm_lib/core/utilities.py", line 26, in ensure_internet_connection_is_available
requests.get(
File "/usr/lib/python3/dist-packages/requests/api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='protonstatus.com', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fcc3f1558e0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/protonvpn_cli/cli_wrapper.py", line 277, in connect
self.protonvpn.setup_connection(
File "/usr/lib/python3/dist-packages/protonvpn_nm_lib/api.py", line 93, in setup_connection
self._utils.ensure_internet_connection_is_available()
File "/usr/lib/python3/dist-packages/protonvpn_nm_lib/core/utilities.py", line 38, in ensure_internet_connection_is_available
raise exceptions.NetworkConnectionError(
protonvpn_nm_lib.exceptions.NetworkConnectionError: No internet connection. Please make sure you are connected and retry.

$ping protonstatus.com

PING protonstatus.com (188.114.97.1) 56(84) bytes of data.
64 bytes from 188.114.97.1 (188.114.97.1): icmp_seq=1 ttl=53 time=66.0 ms
64 bytes from 188.114.97.1 (188.114.97.1): icmp_seq=2 ttl=53 time=65.9 ms
^C
--- protonstatus.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 65.923/65.985/66.047/0.062 ms

@MuhammedZakir

IIRC, I also had a similiar issue [1]. ProtonVPN logs it couldn’t connect to ProtonVPN server when it works fine in other devices connected to same network, and it started working when I deleted the cache folder. So there’s something really wrong with the library related to connectivity.

Edit: What I mean is that I also saw that in the log (iirc).

@arakakivl

Same problem in ChromeOS. Just installed and tried to run it, after logging into it.

@inconspicuous99

2022-08-05 07:43:19,135cli.pyINFO__init__:29Proton VPN CLI v3.12.0 (protonvpn-nm-lib v3.11.0; proton-client v0.7.1)
2022-08-05 07:43:19,137cli.pyINFO__init__:64CLI command: Namespace(command='c', get_logs=False, help=False, version=False)
2022-08-05 07:43:19,137cli.pyINFOconnect
2022-08-05 07:43:21,356cli_wrapper.pyERRORconnect:379cannot import name 'soft_unicode' from 'markupsafe' (/home/a112/.local/lib/python3.8/site-packages/markupsafe/__init__.py)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/protonvpn_cli/cli_wrapper.py", line 277, in connect
    self.protonvpn.setup_connection(
  File "/usr/lib/python3/dist-packages/protonvpn_nm_lib/api.py", line 153, in setup_connection
    configuration = physical_server.get_configuration(_protocol)
  File "/usr/lib/python3/dist-packages/protonvpn_nm_lib/core/servers/list.py", line 53, in get_configuration
    from ..vpn import VPNConfiguration
  File "/usr/lib/python3/dist-packages/protonvpn_nm_lib/core/vpn/__init__.py", line 1, in <module>
    from .vpn_configuration import VPNConfiguration
  File "/usr/lib/python3/dist-packages/protonvpn_nm_lib/core/vpn/vpn_configuration.py", line 5, in <module>
    import jinja2
  File "/usr/lib/python3/dist-packages/jinja2/__init__.py", line 33, in <module>
    from jinja2.environment import Environment, Template
  File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 15, in <module>
    from jinja2 import nodes
  File "/usr/lib/python3/dist-packages/jinja2/nodes.py", line 23, in <module>
    from jinja2.utils import Markup
  File "/usr/lib/python3/dist-packages/jinja2/utils.py", line 656, in <module>
    from markupsafe import Markup, escape, soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/home/a112/.local/lib/python3.8/site-packages/markupsafe/__init__.py)
2022-08-05 07:44:14,912cli.pyINFO__init__:17

dbt-labs/dbt-core#4745 (comment)

image

Doing ^ and re-running the CLI / restarting my GUI worked for me.

@braintxx

Setting up Proton VPN.
An unknown error has occured. Please ensure that you have internet connectivity.
If the issue persists, please contact support.

same..

@cruzerngz

I had this problem recently, and deleting ~/.cache/protonvpn fixed this. May need to run protonvpn-cli d once before/after doing it.

This works for me. I deleted and ran protonvpn-cli after and it connects now.

@martinezhermes

has anyone got this working?

@arakakivl

Some few days ago I had this issue again, but in arch linux then. Solved by running nm-applet before trying to connect to it.

@pghpete

I have this same issue on fedora 36. Oddly it works fine from a terminal window within gnome on the box… but if I ssh in to that same box and try the same protonvpn-cli command it fails with this message…


An unknown error has occured. Please ensure that you have internet connectivity.
If the issue persists, please contact support.

The main reason I want to be able to use the cli is so I can ssh into a box and connect it to a vpn so why it doesn’t work while sshed in but does work while in a terminal on a box is beyond me.

Ok so if I follow the journal and issue the protonvpn-cli command I get this if I am sshed in…

Nov 14 11:09:15 sys76 NetworkManager[8183]: <info>  [1668442155.1003] audit: op="connection-add" pid=248358 uid=1010 result="fail" reason="Insufficient privileges"

If I preface the command with sudo I get a warning that running it as root is not supported and is highly discouraged.

What would make the permissions of my terminal user within gnome differ from my permissions as that same use while ssh-ed in?

@pghpete

Found a solution to my problem above… (at least on Fedora 35)

create this file as root, change USER for your user name….

cat /var/lib/polkit-1/localauthority/50-local.d/10-network-manager.pkla
[allow USER to modify all network states and settings]
Identity=unix-user:USER
Action=org.freedesktop.NetworkManager.*
ResultAny=yes
ResultInactive=yes
ResultActive=yes

systemctl restart NetworkManager

@nathant8883

Found a solution to my problem above… (at least on Fedora 35)

create this file as root, change USER for your user name….

cat /var/lib/polkit-1/localauthority/50-local.d/10-network-manager.pkla
[allow USER to modify all network states and settings]
Identity=unix-user:USER
Action=org.freedesktop.NetworkManager.*
ResultAny=yes
ResultInactive=yes
ResultActive=yes

systemctl restart NetworkManager

This solution moved me along one step on Ubuntu 22.04.1 LTS Server. However connect command gets stuck connecting to any server.

@Bodmoor

Found a solution to my problem above… (at least on Fedora 35)
create this file as root, change USER for your user name….

cat /var/lib/polkit-1/localauthority/50-local.d/10-network-manager.pkla
[allow USER to modify all network states and settings]
Identity=unix-user:USER
Action=org.freedesktop.NetworkManager.*
ResultAny=yes
ResultInactive=yes
ResultActive=yes

systemctl restart NetworkManager

This solution moved me along one step on Ubuntu 22.04.1 LTS Server. However connect command gets stuck connecting to any server.

I am also at this point. Stuck for now…

@acobster

Same for me on Ubuntu Server 22.04 LTS on a Raspberry Pi 2 model B.

Proton version:

Proton VPN CLI v3.13.0 (protonvpn-nm-lib v3.14.0; proton-client v0.7.1)

System info:

$ uname -a
Linux ubuntu 5.19.0-1006-raspi #13-Ubuntu SMP PREEMPT Mon Oct 17 19:03:10 UTC 2022 armv7l armv7l armv7l GNU/Linux

@StevenWegner

Same for me. So close.
Proton VPN CLI v3.13.0 (protonvpn-nm-lib v3.14.0; proton-client v0.7.1)

Linux 5.15.74.2-microsoft-standard-WSL2 #1 SMP Wed Nov 2 19:50:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Distributor ID: Ubuntu Description: Ubuntu 20.04.5 LTS Release: 20.04 Codename: focal

Running Ubuntu in WSL

@cdorfer

Same here (Raspbian GNU/Linux 10).
Happy I tested the cli-tool before upgrading my plan to ProtonVPN Plus..

@Demetri0

Unfortunately for me, I’m still paying for ProtonVPN Plus… probably it is time to migrate to mulvadvpn or smth else…

@nathant8883

I’m just going to leave this here because I did find the answer. ProtonCLI does not support Ubuntu Server. It requires an os with a display.

@Scripsky

I was able to login on ubuntu server, but only directly from the console’s terminal and not through ssh. You could try that

@majjuss

I had this problem recently, and deleting ~/.cache/protonvpn fixed this. May need to run protonvpn-cli d once before/after doing it.

worked for me also, on Ubuntu Mate 20.04 (running in a VM)

@matjolic

I’m running PopOS 22.04, based of Ubuntu LTS, protonvpn-cli is giving my this error right now due to not being able to resolve protonstatus.com. Cross-checked with online tools, and it seems down.

`$ protonvpn-cli -v

Proton VPN CLI v3.13.0 (protonvpn-nm-lib v3.14.0; proton-client v0.7.1)
`

`————————————————-

———— Initialized protonvpn-cli ————


2023-01-09 16:30:04,776 — cli.py — INFO — init:29 — Proton VPN CLI v3.13.0 (protonvpn-nm-lib v3.14.0; proton-client v0.7.1)
2023-01-09 16:30:04,779 — cli.py — INFO — init:64 — CLI command: Namespace(command=’c’, version=False, help=False, get_logs=False)
2023-01-09 16:30:04,779 — cli.py — INFO — connect:128 — Options: Namespace(servername=None, fastest=False, random=False, cc=’CA’, sc=False, p2p=False, tor=False, protocol=None, help=False)
2023-01-09 16:30:05,292 — cli_wrapper.py — ERROR — connect:383 — No internet connection. Please make sure you are connected and retry.
Traceback (most recent call last):
File «/usr/lib/python3/dist-packages/urllib3/connection.py», line 169, in _new_conn
conn = connection.create_connection(
File «/usr/lib/python3/dist-packages/urllib3/util/connection.py», line 73, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File «/usr/lib/python3.10/socket.py», line 955, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File «/usr/lib/python3/dist-packages/urllib3/connectionpool.py», line 699, in urlopen
httplib_response = self._make_request(
File «/usr/lib/python3/dist-packages/urllib3/connectionpool.py», line 382, in _make_request
self._validate_conn(conn)
File «/usr/lib/python3/dist-packages/urllib3/connectionpool.py», line 1012, in _validate_conn
conn.connect()
File «/usr/lib/python3/dist-packages/urllib3/connection.py», line 353, in connect
conn = self._new_conn()
File «/usr/lib/python3/dist-packages/urllib3/connection.py», line 181, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f38a6738610>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File «/usr/lib/python3/dist-packages/requests/adapters.py», line 439, in send
resp = conn.urlopen(
File «/usr/lib/python3/dist-packages/urllib3/connectionpool.py», line 755, in urlopen
retries = retries.increment(
File «/usr/lib/python3/dist-packages/urllib3/util/retry.py», line 574, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=’protonstatus.com’, port=443): Max retries exceeded with url: / (Caused by NewConnectionError(‘<urllib3.connection.HTTPSConnection object at 0x7f38a6738610>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution’))`

@horta

Protonvpn-cli uses NetworkManager to configure its connection but Ubuntu 22.04 uses systemd-networkd instead, therefore the whole issue.

An option would be to setup ubuntu 22.04 to use systemd-network instead but you will face new issues non-related to protonvpn I believe…

@lucasjkr

Came here to say that I’ve had no problems with ProtonVPN cli on Fedora, but am having this same issue with Ubuntu Server as everyone else.

From SSH, I get the above error («An unknown error…»)

From console, it actually tries to connect, but just stays there. My screen reads:

Connecting to Proton VPN on CH-AR#10 with UDP

I thought it was stuck on that for the past few minutes, but I couldn’t even Ctrl-C out of it.

@hardhu

Same for me both with Ubuntu 22.10 and Debian 11 (an unknown error has occurred….), and both using the cli and the gui interface of protonvpn. Has anybody found a fix (besides moving to another linux distribution)?

0 / 0 / 0

Регистрация: 01.09.2018

Сообщений: 12

1

13.09.2022, 02:21. Показов 1241. Ответов 14


Здравствуйте. Установил protonvpn на Linux, сам ВПН не работал, и перестал работать интернет без впн-а. Удалил protonvpn — интернет все равно не работает. В чем может быть проблема?

Добавлено через 46 минут
Все, я сам справился.
Поменял в /etc/resolv.conf nameserver на 8.8.8.8
Спасибо.

__________________
Помощь в написании контрольных, курсовых и дипломных работ, диссертаций здесь



0



Эксперт NIX

2658 / 777 / 173

Регистрация: 14.01.2013

Сообщений: 3,585

13.09.2022, 06:30

2

Цитата
Сообщение от Podretyzn1k
Посмотреть сообщение

интернет все равно не работает.

Для будущих поколений зафиксирую. Так вопросы задавать бесполезно. Судя по решению, интернет работал. Не работал DNS.



0



0 / 0 / 0

Регистрация: 19.03.2022

Сообщений: 57

22.09.2022, 19:38

3

Всем привет. Я понимаю, что разница в 9 лет. но проблема «один в один» как у автора темы, и решилась она также. Знающие, объясните, пожалуйста, как так происходит?
Все было нормально, потом установил этот …. ProtonVPN. После установки без подключения к нему нет не работает. Потом вообще перестал работать. Удалил — ничего. Вот только после указания DNS на 8.8.8.8 все ок.



0



1797 / 812 / 111

Регистрация: 29.01.2013

Сообщений: 4,862

22.09.2022, 23:36

4

Shimon, так а что вам объяснить-то?



0



0 / 0 / 0

Регистрация: 19.03.2022

Сообщений: 57

23.09.2022, 08:22

5

Что происходит с настройками при установке protonVPN? Как настроить, что бы при установленном protonVPN можно было бы входить в нэт без включения VPN?



0



1797 / 812 / 111

Регистрация: 29.01.2013

Сообщений: 4,862

23.09.2022, 09:47

6

Shimon, при установке VPN у вас меняются:
— главный DNS
— шлюз по-умолчанию
— маршруты.
На что меняются — это надо смотреть допосле.
Чтобы при подключённом VPN у вас работала нормально сеть, надо вернуть настройки DNS и шлюза, а так же разобраться с маршрутами.



1



0 / 0 / 0

Регистрация: 19.03.2022

Сообщений: 57

23.09.2022, 09:53

7

А где все это дела в Ubuntu найти?



0



Эксперт по компьютерным сетям

10931 / 6786 / 1815

Регистрация: 25.12.2012

Сообщений: 28,715

23.09.2022, 10:07

8



0



0 / 0 / 0

Регистрация: 19.03.2022

Сообщений: 57

23.09.2022, 10:12

9

Цитата
Сообщение от insect_87
Посмотреть сообщение

https://losst.ru/nastrojka-dns… d434551249

Ну здесь как установить DNS.

Цитата
Сообщение от Alli_Lupin
Посмотреть сообщение

— главный DNS
— шлюз по-умолчанию
— маршруты.

А остальное где глянуть перед установкой VPN? Вы уж извините за глупые вопросы, просто в сетях очень плохо разбираюсь.



0



Эксперт по компьютерным сетям

10931 / 6786 / 1815

Регистрация: 25.12.2012

Сообщений: 28,715

23.09.2022, 10:45

10

Цитата
Сообщение от Shimon
Посмотреть сообщение

Ну здесь как установить DNS.

там все есть. вы даже не читали

а еще:
шлюз и адрес основного физического подключения не меняется при включении виртуального.
Ведь виртуальное подключение и строится поверх подключения к интернету.

так что покажите сначала ifconfig -a с выключенным VPN



0



Shimon

0 / 0 / 0

Регистрация: 19.03.2022

Сообщений: 57

23.09.2022, 11:09

11

Цитата
Сообщение от insect_87
Посмотреть сообщение

там все есть. вы даже не читали

Читал.

Вот, то у меня есть, если следовать статье:

Bash
1
2
alex@ubuntu:~$ ls /sys/class/net/
ipv6leakintrf0  lo  wlo1
Bash
1
2
alex@ubuntu:/etc/network$ ls -a
.  ..  if-down.d  if-post-down.d  if-pre-up.d  if-up.d

Нету файла interfaces.
Так же нету папки

Bash
1
2
alex@ubuntu:~$ cd /etc/resolvconf/resolv.conf.d
bash: cd: /etc/resolvconf/resolv.conf.d: Нет такого файла или каталога

По запрошенной информации:

Bash
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
alex@ubuntu:~$ ifconfig -a
ipv6leakintrf0: flags=195<UP,BROADCAST,RUNNING,NOARP>  mtu 1500
        inet6 fdeb:446c:912d:8da::  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::9f1:f292:5504:d5f5  prefixlen 64  scopeid 0x20<link>
        ether 36:fb:dd:71:14:12  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 17157  bytes 1689267 (1.6 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
 
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Локальная петля (Loopback))
        RX packets 29849  bytes 2230161 (2.2 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 29849  bytes 2230161 (2.2 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
 
wlo1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.100.87  netmask 255.255.255.0  broadcast 192.168.100.255
        inet6 fe80::168f:dadf:1acf:4354  prefixlen 64  scopeid 0x20<link>
        ether 30:d1:6b:34:3c:9e  txqueuelen 1000  (Ethernet)
        RX packets 2211223  bytes 1550858585 (1.5 GB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 638806  bytes 149380563 (149.3 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ProtonVPN я ж удалил, думал, из-за него нету нэта…
Если подскажете, как правильно настроить VPN так, чтобы и без него работало, было бы круто. А то по гайдам в нэте ничего толкового, поэтому protonVPN и посоветовали…



0



Эксперт по компьютерным сетям

10931 / 6786 / 1815

Регистрация: 25.12.2012

Сообщений: 28,715

23.09.2022, 11:22

12

ваша конечная цель какая?
что вы хотите получить в итоге?



0



0 / 0 / 0

Регистрация: 19.03.2022

Сообщений: 57

23.09.2022, 11:23

13

Цитата
Сообщение от insect_87
Посмотреть сообщение

ваша конечная цель какая?
что вы хотите получить в итоге?

Попробовать настроить VPN на ноуте, но чтобы можно было без подключения к нему входить в нэт.



0



Эксперт по компьютерным сетям

10931 / 6786 / 1815

Регистрация: 25.12.2012

Сообщений: 28,715

23.09.2022, 11:25

14

по идее любой VPN будет так работать.

вам VPN для чего именно нужен?



0



0 / 0 / 0

Регистрация: 19.03.2022

Сообщений: 57

23.09.2022, 11:29

15

Цитата
Сообщение от insect_87
Посмотреть сообщение

вам VPN для чего именно нужен?

Для установки пакета ПО, но не сразу всего, а отдельных компонентов в по мере надобности. При установке требуется регистрация, и в ее процессе сообщают, что определенному кругу стран реализация запрещена



0



Понравилась статья? Поделить с друзьями:
  • Protocol error with rcmd
  • Promag 50 ошибка 321
  • Protocol error page navigate target closed
  • Prology imap open registry error prology
  • Protocol error occurred error was returned from the destination server перевод