Hello folks, I have a problem with accessing hassio instance (running on pi3) after configuring duckdns/letsencrypt. Looking for some help/guidance.
I did a vanilla installation of hassio (latest version available for download). I got the instance up and running, then installed the SSH add-on, no problem. Then I installed the duckdns addon, configured it, started the addon, did the port forwarding (443 -> 8123) in the router and restarted hass. I can’t access the instance anymore, not even by the local address. I have given this a go multiple times and will appreciate any help. My setup
duckdns config
{
"lets_encrypt": {
"accept_terms": true,
"certfile": "fullchain.pem",
"keyfile": "privkey.pem"
},
"token": "my-token",
"domains": ["my-domain.duckdns.org"],
"seconds": 300
}
I have verified that the cert files exist at the location /ss/fullchain.pem
and /ssl/privkey.pem
.
My configuration.yaml
file is as following
default_config:
http:
base_url: my-domain.duckdns.org
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
# Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
Please note that I tried changing the base_url
to https://my-domain.duckdns.org
, but, even that doesn’t work.
Some other things about the setup
- 443 on the router is forwarded to 8123 on pi
- pi has been configured to have a static ip
When I try to access the instance from the browser like https://my-domain.duckdns.org
it says “the site can not be reached”. I guess I am missing something very very basic in the setup. Any help will be appreciated.
Thanks!