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

Unable to connect after disconnecting #176

Closed dron1885 closed 5 years ago

dron1885 commented 5 years ago

I encounter a problem with protonvpn-cli.

Running protonvpn-cli -f first time everything works fine. After some time if it's required to disable VPN protonvpn-cli -d still do what it should.

But next time I try to connect I get this:

Fetching ProtonVPN servers...
Connecting...
[!] Error connecting to VPN.

Rebooting is only way to connect to VPN again

System: Linux, 4.20.11-arch1-1-ARCH.

Logs : connection_logs.txt

xilopaint commented 5 years ago

Please, run sudo PROTONVPN_CLI_LOG=true protonvpn-cli -f and provide logs.

dron1885 commented 5 years ago

Updated first post.

xilopaint commented 5 years ago

You seem to be running into #138.

Please, reinitialise your profile by using sudo pvpn --init and choose N to Decrease OpenVPN privileges.

dron1885 commented 5 years ago

Reinitializing helped. Don't know how I missed previous issue.

xilopaint commented 5 years ago

So is everything working fine now?

dron1885 commented 5 years ago

Yes, it seems so. Thank you!

xilopaint commented 5 years ago

@dron1885 Nice! You can close the issue now.

@mazen160 what about we grep the logs to search occurrences of this issue and in positive cases use a warning to instruct the user to reinitialise his/her profile accordingly?