jodel
I had an openvpn client connecting perfectly to my server until the early hours of the morning (when no one was using either server or client), the connection dropped. It has since failed to re connect.
At the time of the disconnect the server log recorded:
Thu Mar 7 02:33:28 2013 ConnectionName/109.79.148.252:49658 TLS: soft reset sec=0 bytes=70902/0 pkts=963/0
Thu Mar 7 02:34:28 2013 ConnectionName/109.79.148.252:49658 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Thu Mar 7 02:34:28 2013 ConnectionName/109.79.148.252:49658 TLS Error: TLS handshake failed
Thu Mar 7 02:34:28 2013 ConnectionName/109.79.148.252:49658 TLS: move_session: dest=TM_LAME_DUCK src=TM_ACTIVE reinit_src=1
Thu Mar 7 02:35:44 2013 ConnectionName/109.79.148.252:49658 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Thu Mar 7 02:35:44 2013 ConnectionName/109.79.148.252:49658 TLS Error: TLS handshake failed
Thu Mar 7 02:36:59 2013 ConnectionName/109.79.148.252:49658 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Thu Mar 7 02:36:59 2013 ConnectionName/109.79.148.252:49658 TLS Error: TLS handshake failed
Thu Mar 7 02:37:33 2013 ConnectionName/109.79.148.252:49658 [UNDEF] Inactivity timeout (--ping-restart), restarting
Thu Mar 7 02:37:33 2013 ConnectionName/109.79.148.252:49658 SIGUSR1[soft,ping-restart] received, client-instance restarting
When I restart OpenVPN on the client the log is:-
Mar 7 20:29:25 ovpn-client[3259]: Restart pause, 2 second(s)
Mar 7 20:29:27 ovpn-client[3259]: WARNING: Make sure you understand
the semantics of --tls-remote before using it (see the man page).
Mar 7 20:29:27 ovpn-client[3259]: NOTE: OpenVPN 2.1 requires
'--script-security 2' or higher to call user-defined scripts or
executables
Mar 7 20:29:27 ovpn-client[3259]: Re-using SSL/TLS context
Mar 7 20:29:27 ovpn-client[3259]: LZO compression initialized
Mar 7 20:29:27 ovpn-client[3259]: Control Channel MTU parms [ L:1574
D:138 EF:38 EB:0 ET:0 EL:0 ]
Mar 7 20:29:27 ovpn-client[3259]: Socket Buffers: R=[163840->131072]
S=[163840->131072]
Mar 7 20:29:27 ovpn-client[3259]: Data Channel MTU parms [ L:1574
D:1450 EF:42 EB:135 ET:32 EL:0 AF:3/1 ]
Mar 7 20:29:27 ovpn-client[3259]: Local Options hash (VER=V4): 'd79ca330'
Mar 7 20:29:27 ovpn-client[3259]: Expected Remote Options hash
(VER=V4): 'f7df56b8'
Mar 7 20:29:27 ovpn-client[3259]: UDPv4 link local: [undef]
Mar 7 20:29:27 ovpn-client[3259]: UDPv4 link remote:
[AF_INET]79.97.209.28:1194
Mar 7 20:30:27 ovpn-client[3259]: TLS Error: TLS key negotiation
failed to occur within 60 seconds (check your network connectivity)
Mar 7 20:30:27 ovpn-client[3259]: TLS Error: TLS handshake failed
Mar 7 20:30:27 ovpn-client[3259]: TCP/UDP: Closing socket
Mar 7 20:30:27 ovpn-client[3259]: SIGUSR1[soft,tls-error] received,
process restarting
Mar 7 20:30:27 ovpn-client[3259]: Restart pause, 2 second(s)
Mar 7 20:30:29 ovpn-client[3259]: WARNING: Make sure you understand
the semantics of --tls-remote before using it (see the man page).
Mar 7 20:30:29 ovpn-client[3259]: NOTE: OpenVPN 2.1 requires
'--script-security 2' or higher to call user-defined scripts or
executables
Mar 7 20:30:29 ovpn-client[3259]: Re-using SSL/TLS context
Mar 7 20:30:29 ovpn-client[3259]: LZO compression initialized
Mar 7 20:30:29 ovpn-client[3259]: Control Channel MTU parms [ L:1574
D:138 EF:38 EB:0 ET:0 EL:0 ]
Mar 7 20:30:29 ovpn-client[3259]: Socket Buffers: R=[163840->131072]
S=[163840->131072]
Mar 7 20:30:29 ovpn-client[3259]: Data Channel MTU parms [ L:1574
D:1450 EF:42 EB:135 ET:32 EL:0 AF:3/1 ]
Mar 7 20:30:29 ovpn-client[3259]: Local Options hash (VER=V4): 'd79ca330'
Mar 7 20:30:29 ovpn-client[3259]: Expected Remote Options hash
(VER=V4): 'f7df56b8'
Mar 7 20:30:29 ovpn-client[3259]: UDPv4 link local: [undef]
Mar 7 20:30:29 ovpn-client[3259]: UDPv4 link remote:
[AF_INET]79.97.209.28:1194
I cannot find what has changed to cause the connection to fail.
Any suggested solutions would be much appreciated.
Jodel