Try:
http:
api_password: !secret api_password
# cors_allowed_origins:
# - http://192.168.1.10:7080
# ssl_certificate: /ssl/fullchain.pem
# ssl_key: /ssl/privkey.pem
base_url: https://xxx.duckdns.org
Try:
http:
api_password: !secret api_password
# cors_allowed_origins:
# - http://192.168.1.10:7080
# ssl_certificate: /ssl/fullchain.pem
# ssl_key: /ssl/privkey.pem
base_url: https://xxx.duckdns.org
No, like this now
http://192.168.1.10:8123 works
https://xxx.duckdns.org ERR_EMPTY_RESPONSE
Will try
http:
api_password: !secret api_password
# cors_allowed_origins:
# - http://192.168.1.10:7080
# ssl_certificate: /ssl/fullchain.pem
# ssl_key: /ssl/privkey.pem
base_url: https://xxx.duckdns.org:8123
You donāt need the port specified. Assume your router has 443 forwarded to 8123?
Also noticed, while not related to this, that the api_password should not be in http anymore but under auth providersā¦ depending on HA version of courseā¦
yes port is forwarded, I did 4 combinations and either works https or http, not both ā¦ strange, before was working ā¦
Do you have the duckdns addon working, or you disabled it?
I donāt use a duckdns addon. I just have a script that updates my IP address. It only updates the IPv6 address and I donāt have any IPv4 address for the NUC with Home Assistant.
And how do you renew your certificate lersencrypt?
Caddy generates and renews certificates from LetsEncrypt
Oh good, can you please share the script.
I am trying to disable most of addons, have now huge problems with my installation that gets stuck
I can but not till tomorrow when my computer is onā¦ (too hard on iPad)
Sure thanks anyway
#!/bin/bash
FOURINT="$(ip addr show dev eno1 | sed -e's/^.*inet \([^ ]*\)\/.*$/\1/;t;d')"
FOUR="$(wget -4 -q -O - http://icanhazip.com/ | tail)"
SIX="$(ip addr show dev eno1 | sed -e's/^.*inet6 \([^ ]*\)\/.*$/\1/;t;d' | grep -v ^f)"
TOKEN="YOUR-DUCKDNS-TOKEN-HERE"
echo "$FOURINT"
echo "$FOUR"
echo "$SIX"
echo "$TOKEN"
echo
IPV6="https://www.duckdns.org/update?domains=your-domain-here&token=$TOKEN&ip=$FOUR&ipv6=$SIX&verbose=true"
echo "$IPV6"
echo
echo url="$IPV6"| curl -k -o /home/david/duck-ipv6.log -K -
cat /home/david/duck-ipv6.log
echo
Note: the domain is the bit before duckdns.org - you donāt need the duckdns part. The echo is just so you can see what is being picked up.
It also writes a log file to my home directoryā¦