Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protonvpn-GUI fails to connect #128114

Open
Anderssorby opened this issue Jun 25, 2021 · 12 comments
Open

Protonvpn-GUI fails to connect #128114

Anderssorby opened this issue Jun 25, 2021 · 12 comments

Comments

@Anderssorby
Copy link
Contributor

Describe the bug
When trying to connect to the server it fails to launch and produces the error message "shell not found in /etc/shells". I'm using zsh which for some reason is not listed in /etc/shells

To Reproduce
Steps to reproduce the behavior:

  1. Install protonvpn-gui and login with your credentials
  2. Try to connect to any server
  3. Possibly use a different shell than bash as standard

Expected behavior
A successfull connection to a free protonvpn server

Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot from 2021-06-25 13-15-27

Additional context
Add any other context about the problem here.

Notify maintainers

@jtcoolen @JeffLabonte @SCOTT-HAMILTON @caugner @offlinehacker

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.44, NixOS, 21.05.1153.0ccd0d91361 (Okapi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.4pre20210601_5985b8b`
 - channels(anderscs): `"home-manager, unstable-21.11pre297740.c223fd60072"`
 - channels(root): `"nixos-21.05.1153.0ccd0d91361"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute: nixpkgs.protonvpn-gui
# a list of nixos modules affected by the problem
module: nixos.protonvpn-gui
@WolfangAukang
Copy link
Contributor

FYI, I also use ZSH but I'm not able to reproduce this issue.

Also, there is a new version packaged. Can you please check if the same issue persists?

@nrdxp
Copy link
Contributor

nrdxp commented Apr 15, 2022

Having a similar issue, except that the gui tries to connect to a given server, but just stays stuck in the "connecting" screen forever, never actually making the connection. 🤷

@WolfangAukang
Copy link
Contributor

This is strange. Although I don't use ProtonVPN Plus anymore, I'm still able to use the default servers and connect to them:

image

@mainrs
Copy link

mainrs commented Jun 10, 2022

I have trouble using the Proton VPN GUI client. @WolfangAukang do you happen to have NetworkManager configured on your system? For some reason Proton VPN fails on my machine to connect.

I get this error in the log files:

Support for given configuration is not implemented
Traceback (most recent call last):
  File "/nix/store/7wjnygr4ym3k4285gi1q295acm2p4agp-protonvpn-gui-1.9.0/lib/python3.9/site-packages/protonvpn_gui/view_model/dashboard.py", line 352, in connect
    server = protonvpn.setup_connection(
  File "/nix/store/bsysrcgk5qa1w84pypazbrc97jlc0idn-python3.9-protonvpn-nm-lib-3.10.0/lib/python3.9/site-packages/protonvpn_nm_lib/api.py", line 158, in setup_connection
    self._env.connection_backend.setup(**data)
  File "/nix/store/bsysrcgk5qa1w84pypazbrc97jlc0idn-python3.9-protonvpn-nm-lib-3.10.0/lib/python3.9/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 "/nix/store/bsysrcgk5qa1w84pypazbrc97jlc0idn-python3.9-protonvpn-nm-lib-3.10.0/lib/python3.9/site-packages/protonvpn_nm_lib/core/connection_backend/nm_client/plugin/nm_plugin.py", line 31, in import_vpn_config
    raise NotImplementedError(
NotImplementedError: Support for given configuration is not implemented

Sounds more like some misconfiguration on my machine than anything else. I installed from github:NixOS/nixpkgs/nixpkgs-unstable.

I configured my system's networking like this:

networking.hostId = "<id>";
networking.interfaces.enp3s0.useDHCP = true;
networking.useDHCP = mkForce true;

@WolfangAukang
Copy link
Contributor

WolfangAukang commented Jun 10, 2022

I get this error in the log files:

This is similar to #172831 (comment). Unfortunately, the best recommendation would be checking if protonvpn-cli_2 works (this one does not rely on NetworkManager). I do have NetworkManager on my system and have no issue using ProtonVPN at the moment (this on a basic account).

I really don't know what can be done on this case because I'm really not sure of what causes this issue, rather open an issue on the protonvpn-nm-lib repo and hope for the best.

@mainrs
Copy link

mainrs commented Jun 10, 2022

I've actually went ahead and contacted Proton VPN support with my log files. I'll keep the issue updated if new information emerges.

@nyabinary
Copy link
Contributor

image
Getting something different entirely

@raspher
Copy link
Member

raspher commented Feb 4, 2024

Same here, in addition their public repo is now archived https://github.com/ProtonVPN/linux-app

edit: but i've found this https://github.com/ProtonVPN/proton-vpn-gtk-app

@nyabinary
Copy link
Contributor

Same here, in addition their public repo is now archived https://github.com/ProtonVPN/linux-app

edit: but i've found this https://github.com/ProtonVPN/proton-vpn-gtk-app

the new protonvpn is already packaged in nixpkgs-unstable

@raspher
Copy link
Member

raspher commented Feb 4, 2024

@nyabinary i see package is outdated as latest version is 4.1.10 when in repo it's:

  • unstable -> 4.1.0-unstable-2023-10-25
  • 23.11 -> 1.12.0 does not work at all as API probably changed

I wanted to update it but it's complicated a little, say not my level of understanding nix :)

edit: shouldn't package be renamed to protonvpn-gtk or something like that as it's totally different project and repository?

@raspher
Copy link
Member

raspher commented Feb 4, 2024

When using unstable channel i can connect. However i'll fill an update request
image

@Kaukov
Copy link

Kaukov commented May 24, 2024

When I used nixos-23.11 as my base and only included unstable for protonvpn-gui, networkmanager (and its other packages), I couldn't connect to any server and I got unknown errors. My guess is I had missed another dependency I needed to pull from unstable.

When I set the URL to my nixos channel to nixos-unstable, I no longer face any issues with ProtonVPN and can successfully connect to the servers.

This issue is resolved for nixos-unstable 100%.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants