Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Failed to retrieve configuration files from NordVPN #114

Open
ghost opened this issue Nov 7, 2018 · 3 comments
Open

Failed to retrieve configuration files from NordVPN #114

ghost opened this issue Nov 7, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Nov 7, 2018

Hi Chad and others,
I've been having the problem copy/pasted below since a few days. I can t sync with NordVPN anymore. I tried reinstalling and clearing the configs but to no success. I tried to telnet to downloads.nordcdn.com with port=443 and it works fine.

[phil:~]$ sudo nordnm sync     
[ERROR] [nordnm.utils]: Could not check PyPi for latest version.
     _   _               _ _   _ ___  ___
    | \ | |             | | \ | ||  \/  |
    |  \| | ___  _ __ __| |  \| || .  . |
    | . ` |/ _ \| '__/ _` | . ` || |\/| |
    | |\  | (_) | | | (_| | |\  || |  | |
    \_| \_/\___/|_|  \__,_\_| \_/\_|  |_/   v0.6.1

[WARNING] [nordnm.nordnm]: No OpenVPN configuration files found.
[INFO] [nordnm.nordnm]: Downloading latest NordVPN OpenVPN configuration files to '/home/phil/.nordnm/configs/'.
HTTPSConnectionPool(host='downloads.nordcdn.com', port=443): Read timed out. (read timeout=5)
[ERROR] [nordnm.nordnm]: Failed to retrieve configuration files from NordVPN

Cheers for any help on this :)

@ghost
Copy link
Author

ghost commented Nov 7, 2018

I also noticed that https://downloads.nordcdn.com/configs/archives/servers/ovpn.zip takes about 2 minutes for the download to start. Probably that's why the connection is timing out...

@ghost
Copy link
Author

ghost commented Nov 7, 2018

After changing TIMEOUT=5 to TIMEOUT=500 in nordapi.py the error changed:

[ERROR] [nordnm.utils]: File is not a zip file
[ERROR] [nordnm.nordnm]: Failed to extract configuration files

It just looks like the server side which nordnm is trying to download from is not uploading the zip file properly. When I try to download the file from the web-browser using the url https://downloads.nordcdn.com/configs/archives/servers/ovpn.zip then it breaks halfway through the download.

@ghost
Copy link
Author

ghost commented Nov 7, 2018

Manually downloading ovpn.zip and extracting it to ~/.nordvpn/configs/ seems to have done the trick :)

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

0 participants