Discussion:
[Openvpn-users] TLS Error and Authenticate/Decrypt packet error: bad packet ID
Lars Müller
2017-06-09 09:30:01 UTC
Permalink
Hello,


i have problems with my Openvpn Server. I can connect. I see following
in my Server log:

/var/log/openvpn.log

Fri Jun 9 11:14:47 2017 80.187.101.58:14768 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Fri Jun 9 11:14:47 2017 80.187.101.58:14768 TLS Error: TLS handshake failed
Fri Jun 9 11:14:47 2017 80.187.101.58:14768 SIGUSR1[soft,tls-error] received, client-instance restarting

and on the client i get this log:


2017-06-09 11:06:46 ----- OpenVPN Start ----- OpenVPN core 3.1.2 ios
arm64 64-bit built on Dec 5 2016 12:50:25 2017-06-09 11:06:46
Frame=512/2048/512 mssfix-ctrl=1250 2017-06-09 11:06:46 UNUSED OPTIONS 4
[resolv-retry] [infinite] 5 [nobind] 6 [user] [nobody] 7 [group]
[nogroup] 8 [persist-key] 9 [persist-tun] 14 [verb] [3] 16 [up]
[/etc/openvpn/update-resolv-conf] 17 [down]
[/etc/openvpn/update-resolv-conf]

2017-06-09 11:06:46 EVENT: RESOLVE 2017-06-09 11:06:46 Contacting
81.169.168.7:1194 via UDP 2017-06-09 11:06:46 EVENT: WAIT 2017-06-09
11:06:46 SetTunnelSocket returned 1 2017-06-09 11:06:46 Connecting to
[xx.xxx.xxx.x]:1194 (xx.xxx.xxx.x ) via UDPv4 2017-06-09 11:06:47 NET
Internet:ReachableViaWiFi/-R t------ 2017-06-09 11:06:56 Server poll
timeout, trying next remote entry... 2017-06-09 11:06:56 EVENT:
RECONNECTING 2017-06-09 11:06:56 EVENT: RESOLVE 2017-06-09 11:06:56
Contacting xx.xxx.xxx.x:1194 via UDP 2017-06-09 11:06:56 EVENT: WAIT
2017-06-09 11:06:56 SetTunnelSocket returned 1 2017-06-09 11:06:56
Connecting to [xx.xxx.xxx.x]:1194 (xx.xxx.xxx.x) via UDPv4 2017-06-09
11:07:06 Server poll timeout, trying next remote entry... 2017-06-09
11:07:06 EVENT: RECONNECTING 2017-06-09 11:07:06 EVENT: RESOLVE
2017-06-09 11:07:06 Contacting xx.xxx.xxx.x:1194 via UDP 2017-06-09
11:07:06 EVENT: WAIT 2017-06-09 11:07:06 SetTunnelSocket returned 1
2017-06-09 11:07:06 Connecting to [xx.xxx.xxx.x]:1194 (xx.xxx.xxx.x) via
UDPv4 2017-06-09 11:07:16 Server poll timeout, trying next remote
entry... 2017-06-09 11:07:16 EVENT: RECONNECTING 2017-06-09 11:07:16
EVENT: RESOLVE 2017-06-09 11:07:16 Contacting xx.xxx.xxx.x:1194 via UDP
2017-06-09 11:07:16 EVENT: WAIT 2017-06-09 11:07:16 SetTunnelSocket
returned 1 2017-06-09 11:07:16 Connecting to [xx.xxx.xxx.x]:1194
(xx.xxx.xxx.x) via UDPv4 2017-06-09 11:07:26 Server poll timeout, trying
next remote entry... 2017-06-09 11:07:26 EVENT: RECONNECTING 2017-06-09
11:07:26 EVENT: RESOLVE 2017-06-09 11:07:26 Contacting xx.xxx.xxx.x:1194
via UDP 2017-06-09 11:07:26 EVENT: WAIT 2017-06-09 11:07:26
SetTunnelSocket returned 1 2017-06-09 11:07:26 Connecting to
[xx.xxx.xxx.x]:1194 (xx.xxx.xxx.x) via UDPv4 2017-06-09 11:07:36 Server
poll timeout, trying next remote entry... 2017-06-09 11:07:36 EVENT:
RECONNECTING 2017-06-09 11:07:36 EVENT: RESOLVE 2017-06-09 11:07:36
Contacting xx.xxx.xxx.x:1194 via UDP 2017-06-09 11:07:36 EVENT: WAIT
2017-06-09 11:07:36 SetTunnelSocket returned 1 2017-06-09 11:07:36
Connecting to [xx.xxx.xxx.x]:1194 (xx.xxx.xxx.x) via UDPv4 2017-06-09
11:07:46 EVENT: CONNECTION_TIMEOUT [ERR] 2017-06-09 11:07:46 EVENT:
DISCONNECTED 2017-06-09 11:07:46 Raw stats on disconnect: BYTES_OUT :
3240 PACKETS_OUT : 60 CONNECTION_TIMEOUT : 1 N_RECONNECT : 5 2017-06-09
11:07:46 Performance stats on disconnect: CPU usage (microseconds):
54336 Network bytes per CPU second: 59628 Tunnel bytes per CPU second: 0
2017-06-09 11:07:46 EVENT: DISCONNECT_PENDING 2017-06-09 11:07:46 -----
OpenVPN Stop ----- i don know what can i do?

Loading...