Skip to content

TLS Error: TLS handshake failed #23

@tiepnv-viosoft

Description

@tiepnv-viosoft

Hi AnhTVc,

Sorry for bothering you,

I have finished building the openvpn-skrver (your full source code) with Xcode 9.4.1 for iOS10.3. However, when I tested on my iPhone (iPhone 6s), it failed with the following error:

Fri Jul 20 09:24:19 2018 OpenVPN 2.3_git arm-apple-darwin [SSL (OpenSSL)] [MH] [IPv6] built on Jun 16 2017
Fri Jul 20 09:24:19 2018 Socket Buffers: R=[196724->65536] S=[9216->65536]
Fri Jul 20 09:24:19 2018 NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay
Fri Jul 20 09:24:19 2018 UDPv4 link local: [undef]
Fri Jul 20 09:24:19 2018 UDPv4 link remote: [AF_INET]192.168.0.118:1194
Fri Jul 20 09:25:19 2018 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Fri Jul 20 09:25:19 2018 TLS Error: TLS handshake failed
Fri Jul 20 09:25:19 2018 SIGUSR1[soft,tls-error] received, process restarting
Fri Jul 20 09:25:19 2018 Restart pause, 2 second(s)
.............

About vpn server (192.168.0.118), I configured to make it support UDP via port 1194. Both vpnserver and the iPhone can ping together successfully.
Could you teach me how to test it?

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions