TLS key negotiation fail on reconnect
Posted: Sun Aug 01, 2021 11:29 am
Hello
If for whatever reason such as pulling the internet cable, my internet gets disconnected for a couple minutes, when the internet is back OpenVPN fails to reconnect and it throws TLS key negotiation failed error, this happens no matter how much i wait, i have to restart the pc for it to connect again.
Here is my config file
Here I write part of the error :
If for whatever reason such as pulling the internet cable, my internet gets disconnected for a couple minutes, when the internet is back OpenVPN fails to reconnect and it throws TLS key negotiation failed error, this happens no matter how much i wait, i have to restart the pc for it to connect again.
Here is my config file
Code: Select all
client
dev tun
proto udp
remote xxx.xxx.xxx.xxx 1194
resolv-retry infinite
remote-random
nobind
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key
persist-tun
ping 15
ping-restart 0
ping-timer-rem
reneg-sec 0
comp-lzo no
log-append /etc/openvpn/openvpn.log
remote-cert-tls server
auth-user-pass pass.txt
verb 3
pull
fast-io
cipher AES-256-CBC
auth SHA512
Code: Select all
TCP/UDP: preserving recently used remote address: [AF_INETJxxx.xxx.xxx:1194]
socket buffers: R=[212992->425904] s=[212992->425904]
UDP link local: (not bound)
UDP link remote: [AFINETJxxx.xxx.xxx.xxx:1194]
TLS Error: TLS key negotitation failed to occur within 60 seconds (check network connectivity)
TSL Error: TLS handshake failed
SIGUSR1[soft,tls-error] received, process restarting
Restart puase, 5 second