Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

protonvpn API not found with v2.2.1 #213

Open
k0dk0de opened this issue Feb 3, 2020 · 1 comment
Open

protonvpn API not found with v2.2.1 #213

k0dk0de opened this issue Feb 3, 2020 · 1 comment

Comments

@k0dk0de
Copy link

k0dk0de commented Feb 3, 2020

I upgraded the CLI to v2.2.1 this morning and trying to connect with that client fails with the following error:

user@host:~$ sudo protonvpn c -f  
[!] There was an error connecting to the ProtonVPN API.  
[!] Please make sure your connection is working properly!

What I have tested:

  • Flush iptables completely to get rid of the kill switch
  • ping a random host from the CLI - that works w/o a VPN

Here is the pvpn-cli.log file I get when trying to connect:

2020-02-03 07:57:45,037 — protonvpn-cli — DEBUG — cli:84 —   #########################
2020-02-03 07:57:45,037 — protonvpn-cli — DEBUG — cli:85 — ### NEW PROCESS STARTED ###
2020-02-03 07:57:45,037 — protonvpn-cli — DEBUG — cli:86 —   #########################
2020-02-03 07:57:45,037 — protonvpn-cli — DEBUG — cli:87 — ['/usr/local/bin/protonvpn', 'c', '-f']
2020-02-03 07:57:45,037 — protonvpn-cli — DEBUG — cli:88 — USER: user
2020-02-03 07:57:45,037 — protonvpn-cli — DEBUG — cli:89 — CONFIG_DIR: /home/user/.pvpn-cli
2020-02-03 07:57:45,040 — protonvpn-cli — DEBUG — cli:92 — Arguments {'--cc': None, '--fastest': True, '--help': False, '--p2p': False, '--random': False, '--sc': False, '--tor':       False, '--version': False, '-p': None, '<servername>': None, 'c': True, 'configure': False, 'connect':   False, 'd': False, 'disconnect': False, 'examples': False, 'init': False, 'r': False, 'reconnect': False, 'refresh': False, 's': False, 'status': False}
2020-02-03 07:57:45,048 — protonvpn-cli — DEBUG — fastest:144 — Starting fastest connect
2020-02-03 07:57:45,049 — protonvpn-cli — DEBUG — disconnect:307 — Initiating disconnect
2020-02-03 07:57:45,054 — protonvpn-cli — DEBUG — is_connected:196 — Checking connection Status. OpenVPN processes: 0
2020-02-03 07:57:45,054 — protonvpn-cli — DEBUG — manage_dns:604 — Restoring DNS
2020-02-03 07:57:45,055 — protonvpn-cli — DEBUG — manage_dns:621 — No Backupfile found
2020-02-03 07:57:45,055 — protonvpn-cli — DEBUG — manage_ipv6:680 — Restoring ip6tables
2020-02-03 07:57:45,055 — protonvpn-cli — DEBUG — manage_ipv6:695 — No Backupfile found
2020-02-03 07:57:45,055 — protonvpn-cli — DEBUG — manage_killswitch:770 — Restoring iptables
2020-02-03 07:57:45,055 — protonvpn-cli — DEBUG — manage_killswitch:779 — No Backupfile found
2020-02-03 07:57:45,055 — protonvpn-cli — DEBUG — disconnect:347 — No connection found
2020-02-03 07:57:45,055 — protonvpn-cli — DEBUG — call_api:35 — Initiating API Call: https://api.protonvpn.ch/vpn/logicals
2020-02-03 07:57:45,276 — protonvpn-cli — DEBUG — call_api:50 — Error connecting to ProtonVPN API`

Downgrading back to v2.2.0 and everything works great.

@Rafficer
Copy link
Contributor

Rafficer commented Feb 3, 2020

You're on the wrong repository.

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

No branches or pull requests

2 participants