Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    TLS Error: TLS handshake failed,

    OpenVPN
    1
    1
    802
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bgsistemas
      last edited by

      Hi,

      What could it be razon to get this errors When the client try to connect to the OpenVPN server.

      TLS Error: cannot locate HMAC in incoming packet from [AF_INET]"IP publica Firewall del cliente":63800
      "IP publica Firewall del cliente":50393 SIGUSR1[soft,tls-error] received, client-instance restarting
      "IP publica Firewall del cliente":50393 TLS Error: TLS handshake failed
      "IP publica Firewall del cliente":50393 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)

      Sep 8 21:09:51 openvpn 17729 "IP publica Firewall del cliente":61611 Connection reset, restarting [-1]
      Sep 8 21:09:50 openvpn 17729 TCP connection established with [AF_INET]"IP publica Firewall del cliente":61611
      Sep 8 21:09:46 openvpn 45313 MANAGEMENT: Client disconnected
      Sep 8 21:09:46 openvpn 45313 MANAGEMENT: CMD 'quit'
      Sep 8 21:09:46 openvpn 45313 TLS Error: cannot locate HMAC in incoming packet from [AF_INET]"IP publica Firewall del cliente":63870
      Sep 8 21:09:46 openvpn 45313 MANAGEMENT: CMD 'status 2'
      Sep 8 21:09:46 openvpn 45313 MANAGEMENT: Client connected from /var/etc/openvpn/server2.sock
      Sep 8 21:09:45 openvpn 17729 "IP publica Firewall del cliente":61610 Connection reset, restarting [-1]
      Sep 8 21:09:44 openvpn 17729 TCP connection established with [AF_INET]"IP publica Firewall del cliente":61610
      Sep 8 21:09:39 openvpn 17729 "IP publica Firewall del cliente":61609 Connection reset, restarting [-1]
      Sep 8 21:09:38 openvpn 17729 TCP connection established with [AF_INET]"IP publica Firewall del cliente":61609
      Sep 8 21:09:33 openvpn 17729 "IP publica Firewall del cliente":61607 Connection reset, restarting [-1]
      Sep 8 21:09:32 openvpn 17729 TCP connection established with [AF_INET]"IP publica Firewall del cliente":61607
      Sep 8 21:09:30 openvpn 45313 TLS Error: cannot locate HMAC in incoming packet from [AF_INET]"IP publica Firewall del cliente":63870
      Sep 8 21:09:22 openvpn 45313 TLS Error: cannot locate HMAC in incoming packet from [AF_INET]"IP publica Firewall del cliente":63870
      Sep 8 21:09:18 openvpn 45313 TLS Error: cannot locate HMAC in incoming packet from [AF_INET]"IP publica Firewall del cliente":63870
      Sep 8 21:09:15 openvpn 45313 TLS Error: cannot locate HMAC in incoming packet from [AF_INET]"IP publica Firewall del cliente":63870
      Sep 8 21:08:44 openvpn 45313 MANAGEMENT: Client disconnected
      Sep 8 21:08:44 openvpn 45313 MANAGEMENT: CMD 'quit'
      Sep 8 21:08:44 openvpn 45313 MANAGEMENT: CMD 'status 2'
      Sep 8 21:08:43 openvpn 45313 MANAGEMENT: Client connected from /var/etc/openvpn/server2.sock
      Sep 8 21:08:38 openvpn 45313 TLS Error: cannot locate HMAC in incoming packet from [AF_INET]"IP publica Firewall del cliente":63800
      Sep 8 21:08:29 openvpn 45313 "IP publica Firewall del cliente":50393 SIGUSR1[soft,tls-error] received, client-instance restarting
      Sep 8 21:08:29 openvpn 45313 "IP publica Firewall del cliente":50393 TLS Error: TLS handshake failed
      Sep 8 21:08:29 openvpn 45313 "IP publica Firewall del cliente":50393 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
      Sep 8 21:08:22 openvpn 45313 TLS Error: cannot locate HMAC in incoming packet from [AF_INET]"IP publica Firewall del cliente":63800
      Sep 8 21:08:14 openvpn 45313 TLS Error: cannot locate HMAC in incoming packet from [AF_INET]"IP publica Firewall del cliente":63800
      Sep 8 21:08:10 openvpn 45313 TLS Error: cannot locate HMAC in incoming packet from [AF_INET]"IP publica Firewall del cliente":63800
      Sep 8 21:08:08 openvpn 45313 TLS Error: cannot locate HMAC in incoming packet from [AF_INET]"IP publica Firewall del cliente":63800

      pid=0 DATA len=0

      pid=0 DATA len=0

      Sep 8 21:07:41 openvpn 45313 MANAGEMENT: Client disconnected
      Sep 8 21:07:41 openvpn 45313 MANAGEMENT: CMD 'quit'
      Sep 8 21:07:41 openvpn 45313 MANAGEMENT: CMD 'status 2'
      Sep 8 21:07:41 openvpn 45313 MANAGEMENT: Client connected from /var/etc/openvpn/server2.sock
      pid=0 DATA len=0

      pid=0 DATA len=0

      Sep 8 21:07:31 openvpn 45313 TLS Error: cannot locate HMAC in incoming packet from [AF_INET]"IP publica Firewall del cliente":63734
      Sep 8 21:07:29 openvpn 45313 "IP publica Firewall del cliente":50393 UDPv4 WRITE [54] to [AF_INET]"IP publica Firewall del cliente":50393: P_CONTROL_HARD_RESET_SERVER_V2 kid=0 pid=[ #1 ] [ 0 ] pid=0 DATA len=0
      Sep 8 21:07:29 openvpn 45313 "IP publica Firewall del cliente":50393 TLS: Initial packet from [AF_INET]"IP publica Firewall del cliente":50393, sid=947ab209 09867562
      pid=0 DATA len=0

      Sep 8 21:07:29 openvpn 45313 "IP publica Firewall del cliente":50393 Expected Remote Options hash (VER=V4): '9e7066d2'
      Sep 8 21:07:29 openvpn 45313 "IP publica Firewall del cliente":50393 Local Options hash (VER=V4): '162b04de'
      Sep 8 21:07:29 openvpn 45313 "IP publica Firewall del cliente":50393 Expected Remote Options String: 'V4,dev-type tun,link-mtu 1558,tun-mtu 1500,proto UDPv4,comp-lzo,keydir 1,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-client'
      Sep 8 21:07:29 openvpn 45313 "IP publica Firewall del cliente":50393 Local Options String: 'V4,dev-type tun,link-mtu 1558,tun-mtu 1500,proto UDPv4,comp-lzo,keydir 0,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-server'
      Sep 8 21:07:29 openvpn 45313 "IP publica Firewall del cliente":50393 Data Channel MTU parms [ L:1558 D:1450 EF:58 EB:143 ET:0 EL:3 AF:3/1 ]
      Sep 8 21:07:29 openvpn 45313 "IP publica Firewall del cliente":50393 Control Channel MTU parms [ L:1558 D:1184 EF:66 EB:0 ET:0 EL:3 ]
      Sep 8 21:07:29 openvpn 45313 "IP publica Firewall del cliente":50393 LZO compression initialized
      Sep 8 21:07:29 openvpn 45313 "IP publica Firewall del cliente":50393 Re-using SSL/TLS context
      Sep 8 21:07:29 openvpn 45313 MULTI: multi_create_instance called
      Sep 8 21:07:26 openvpn 45313 "IP publica Firewall del cliente":52363 SIGUSR1[soft,tls-error] received, client-instance restarting
      Sep 8 21:07:26 openvpn 45313 "IP publica Firewall del cliente":52363 TLS Error: TLS handshake failed
      Sep 8 21:07:26 openvpn 45313 "IP publica Firewall del cliente":52363 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
      Sep 8 21:07:15 openvpn 45313 TLS Error: cannot locate HMAC in incoming packet from [AF_INET]"IP publica Firewall del cliente":63734
      Sep 8 21:07:07 openvpn 45313 TLS Error: cannot locate HMAC in incoming packet from [AF_INET]"IP publica Firewall del cliente":63734
      Sep 8 21:07:03 openvpn 45313 TLS Error: cannot locate HMAC in incoming packet from [AF_INET]"IP publica Firewall del cliente":63734
      Sep 8 21:07:01 openvpn 45313 TLS Error: cannot locate HMAC in incoming packet from [AF_INET]"IP publica Firewall del cliente":63734
      pid=0 DATA len=0

      pid=0 DATA len=0

      Sep 8 21:06:39 openvpn 45313 MANAGEMENT: Client disconnected
      Sep 8 21:06:39 openvpn 45313 MANAGEMENT: CMD 'quit'
      Sep 8 21:06:39 openvpn 45313 MANAGEMENT: CMD 'status 2'
      Sep 8 21:06:38 openvpn 45313 MANAGEMENT: Client connected from /var/etc/openvpn/server2.sock
      pid=0 DATA len=0

      pid=0 DATA len=0

      Sep 8 21:06:26 openvpn 45313 "IP publica Firewall del cliente":52363 UDPv4 WRITE [54] to [AF_INET]"IP publica Firewall del cliente":52363: P_CONTROL_HARD_RESET_SERVER_V2 kid=0 pid=[ #1 ] [ 0 ] pid=0 DATA len=0
      Sep 8 21:06:26 openvpn 45313 "IP publica Firewall del cliente":52363 TLS: Initial packet from [AF_INET]"IP publica Firewall del cliente":52363, sid=3861d0d1 e2d70e3e
      pid=0 DATA len=0

      Sep 8 21:06:26 openvpn 45313 "IP publica Firewall del cliente":52363 Expected Remote Options hash (VER=V4): '9e7066d2'
      Sep 8 21:06:26 openvpn 45313 "IP publica Firewall del cliente":52363 Local Options hash (VER=V4): '162b04de'
      Sep 8 21:06:26 openvpn 45313 "IP publica Firewall del cliente":52363 Expected Remote Options String: 'V4,dev-type tun,link-mtu 1558,tun-mtu 1500,proto UDPv4,comp-lzo,keydir 1,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-client'
      Sep 8 21:06:26 openvpn 45313 "IP publica Firewall del cliente":52363 Local Options String: 'V4,dev-type tun,link-mtu 1558,tun-mtu 1500,proto UDPv4,comp-lzo,keydir 0,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-server'
      Sep 8 21:06:26 openvpn 45313 "IP publica Firewall del cliente":52363 Data Channel MTU parms [ L:1558 D:1450 EF:58 EB:143 ET:0 EL:3 AF:3/1 ]
      Manage OpenVPN Log

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.