willswire / unifi-ddns

Cloudflare DDNS (Dynamic DNS) support for UniFi OS
837 stars 2.18k forks source link

OpenSSL handshake error 40 when updating.. #75

Open bikrdotnet opened 4 months ago

bikrdotnet commented 4 months ago

Configured and setup worker / when updating from Unifi I get the following:

Host and IP obscured.


root@WCDream-Wall:~# inadyn -n -1 --force -f /run/ddns-eth18-inadyn.conf 
inadyn[489163]: In-a-dyn version 2.9.1 -- Dynamic DNS update client.
inadyn[489163]: Update forced for alias dynamic.fakedomain.net, new IP# 4#.19#.13#.2##
inadyn[489163]: OpenSSL error: 548520930960:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:../ssl/record/rec_layer_s3.c:1562:SSL alert number 40
root@WCDream-Wall:~# 
JamesW-AU commented 3 months ago

Seeing the same here, just provisioned a brand new UCG-Ultra:

root@Cloud-Gateway-Ultra:~# inadyn -n -1 --force -f /run/ddns-eth4-inadyn.conf
inadyn[64329]: In-a-dyn version 2.12.0 -- Dynamic DNS update client.
inadyn[64329]: Update forced for alias test.domain.name, new IP# 1.2.3.4
inadyn[64329]: OpenSSL error: 548321070736:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:../ssl/record/rec_layer_s3.c:1562:SSL alert number 40
root@Cloud-Gateway-Ultra:~# 

For now I've just commented out the default config and added this, since Cloudflare is a natively supported in inadyn. It seems to work when running manually but I assume it will be nuked by the GUI at some stage. My IPv4 address doesn't change often either!