[Help] Can't connect to home assistant, few other issues

Hello all,

I’ve had my hassio running on my rpi4 for a few years now. Everything has worked great, until a month or two ago (had a hiatus from it). I’ve had duckdns and letsencrypt working too. I now have these symptoms:

Symptoms

  • Can no longer access via my duckdns url. I get the “Unable to connect to Home Assistant.” message.
  • Sometimes it takes a really long time to connect via my internal URL. Especially after rebooting.
  • Cannot connect with the HA app (with either internal IP or duckdns url)
  • I can SSH into HA. When I run “ha host reboot” I get an error message “Client.Timeout exceeded while awaiting headers.”

NGINX, DuckDNS and LetsEncrypt are installed.

DuckDNS Configuration
just a minute

http configuration

http:
  base_url: myurl.duckdns.org
  use_x_forwarded_for: true
  trusted_proxies:
    - 172.30.33.0/24
    - 127.0.0.1
    - ::1
    - 172.16.0.0/12
    - 192.168.0.0/16
  ip_ban_enabled: true
  login_attempts_threshold: 5

homeassistant config

homeassistant:
  internal_url: http://internalIP:8123
  external_url: https://myurl.duckdns.org:8123

Port forwarding

  • 443 external to my HA internal IP address:443 internal
  • 8124 external to my HA internal IP address:443 internal
  • 8123 external to my HA internal IP address:8123 internal
  • 7878 external to my HA internal IP address:7878 internal (nodered)
  • 9000 external to my HA internal IP address:9000 internal (portainer)

I’m now able to connect via duckdns url but not internal IP. What’s interesting is if I try to open ha on a new tab, that doesn’t work, but the original tab still fully functional. Additionally, HA is still “starting” hours later.

This may be my issue here.

22-10-21 14:52:35 ERROR (MainThread) [supervisor.backups.backup] Can't read backup tarfile /data/backup/ad0058c0.tar: unexpected end of data
22-10-21 14:52:36 ERROR (MainThread) [supervisor.backups.backup] Can't read backup tarfile /data/backup/ad0058c0.tar: unexpected end of data
22-10-21 14:54:41 ERROR (MainThread) [supervisor.utils.dbus] D-Bus method org.freedesktop.DBus.Properties.call_get_all not exists!
22-10-21 14:54:41 ERROR (MainThread) [supervisor.utils.dbus] D-Bus method org.freedesktop.DBus.Properties.call_get_all not exists!
22-10-21 14:54:41 ERROR (MainThread) [supervisor.utils.dbus] D-Bus method org.freedesktop.DBus.Properties.call_get_all not exists!
22-10-21 14:54:50 ERROR (MainThread) [supervisor.services.modules.mqtt] There is already a MQTT service in use from core_mosquitto
22-10-21 15:09:05 ERROR (MainThread) [supervisor.utils.dbus] D-Bus method org.freedesktop.DBus.Properties.call_get_all not exists!
22-10-21 15:09:05 ERROR (MainThread) [supervisor.utils.dbus] D-Bus method org.freedesktop.DBus.Properties.call_get_all not exists!
22-10-21 15:09:05 ERROR (MainThread) [supervisor.utils.dbus] D-Bus method org.freedesktop.DBus.Properties.call_get_all not exists!