Help! Hassbian with DuckDNS failed

help pls…
i’ve read everything (i think) regarding this, and so far i have not been able to access my duckdns URL.
Currently my setup is:

RB PI 3B+

  • Running HASSBIAN (Updated to the latest version) installed following homeassistant.io guide for hassbian

  • Setup static IP for my pi

  • Port forward 443>8123 on both protocol

  • Reboot my router

  • Duck DNS set up following this:

github.com/home-assistant/hassbian-scripts/blob/dev/docs/duckdns.md

here is my yaml file config:

Now i can access my HA from

https://hassbian.local:8123

but

https://mydomain.duckdns.org

doesnt work…

any idea?
thanks in advance

Have you put the following in your configuration.yaml file:

http:
  base_url: https://my-domain.duckdns.org:8123
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem

Does the DuckDNS.org site list your correct public IP address?

i did have ssl_cert in my config yaml file, but the one u share is very short. the one i got is much longer. can u check my attached image?

and yes Duck DNS IP is correct. I can ping it and the result is correct.

You’ve said your base url is https://mydomain.duckdns.org:8123 so that is what you should be trying to access it from and you need to forward 8123 to 8123.

If you set your base url as https://mydomain.duckdns.org without the port number and forward 443 to 8123 you can access it from https://mydomain.duckdns.org.

Hi there, sorry for the late reply, i have been busy with moving.
Anyway, i tried that, it still says secure connections failed… any idea?
thanks!