Rafficer / linux-cli-community

Linux command-line client for ProtonVPN. Written in Python.
https://protonvpn.com
GNU General Public License v3.0
1.31k stars 198 forks source link

[BUG] Connection timed out after 45 Seconds #347

Closed mreza0100 closed 1 year ago

mreza0100 commented 2 years ago

Describe the bug I can't connect to any of the servers

The only message that I see is this:

Connecting to NL-FREE#123 via UDP...
Connection timed out after 45 Seconds

To Reproduce Steps to reproduce the behavior: I connect as I always do: sudo protonvpn connect I can see the server lists, but it's not connecting(Timeout)

Error Messages/Program Output/Log Messages (~/.pvpn-cli/pvpn-cli.log)

2022-09-27 09:27:21,373 — protonvpn-cli — DEBUG — cli:84 — ###########################
2022-09-27 09:27:21,373 — protonvpn-cli — DEBUG — cli:85 — ### NEW PROCESS STARTED ###
2022-09-27 09:27:21,373 — protonvpn-cli — DEBUG — cli:86 — ###########################
2022-09-27 09:27:21,373 — protonvpn-cli — DEBUG — cli:87 — ['/usr/bin/protonvpn', 'connect']
2022-09-27 09:27:21,373 — protonvpn-cli — DEBUG — cli:88 — USER: mamad
2022-09-27 09:27:21,373 — protonvpn-cli — DEBUG — cli:89 — CONFIG_DIR: /home/mamad/.pvpn-cli
2022-09-27 09:27:21,375 — protonvpn-cli — DEBUG — cli:92 — Arguments
{'--cc': None, '--fastest': False, '--help': False, '--p2p': False, '--random': False, '--sc': False, '--tor': False, '--version': False, '-p': None, '<servername>': None, 'c': False, 'configure': False, 'connect': True, 'd': False, 'disconnect': False, 'examples': False, 'init': False, 'r': False, 'reconnect': False, 'refresh': False, 's': False, 'status': False}
2022-09-27 09:27:21,378 — protonvpn-cli — DEBUG — dialog:45 — Starting dialog connect
2022-09-27 09:27:21,378 — protonvpn-cli — DEBUG — call_api:35 — Initiating API Call: https://api.protonmail.ch/vpn/logicals
2022-09-27 09:27:22,896 — protonvpn-cli — DEBUG — call_api:64 — Successful json response
2022-09-27 09:27:22,940 — protonvpn-cli — DEBUG — pull_server_data:86 — SERVER_INFO_FILE written
2022-09-27 09:27:22,942 — protonvpn-cli — DEBUG — pull_server_data:93 — last_api_call updated
2022-09-27 09:27:22,943 — protonvpn-cli — DEBUG — get_servers:100 — Reading servers from file
2022-09-27 09:27:22,953 — protonvpn-cli — DEBUG — show_dialog:35 — Showing Dialog: Choose a country:
2022-09-27 09:27:24,601 — protonvpn-cli — DEBUG — dialog:83 — Country Choice: Netherlands
2022-09-27 09:27:24,608 — protonvpn-cli — DEBUG — show_dialog:35 — Showing Dialog: Choose the server to connect:
2022-09-27 09:27:24,838 — protonvpn-cli — DEBUG — dialog:112 — Server Choice: NL-FREE#123
2022-09-27 09:27:24,844 — protonvpn-cli — DEBUG — show_dialog:35 — Showing Dialog: Choose a protocol:
2022-09-27 09:27:25,029 — protonvpn-cli — DEBUG — dialog:120 — Protocol Choice: UDP
2022-09-27 09:27:25,036 — protonvpn-cli — DEBUG — openvpn_connect:442 — Initiating OpenVPN connection
2022-09-27 09:27:25,036 — protonvpn-cli — DEBUG — openvpn_connect:443 — Connecting to NL-FREE#123 via UDP
2022-09-27 09:27:25,038 — protonvpn-cli — DEBUG — get_servers:100 — Reading servers from file
2022-09-27 09:27:25,051 — protonvpn-cli — DEBUG — openvpn_connect:460 — IPs: ['185.107.56.28', '185.107.56.28', '185.107.56.28', '185.107.56.28']
2022-09-27 09:27:25,051 — protonvpn-cli — DEBUG — openvpn_connect:461 — connect.ovpn written
2022-09-27 09:27:25,051 — protonvpn-cli — DEBUG — disconnect:302 — Initiating disconnect
2022-09-27 09:27:25,066 — protonvpn-cli — DEBUG — is_connected:198 — Checking connection Status. OpenVPN processes: 0
2022-09-27 09:27:25,066 — protonvpn-cli — DEBUG — manage_dns:608 — Restoring DNS
2022-09-27 09:27:25,067 — protonvpn-cli — DEBUG — manage_dns:625 — No Backupfile found
2022-09-27 09:27:25,067 — protonvpn-cli — DEBUG — manage_ipv6:684 — Restoring ip6tables
2022-09-27 09:27:25,067 — protonvpn-cli — DEBUG — manage_ipv6:699 — No Backupfile found
2022-09-27 09:27:25,067 — protonvpn-cli — DEBUG — manage_killswitch:774 — Restoring iptables
2022-09-27 09:27:25,067 — protonvpn-cli — DEBUG — manage_killswitch:783 — No Backupfile found
2022-09-27 09:27:25,067 — protonvpn-cli — DEBUG — disconnect:342 — No connection found
2022-09-27 09:27:25,067 — protonvpn-cli — DEBUG — get_ip_info:142 — Getting IP Information
2022-09-27 09:27:25,067 — protonvpn-cli — DEBUG — call_api:35 — Initiating API Call: https://api.protonmail.ch/vpn/location
2022-09-27 09:27:25,652 — protonvpn-cli — DEBUG — call_api:64 — Successful json response
2022-09-27 09:27:25,655 — protonvpn-cli — DEBUG — openvpn_connect:479 — OpenVPN process started
2022-09-27 09:28:10,664 — protonvpn-cli — DEBUG — openvpn_connect:527 — Connection timed out after 45 Seconds

Desktop (please complete the following information):

Additional context The government of i.r.a*n is jamming. please help us back online.

@kylekatarnls @Rafficer @kaplun