I tried removing the line and ‘NoDelay = false’, both followed by systemd daemon-reload and a reboot, to no avail; same error message: ‘transport is closing’ preceded by the ‘connecting to…’
I forgot to mention this:
Occasionally, upon using 'nordvpn connect, I receive this message :
'Whoops! Cannot reach System Daemon. ’
nordvpnd[255]: panic: runtime error: index out of range [1] with length 1
systemd[1]: nordvpnd.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
systemd[1]: nordvpnd.service: Failed with result ‘exit-code’.
networkd-dispatcher[253]: WARNING:Unknown index 3 seen, reloading interface list
networkd-dispatcher[253]: ERROR:Unknown interface index 3 seen even after reload
NordVPN has a manager written in Go and manages OpenVPN. It gives the following error when running in a LXD container,
Jun 16 17:31:37 nordvpn nordvpnd[1250]: 2020/06/16 17:31:37 [INFO] Tue Jun 16 17:31:37 2020 MANAGEMENT: Connected to management server at /var/run/nordvpn-openvpn.sock
Jun 16 17:31:37 nordvpn nordvpnd[1250]: panic: runtime error: index out of range [1] with length 1
Jun 16 17:31:37 nordvpn nordvpnd[1250]: goroutine 258 [running]:
Jun 16 17:31:37 nordvpn nordvpnd[1250]: nordvpn/daemon.ruleParsing(...)
Jun 16 17:31:37 nordvpn nordvpnd[1250]: #011/builds/nordvpn/apps-source/linux-app/src/daemon/vpn_ipv6.go:117
Jun 16 17:31:37 nordvpn nordvpnd[1250]: nordvpn/daemon.(*Ipv6).Disable(0xc0047c2e60, 0x0, 0x0)
Jun 16 17:31:37 nordvpn nordvpnd[1250]: #011/builds/nordvpn/apps-source/linux-app/src/daemon/vpn_ipv6.go:43 +0x6c7
Jun 16 17:31:37 nordvpn nordvpnd[1250]: nordvpn/daemon.(*OpenVPN).Start(0xc0007df860, 0x2b89520, 0xc000028960, 0x18, 0xc000028980, 0x18, 0x0, 0x0, 0x0, 0x0, ...)
Jun 16 17:31:37 nordvpn nordvpnd[1250]: #011/builds/nordvpn/apps-source/linux-app/src/daemon/vpn_openvpn.go:159 +0xd11
Jun 16 17:31:37 nordvpn nordvpnd[1250]: created by nordvpn/daemon.Connect
Jun 16 17:31:37 nordvpn nordvpnd[1250]: #011/builds/nordvpn/apps-source/linux-app/src/daemon/rpc.go:288 +0x882
Jun 16 17:31:37 nordvpn systemd[1]: nordvpnd.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Jun 16 17:31:37 nordvpn systemd[1]: nordvpnd.service: Failed with result 'exit-code'.
Jun 16 17:31:42 nordvpn systemd[1]: nordvpnd.service: Service hold-off time over, scheduling restart.
This looks like a bug in the NordVPN client (incidentally, it is written in Go).
What you can do, is report this issue to them, and perhaps point them to this discussion.
They appear they are willing to fix things.
As a workaround you can use the OpenVPN client in Ubuntu to make a connection to one of the NordVPN servers. I have tested this and it works fine. Just make sure you avoid the DNS leaks.
Did you ever figure this out? I just hit the exact same issue (same “runtime error: index out of range [1] with length 1” error), and NordVPN’s support have not been very useful. I might just use the OpenVPN client directly. I was hoping to take advantage of their “NordLynx” WireGuard-based protocol, however they don’t have vanilla WireGuard configs available.
Yeah I just got a similar response: “Unfortunately, we do not officially have any tutorials or support for such a setup. Because of this reason, we are not able to help you with it”, which is really frustrating as it’s obviously some sort of bug in their code