What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

openvpn connection timing out - > reconnecting; ping-restart ...384.4_2

Vince

Occasional Visitor
Using RT-AC86U/Merlin 384.4_2 with OpenVPN client on NordVPN
Running a full week without a glitch very well and very fast.
During night time (no users active) I got this "connection timing out" router/openvpn did not manage to re-connect after this which only could be done (hours later) with a router's reboot.

Syslog entries:
Apr 29 01:54:16 ovpn-client1[1535]: Control Channel: TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
-----------------------------------------------------------------------------------------------------------------------------
Apr 29 02:20:14 ovpn-client1[1535]: [xxxxx.nordvpn.com] Inactivity timeout (--ping-restart), restarting
Apr 29 02:20:14 ovpn-client1[1535]: SIGUSR1[soft,ping-restart] received, process restarting
Apr 29 02:20:14 ovpn-client1[1535]: Restart pause, 10 second(s)
Apr 29 02:20:24 ovpn-client1[1535]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Apr 29 02:20:24 ovpn-client1[1535]: TCP/UDP: Preserving recently used remote address: [AF_INET]xxx.x.xxx.xxx:1194
Apr 29 02:20:24 ovpn-client1[1535]: Socket Buffers: R=[524288->1048576] S=[524288->1048576]
Apr 29 02:20:24 ovpn-client1[1535]: UDP link local: (not bound)
Apr 29 02:20:24 ovpn-client1[1535]: UDP link remote: [AF_INET]xxx.x.xxx.xxx:1194
Apr 29 02:21:24 ovpn-client1[1535]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Apr 29 02:21:24 ovpn-client1[1535]: TLS Error: TLS handshake failed
Apr 29 02:21:24 ovpn-client1[1535]: SIGUSR1[soft,tls-error] received, process restarting
From here, log is repeating itself without a end for many hours with same kind of entries.

After the normal “Control Channel” (first line) entry in syslog it took some 25 minutes before getting the next entry “Inactivity timeout”.
After that, connection was not restored and only a router reboot by hand, restored things.

Client settings:
View attachment 12864 View attachment 12865

Do the log entries tell something what is going on and where or is it just a bit or byte falling somewhere and router/openvpn failing to pickup/restore after that? Is there a way to restart connection automaticaly?
NordVPN advices to use TCP protocol instead of UDP but before doing that,
like to check if this problem is known or more common.
 
Last edited:

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top