ProtonVPN / protonvpn-cli

Legacy protonvpn-cli: ProtonVPN Command-Line Tool for Linux and macOS. This has been superseded by https://github.com/ProtonVPN/protonvpn-cli-ng
Other
607 stars 98 forks source link

protonvpn_openvpn_config.conf Permission Denied #197

Closed russsaidwords closed 4 years ago

russsaidwords commented 4 years ago

I was connected this morning to a ProtonVPN P2P server. I disconnected, and attempted to connect to the fastest available ProtonVPN server with the -f flag.

Now all I get are the following lines:

Fetching ProtonVPN servers...
/home/USER/.protonvpn-cli/protonvpn_openvpn_config.conf: Permission denied
cp: cannot stat '/home/USER/.protonvpn-cli/protonvpn_openvpn_config.conf': No such file or directory
Connecting...
[!] Error connecting to VPN.
grep: /home/USER/.protonvpn-cli/connection_logs: No such file or directory

I've attempted to delete the entire .protonvpn-cli directory and re-install the script several times, and I keep getting this same error. I have also attempted to uninstall and re-install openvpn and network-manager-openvpn-gnome for what that's worth. Nothing has worked.

How can I fix this problem? Thank you.

russsaidwords commented 4 years ago

So I figured out what was going on here:

I installed Firejail after I connected to the P2P servers and did ...stuff.

I then disconnected from the P2P server and tried to reconnect to the fastest available server, but the Ubuntu Firejail profile for wget must have been restrictive enough that the script couldn't use it to contact the API to get the server list.

I uninstalled Firejail and everything started working again as it had before. Closing the issue.