Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot ping nordcdn, network or internet unavailable. Cannot download NORDVPN configuration files #240

Open
6 tasks done
marcelrv opened this issue Sep 27, 2023 · 0 comments

Comments

@marcelrv
Copy link
Contributor

marcelrv commented Sep 27, 2023

Is there a pinned issue for this?

  • I have read the pinned issues

Is there an existing or similar issue for this?

  • I have searched the existing issues

Is there any comment in the documentation for this?

  • I have read the documentation, especially the FAQ and Troubleshooting parts

Is this related to the container/transmission?

  • I have checked the container repo for issues

Are you using the latest release?

  • I am using the latest release

Have you tried using the dev branch latest?

  • I have tried using dev branch

Config used

image

Current Behavior

container is restarting as it cannot ping the nordvpn server

ERROR: ERROR: OVPN: cannot ping https://downloads.nordcdn.com/configs/files, network or internet unavailable. Cannot download NORDVPN configuration files

Expected Behavior

nordvpn service is reachable, it seems we are checking in way that is currently no longer supported by the cdn

How have you tried to solve the problem?

pinging the server manually gives the same issue. It can't be pinged, but downloads work nevertheless fine
disabling the checkDNS part of the script makes it work again
https://github.com/haugene/vpn-configs-contrib/blob/main/openvpn/nordvpn/configure-openvpn.sh#L215

here example of the manual testing (ping failing, but downloading works normally):

~$ ping downloads.nordcdn.com
PING downloads.nordcdn.com (104.17.208.237) 56(84) bytes of data.
^C
--- downloads.nordcdn.com ping statistics ---
8 packets transmitted, 0 received, 100% packet loss, time 7169ms

$ wget https://downloads.nordcdn.com/configs/files/ovpn_udp/servers/nl839.nordvpn.com.udp.ovpn
--2023-09-27 16:05:29--  https://downloads.nordcdn.com/configs/files/ovpn_udp/servers/nl839.nordvpn.com.udp.ovpn
Resolving downloads.nordcdn.com (downloads.nordcdn.com)... 104.17.207.237, 104.17.208.237, 2606:4700::6811:cfed, ...
Connecting to downloads.nordcdn.com (downloads.nordcdn.com)|104.17.207.237|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2848 (2,8K) [application/octet-stream]
Saving to: ‘nl839.nordvpn.com.udp.ovpn’

nl839.nordvpn.com.udp.ovpn    100%[==============================================>]   2,78K  --.-KB/s    in 0s

2023-09-27 16:05:29 (40,9 MB/s) - ‘nl839.nordvpn.com.udp.ovpn’ saved [2848/2848]

Log output

Starting container with revision: f9cb4dea2da1a3aa63bd3945e0162c9b8a9789a4
TRANSMISSION_HOME is currently set to: /config/transmission-home
WARNING: Deprecated. Found old default transmission-home folder at /data/transmission-home, setting this as TRANSMISSION_HOME. This might break in future versions.
We will fallback to this directory as long as the folder exists. Please consider moving it to /config/transmission-home
Creating TUN device /dev/net/tun
Using OpenVPN provider: NORDVPN
Running with VPN_CONFIG_SOURCE auto
Provider NORDVPN has a bundled setup script. Defaulting to internal config
Executing setup script for NORDVPN
/etc/openvpn/nordvpn/..
INFO: OVPN: Checking curl installation
INFO: OVPN: DNS resolution ok
ERROR: ERROR: OVPN: cannot ping https://downloads.nordcdn.com/configs/files, network or internet unavailable. Cannot download NORDVPN configuration files
Starting container with revision: f9cb4dea2da1a3aa63bd3945e0162c9b8a9789a4
TRANSMISSION_HOME is currently set to: /config/transmission-home
WARNING: Deprecated. Found old default transmission-home folder at /data/transmission-home, setting this as TRANSMISSION_HOME. This might break in future versions.
We will fallback to this directory as long as the folder exists. Please consider moving it to /config/transmission-home
Creating TUN device /dev/net/tun
Using OpenVPN provider: NORDVPN
Running with VPN_CONFIG_SOURCE auto
Provider NORDVPN has a bundled setup script. Defaulting to internal config
Executing setup script for NORDVPN
/etc/openvpn/nordvpn/..
INFO: OVPN: Checking curl installation
INFO: OVPN: DNS resolution ok

Environment

- OS: ubuntu 20.04
- Docker: Docker version 24.0.5, build 24.0.5-0ubuntu1~20.04.1

Anything else?

No response

@marcelrv marcelrv changed the title ERROR: ERROR: OVPN: cannot ping https://downloads.nordcdn.com/configs/files, network or internet unavailable. Cannot download NORDVPN configuration files cannot ping nordcdn, network or internet unavailable. Cannot download NORDVPN configuration files Sep 27, 2023
marcelrv added a commit to marcelrv/vpn-configs-contrib that referenced this issue Dec 13, 2023
Fixing haugene#240  by re-using the existing environmental variable in this script as well
pkishino pushed a commit that referenced this issue Feb 15, 2024
Fixing #240  by re-using the existing environmental variable in this script as well
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant