#DuckDNS Addon Troubleshooting on HAOS on intel NUC [SOLVED]

1 messages · Page 1 of 1 (latest)

dull saddle
#

Hi, so I did a completely fresh install of HAOS last night and installed the duckdns addon (including setting up the duckdns domain and generating certificate). Unfortunately, every time I try to connect to my server through SSL, I get SSL_ERROR_RX_RECORD_TOO_LONG (firefox) / ERR_SSL_PROTOCOL_ERROR (chrome). It works fine through http. I have forwarded 443 to 8123 and 8123 to 8123. There is no indication anywhere that anything is working incorrectly. My router supports hairpinning so I do not understand why this is not working. SSL in general (not home assistant related) works fine. The SSL folder has both the privkey and fullchain files. I can ping myself just fine through the duckdns domain (it resolves to my ip). I spent about 6hours perusing google to no avail. Hopefully someone can help?

DuckDNS log with my domain and IP edited out and replaced with "mydomain" and "myip" for privacy reasons.

s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
# INFO: Using main config file /data/workdir/config
+ Account already registered!
[08:50:23] INFO: OK
myip
NOCHANGE
[08:50:23] INFO: Renew certificate for domains: mydomain.duckdns.org and aliases: 
# INFO: Using main config file /data/workdir/config
Processing mydomain.duckdns.org
 + Checking domain name(s) of existing cert... unchanged.
 + Checking expire date of existing cert...
 + Valid till Sep 30 05:52:26 2023 GMT (Longer than 30 days). Skipping renew!
#

My configuration.yml

# Loads default set of integrations. Do not remove.
default_config:

# Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes

# Text-to-speech
tts:
  - platform: google_translate

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

http:
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem
mellow whale
#

You haven't enabled SSL in HA

#

# marks a comment

dull saddle
#

ah, I copied that ironically from you from another thread...lemme try that

#

didnt even see that, let's see if it works

#

nope, even after reloading still same issue.

#

editing the post to reflect the changes

undone belfryBOT
mellow whale
#

Run that command

#

And... reloading won't cause SSL to be enabled, you have to restart

dull saddle
#

It said "Processing...Done.

Command completed successfully."

mellow whale
#

Then your YAML is good

dull saddle
#

rebooted the entire system and still no avail

mellow whale
#

Try in incognito mode

dull saddle
#

though it seems that I cannot connect via direct IP anymore, which is weird. the duckdns route works, though

dull saddle
mellow whale
#

You have to use https:// all the time now

dull saddle
#

ah, yeah it works in incognito mode. Very strange...thanks for your support.

mellow whale
#

Then it's a browser cache issue

dull saddle
#

yeah, gonna fix that.

#

thanks again