Protonvpn not working

Impossible to say …

Damn… What to do then?

Hi,
If it’s just connection problem you can try to change your kill switch status.

Hi,
It’s me again. If you experience problem with ProtonVPN since next update, I’ a procedure to resolve python break.
Requirements: use Python3 and pip
Try :slight_smile: pacman -Qmq $(pacman -Qoq /usr/lib/python3.${OLD}/site-packages) > AUR_pkgs_to_reinstall.txt
open the file AUR_pkgs_to_reinstall.txt with pluma or an other editor
Open a terminal
fror every line in the text file, run “yay -i line in text file”
When yay ask whish number, choose 1 [ENTER]
N [ENTER]
N [ENTER]
[ENTER]
Line concerning protonVPN and some importants others are:
protonvpn
protonvpn-cli
protonvpn-gui
python-convertdate
python-dateparser
python-hijri-converter
python-imdbpy
python-pep517
python-proton-client
python-protonvpn-nm-lib
python-pure-protobuf
python-pytz-deprecation-shim
python-rarfile
python-tzdata

That’s it

1 Like

Hello thanks for trying to help but I’ve sadly returned to Windows, and protonvpn works there smoothly. I wish I can go back to Manjaro but currently with all the files I have it’s nearly impossible to backup and try your solution but I appreciate your help.

Hello, I’m having a similar problem and tried this. Everything went through fine but then I tried to open protonvpn up again I’m greeted with

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/protonvpn_gui/main.py", line 262, in do_activate
    if not protonvpn.check_session_exists():
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/protonvpn_nm_lib/api.py", line 356, in check_session_exists
    return self._env.api_session.is_valid
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/protonvpn_nm_lib/core/environment.py", line 56, in api_session
    self.__api_session = APISession()
                         ^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/protonvpn_nm_lib/core/session/session.py", line 252, in __init__
    self.__session_create()
  File "/usr/lib/python3.11/site-packages/protonvpn_nm_lib/core/session/session.py", line 273, in __session_create
    self.__proton_api = Session(
                        ^^^^^^^^
TypeError: Session.__init__() got an unexpected keyword argument 'log_dir_path'

If you cannot make protonVPN work it is caused by some system incompatibility or a system not properly updated.

ProtonVPN is installed using AUR and AUR is unsupported using Manjaro as well as Arch.

The issue may be caused as AUR buildscripts expects Arch package level - which is NOT possible using Manjaro stable branch.

pacman-mirrors -G

If you get stable then uninstall protonvpn

sudo pacman -Rns protonvpn

And switch to unstable and run a full system sync.

sudo pacman-mirrors -aS unstable && sudo pacman -Syyu

Then build protonvpn

pamac build protonvpn

Finally you can connect using the command line

 $ protonvpn-cli c nl-free#142056
Setting up Proton VPN.
Connecting to Proton VPN on NL-FREE#142056 with UDP.

Successfully connected to Proton VPN.

Or you can launch the GUI from your system’s app launcher panel

image

1 Like

But the thing is even if AUR was unsupported, it used to work flawlessly few months ago. What happened now?

And it still do …

I don’t know - I have never had issues with protonvpn - used them for years - I have an account with ProtonVPN you cannot subscribe to anymore - Visionary - they called it - I host my mail, drive and use their VPN with no issues.

But as mentioned - it is likely a discrepancy between Manjaro stable and Arch causing it.

Packages build from AUR are likely to get issues on Manjaro updates - this is quite normal for AUR packages - there is no guarantee they work with precisely your system and if they work - there is no guarantee the will continue to do so.

Mainteance of custom packages is the reponsibility of the owner.

The availablility of AUR, Flatpak and Snap does not imply Manjaro Linux distribution is reponsible when they cease to function or errors out.

I’ve tried live Pop OS from USB and the same problem happens. I want to have Manjaro so badly. But ProtonVPN is a deal breaker. It used to work few months ago. Idk what happened. Now it’s only working on Windows. It’s the very same internet connection that I’ve always had

You see the problem - right?

I am using Manjaro Plasma on unstable branch - and ProtonVPN works - as can be seen from above comments - it worked at the time of your original topic and it works now.

Without hands-on it is impossible for me to know - especially when it works on my Manjaro systems and then only general recommendations can be provided.

Your internet connection has nothing to do with your issue.

No matter how I test this issue - I simply cannot reproduce it.

This is from a fully updated as of 2023-06-10T14:45:00Z default Manjaro installation running in a VirtualBox VM - and it proves without a shadow of doubt that whatever issue you have it is local.

 $ pacman-mirrors -G
stable
$ inxi -S
System:
  Host: lxqt Kernel: 6.1.31-2-MANJARO arch: x86_64 bits: 64 Desktop: LXQt
    v: 1.3.0 Distro: Manjaro Linux
 $ pamac build protonvpn
Preparing...
Cloning protonvpn build files...
Generating protonvpn information...
[...]
Building protonvpn...
==> Making package: protonvpn 1.0.0-3 (lør 10 jun 2023 16:45:19 CEST)
[...]
==> Finished making: protonvpn 1.0.0-3 (lør 10 jun 2023 16:45:20 CEST)
==> Cleaning up...

Checking keyring...                                                   [1/1]
Checking integrity...                                                 [1/1]
Loading packages files...                                             [1/1]
Checking file conflicts...                                            [1/1]
Checking available disk space...                                      [1/1]
Installing protonvpn (1.0.0-3)...                                     [1/1]
Transaction successfully finished.
 $ protonvpn-cli login yourusername
Enter your Proton VPN password: 

Successful login.
 $ protonvpn-cli c nl-free#142056
Setting up Proton VPN.
Connecting to Proton VPN on NL-FREE#142056 with UDP.

Successfully connected to Proton VPN.

How the hell can I fix this? I don’t want to stay on Windows, it’s not very bad but Manjaro is just… better!

You do understand that I cannot possibly guess what your issue is - right?

There is nothing to fix … it works!

I have proven to you threes times - it works - last time using stable branch.

We have

  • documentation that ProtonVPN is not at fault
  • documentaton that Manjaro stable branch is not at fault

We also have these very vague sentences

What we do not have

  • evidence other than your word
  • relevant logs
  • network configuration information when the error surface
    • cat /etc/resolv.conf
  • a backdoor so the system can be inspected remotely

What we have left

  • ???

I understand that. I’m just a bit frustrated and I appreciate the help.

Protonvpn is heavily python dependent. If your system is more than a month old, chances are you installed/built proton on python 3.10. And then the upgrade to 3.11 happened and all aur python packages have to be rebuild. As suggested in the post of @tuxdata and in different topics in the announcements and wiki.

p.s. proton works on my system. New install with python 3.11 and xfce.

Відповідь для тих кому просто потрібний стабільний VPN, а не додаток.

В мене була схожа проблема. Я не зрозумів в чому річ. Жодної помилки. А з’єднання або не встановлювалось, або було нестабільним.

Тому я просто зайшов на сайт ProtonVPN і завантажив їх конфігураційний файл для OpenVPN. Там також є конфігурація для WireGuard (але я її не перевіряв). Цей метод працює стабільно.

У випадку з OpenVPN необхідно просто завантажити конфігураційний файл і імпортувати його за допомогою NetworkManager.

Thank you very much. Neat idea, but unfortunately does not work - both at cli and gui version it tells wrong password (i am inserting the long special password as per instructions here - How to manually configure OpenVPN in Linux - Proton VPN Support )

Hello Teo, I also use kde plasma and protonvpn and everything works fine for me. Maybe this will help you. My system is up to date

The dependency tree for protonvpn looks like this
  • protonvpn
    • protnvpn-cli
      • python-protonvpn-nm-lib
        • python-pythondialog
        • python-proton-client
        • networkmanager
        • networkmanager-openvpn
        • openvpn libnm
        • dbus
        • libsecret
        • python-pyxdg
        • python-keyring
        • python-jinja
        • python-distro
        • python-dbus
        • python-systemd
        • xdg-utils
        • python-gobject
    • protonvpn-gui
      • python-protonvpn-nm-lib
      • python-gobject
      • python-psutil
      • gtk3
      • python-cairo
      • webkit2gtk

I thinking out load here - just writing my thoughts down.

I cannot reproduce - so the question I am asking myself:

What sets my system apart from yours

My systems do not throw the message - network error - which leads us to investigate your network.

Please use this [root tip] [How To] Basic network know-how and troubleshooting to investigate your network.

That proves my previous point - that is has nothing to do with Manjaro as operating system.

But if the same hardware - a laptop? - with different operating system exhitibs the same symptoms - then it has to be something hardware related - probably your wifi card.

So please provide some system information - the textual output (no screenshots, no photos, thank you) but the link provided by the following command - inxi is creating some sysinfo and curl sends the output to to ix.io which is a pastebin service

inxi -F | curl -F 'f:1=<-' ix.io

This actually fixed my issue so thanks!

1 Like

I am pleased you were able to fix your issue :+1: