Hi all. I am new to HA, I installed it in a Raspberry Pi 3+ Model B last week.
Since then, I have been trying to obtain remote access, but it is not working. I tried different configurations and checked over different posts.
Particularly now, I have followed the DuckDNS tutorials, and my current configuration includes the following four points:
The duckdns add-on, version 1.15.0, configured as follows:
[See image A below]
The logs of the duck dns add-on says OK:
[See image B below]
The configuration.yaml file:
# 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
#thingspeak:
# api_key: NPDI83XDOH7I9VRL
# id: 1955885
# whitelist: sensor.yr_temperature
sonoff:
username: !secret sonoff_username
password: !secret sonoff_password
# http:
# use_x_forwarded_for: true
# trusted_proxies:
# - 172.30.33.0/24
# alexa:
# smart_home:
http:
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
The ports forwarded in my router:
[See image C below]
My public IP since last week has not change. I can access my HA from https://192:168.1.ip_of_the_raspberry:8123
but when I try https://my_public_ip:8123/
or
https://my_duck_dns_domain.duckdns.org:8123
the page does not load. Using google chrome, it says ERR_CONNECTION_REFUSED or ERR_CONNECTION_RESET.
I checked that the ports are opened with https://www.yougetsignal.com/tools/open-ports/
Any ideas? Thank you for your help.
Best regards
Are there still issues with duckdns? I can get to my instance when I set external_url and ssl files to default (then with simple http://<ip>:8123), but it wouldn’t work through duckdns.
I normally have it set to duckdns domain, as this was the only way I could get my setup to work. I’m running docker on debian host, so there were few additional issues.
I’m pretty sure it doesn’t matter in your case, as I didn’t need it when I used HA OS
A quick update on my side (may not be necessary about the issue)
The problem seems to only be with duckdns. In a happy little accident (received a notification from HA, while I thought it was unreachable) I discovered, that my instance works without any issues (well, apart from being inaccessible from outside world).
There’s no need for removing external_url or any of the ssl variables (if you’re ok with browser security warning).
In my case while I can’t access the https://<subdomain>.duckdns.org:<port>, https://<local_ip>:<port> is still accessible.
For now I’m able to access HA from a local network without any issues and I hope that until tomorrow, duckdns will be fixed.
BTW, now it just works and I changed nothing! But it also worked last Tuesday.
I do not know why this happens, but I am starting to believe the problem is with DUCKDNS!
Hi, is anyone else having issues with DuckDNS all of a sudden not working anymore on home assistant for the last week or 2? I did a fresh install opened all the ports etc and no luck. I’m also not sure if it is maybe my TP-Link Deco M4 routers and maybe a problem with the port forwarding. It was all working before and just stopped all of a sudden. I’m not sure if it was after an HA version update or after my routers app updated.
I have HA setup on an IP address outside of my DHCP scope and when I delete the rules and try re-create them it only allows me to create the rules for devices that are inside the DHCP scope on the routers. There also isn’t a firewall on the deco app so it can’t be that.
any ideas?