I don’t really know what exactly I need to look for in my router logs. Because I can access that host. What should they show? Connections are there, they work - just the Home Assistant web interface does not.
While port 8123 keeps timing out on me (or trying to reload), I can visit port 8443 (Unifi Controller) at all times without issues. I can also keep a connection to port 22 (ssh) while all this happens.
To be clear: while I cannot do anything on port 8123, at the very same time I am able to view and edit UniFi settings. Same host, different port.
Perhaps I’m wrong, but I just assumed that, if I can connect to -and work with- the unifi controller run via Home Assistant, as well as ssh into the machine running it (via Home Assistant ssh Addon), I should also be able to connect to Home Assistant itself — unless there is some kind of issue with the system. If there wouldn’t be a connection, shouldn’t I be unable to access any port on that host?
I’ll post the logs below while I can access them. Usually, I don’t even have time to find these in the web ui because connection dies too quickly. It works at the moment. But perhaps that’s a bad thing, as the errors causing this might not be there. But here they are
HOST
Mar 25 01:30:33 homeassistant kernel: hassio: port 8(veth30de663) entered blocking state
Mar 25 01:30:33 homeassistant kernel: hassio: port 8(veth30de663) entered forwarding state
Mar 25 01:38:08 homeassistant systemd-journald[131]: Data hash table of /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal has a fill level at 75.0 (85335 of 113777 items, 25165824 file size, 294 bytes per hash table item), suggesting rotation.
Mar 25 01:38:08 homeassistant systemd-journald[131]: /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal: Journal header limits reached or header out-of-date, rotating.
Mar 25 01:54:30 homeassistant NetworkManager[446]: <info> [1711331670.5606] dhcp4 (eno1): state changed new lease, address=10.0.0.25
Mar 25 01:55:38 homeassistant systemd-journald[131]: Data hash table of /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal has a fill level at 75.0 (85336 of 113777 items, 25165824 file size, 294 bytes per hash table item), suggesting rotation.
Mar 25 01:55:38 homeassistant systemd-journald[131]: /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal: Journal header limits reached or header out-of-date, rotating.
Mar 25 01:59:25 homeassistant kernel: kauditd_printk_skb: 182 callbacks suppressed
Mar 25 01:59:25 homeassistant kernel: audit: type=1334 audit(1711331965.611:831): prog-id=183 op=LOAD
Mar 25 01:59:25 homeassistant kernel: audit: type=1334 audit(1711331965.611:832): prog-id=184 op=LOAD
Mar 25 01:59:25 homeassistant kernel: audit: type=1334 audit(1711331965.611:833): prog-id=185 op=LOAD
Mar 25 01:59:25 homeassistant systemd[1]: Starting Hostname Service...
Mar 25 01:59:25 homeassistant systemd[1]: Started Hostname Service.
Mar 25 01:59:25 homeassistant kernel: audit: type=1334 audit(1711331965.790:834): prog-id=186 op=LOAD
Mar 25 01:59:25 homeassistant kernel: audit: type=1334 audit(1711331965.790:835): prog-id=187 op=LOAD
Mar 25 01:59:25 homeassistant kernel: audit: type=1334 audit(1711331965.790:836): prog-id=188 op=LOAD
Mar 25 01:59:25 homeassistant systemd[1]: Starting Time & Date Service...
Mar 25 01:59:25 homeassistant systemd[1]: Started Time & Date Service.
Mar 25 01:59:55 homeassistant systemd[1]: systemd-hostnamed.service: Deactivated successfully.
Mar 25 01:59:55 homeassistant kernel: audit: type=1334 audit(1711331995.870:837): prog-id=185 op=UNLOAD
Mar 25 01:59:55 homeassistant kernel: audit: type=1334 audit(1711331995.870:838): prog-id=184 op=UNLOAD
Mar 25 01:59:55 homeassistant kernel: audit: type=1334 audit(1711331995.870:839): prog-id=183 op=UNLOAD
Mar 25 01:59:56 homeassistant systemd[1]: systemd-timedated.service: Deactivated successfully.
Mar 25 01:59:56 homeassistant kernel: audit: type=1334 audit(1711331996.009:840): prog-id=188 op=UNLOAD
Mar 25 01:59:56 homeassistant kernel: audit: type=1334 audit(1711331996.009:841): prog-id=187 op=UNLOAD
Mar 25 01:59:56 homeassistant kernel: audit: type=1334 audit(1711331996.009:842): prog-id=186 op=UNLOAD
Mar 25 02:13:13 homeassistant systemd-journald[131]: Data hash table of /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal has a fill level at 75.0 (85335 of 113777 items, 25165824 file size, 294 bytes per hash table item), suggesting rotation.
Mar 25 02:13:13 homeassistant systemd-journald[131]: /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal: Journal header limits reached or header out-of-date, rotating.
Mar 25 02:30:55 homeassistant systemd-journald[131]: Data hash table of /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal has a fill level at 75.0 (85335 of 113777 items, 25165824 file size, 294 bytes per hash table item), suggesting rotation.
Mar 25 02:30:55 homeassistant systemd-journald[131]: /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal: Journal header limits reached or header out-of-date, rotating.
Mar 25 02:48:11 homeassistant systemd-journald[131]: Data hash table of /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal has a fill level at 75.0 (85335 of 113777 items, 25165824 file size, 294 bytes per hash table item), suggesting rotation.
Mar 25 02:48:11 homeassistant systemd-journald[131]: /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal: Journal header limits reached or header out-of-date, rotating.
Mar 25 03:05:32 homeassistant systemd-journald[131]: Data hash table of /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal has a fill level at 75.0 (85335 of 113777 items, 25165824 file size, 294 bytes per hash table item), suggesting rotation.
Mar 25 03:05:32 homeassistant systemd-journald[131]: /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal: Journal header limits reached or header out-of-date, rotating.
Mar 25 03:22:45 homeassistant systemd-journald[131]: Data hash table of /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal has a fill level at 75.0 (85335 of 113777 items, 25165824 file size, 294 bytes per hash table item), suggesting rotation.
Mar 25 03:22:45 homeassistant systemd-journald[131]: /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal: Journal header limits reached or header out-of-date, rotating.
Mar 25 03:39:30 homeassistant NetworkManager[446]: <info> [1711337970.5610] dhcp4 (eno1): state changed new lease, address=10.0.0.25
Mar 25 03:40:11 homeassistant systemd-journald[131]: Data hash table of /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal has a fill level at 75.0 (85334 of 113777 items, 25165824 file size, 294 bytes per hash table item), suggesting rotation.
Mar 25 03:40:11 homeassistant systemd-journald[131]: /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal: Journal header limits reached or header out-of-date, rotating.
Mar 25 03:57:42 homeassistant systemd-journald[131]: Data hash table of /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal has a fill level at 75.0 (85333 of 113777 items, 25165824 file size, 294 bytes per hash table item), suggesting rotation.
Mar 25 03:57:42 homeassistant systemd-journald[131]: /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal: Journal header limits reached or header out-of-date, rotating.
Mar 25 04:06:06 homeassistant kernel: audit: type=1334 audit(1711339566.051:843): prog-id=189 op=LOAD
Mar 25 04:06:06 homeassistant kernel: audit: type=1334 audit(1711339566.051:844): prog-id=190 op=LOAD
Mar 25 04:06:06 homeassistant kernel: audit: type=1334 audit(1711339566.051:845): prog-id=191 op=LOAD
Mar 25 04:06:06 homeassistant systemd[1]: Starting Hostname Service...
Mar 25 04:06:06 homeassistant systemd[1]: Started Hostname Service.
Mar 25 04:06:06 homeassistant kernel: audit: type=1334 audit(1711339566.240:846): prog-id=192 op=LOAD
Mar 25 04:06:06 homeassistant kernel: audit: type=1334 audit(1711339566.240:847): prog-id=193 op=LOAD
Mar 25 04:06:06 homeassistant kernel: audit: type=1334 audit(1711339566.240:848): prog-id=194 op=LOAD
Mar 25 04:06:06 homeassistant systemd[1]: Starting Time & Date Service...
Mar 25 04:06:06 homeassistant systemd[1]: Started Time & Date Service.
Mar 25 04:06:36 homeassistant systemd[1]: systemd-hostnamed.service: Deactivated successfully.
Mar 25 04:06:36 homeassistant kernel: audit: type=1334 audit(1711339596.312:849): prog-id=191 op=UNLOAD
Mar 25 04:06:36 homeassistant kernel: audit: type=1334 audit(1711339596.312:850): prog-id=190 op=UNLOAD
Mar 25 04:06:36 homeassistant kernel: audit: type=1334 audit(1711339596.312:851): prog-id=189 op=UNLOAD
Mar 25 04:06:36 homeassistant systemd[1]: systemd-timedated.service: Deactivated successfully.
Mar 25 04:06:36 homeassistant kernel: audit: type=1334 audit(1711339596.446:852): prog-id=194 op=UNLOAD
Mar 25 04:06:36 homeassistant kernel: audit: type=1334 audit(1711339596.446:853): prog-id=193 op=UNLOAD
Mar 25 04:06:36 homeassistant kernel: audit: type=1334 audit(1711339596.446:854): prog-id=192 op=UNLOAD
Mar 25 04:14:59 homeassistant systemd-journald[131]: Data hash table of /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal has a fill level at 75.0 (85335 of 113777 items, 25165824 file size, 294 bytes per hash table item), suggesting rotation.
Mar 25 04:14:59 homeassistant systemd-journald[131]: /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal: Journal header limits reached or header out-of-date, rotating.
Mar 25 04:32:23 homeassistant systemd-journald[131]: Data hash table of /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal has a fill level at 75.0 (85335 of 113777 items, 25165824 file size, 294 bytes per hash table item), suggesting rotation.
Mar 25 04:32:23 homeassistant systemd-journald[131]: /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal: Journal header limits reached or header out-of-date, rotating.
Mar 25 04:50:01 homeassistant systemd-journald[131]: Data hash table of /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal has a fill level at 75.0 (85333 of 113777 items, 25165824 file size, 294 bytes per hash table item), suggesting rotation.
Mar 25 04:50:01 homeassistant systemd-journald[131]: /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal: Journal header limits reached or header out-of-date, rotating.
Mar 25 05:07:14 homeassistant systemd-journald[131]: Data hash table of /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal has a fill level at 75.0 (85336 of 113777 items, 25165824 file size, 294 bytes per hash table item), suggesting rotation.
Mar 25 05:07:14 homeassistant systemd-journald[131]: /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal: Journal header limits reached or header out-of-date, rotating.
Mar 25 05:24:30 homeassistant NetworkManager[446]: <info> [1711344270.5623] dhcp4 (eno1): state changed new lease, address=10.0.0.25
Mar 25 05:26:13 homeassistant systemd-journald[131]: Data hash table of /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal has a fill level at 75.0 (85333 of 113777 items, 25165824 file size, 294 bytes per hash table item), suggesting rotation.
Mar 25 05:26:13 homeassistant systemd-journald[131]: /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal: Journal header limits reached or header out-of-date, rotating.
Mar 25 05:44:43 homeassistant systemd-journald[131]: Data hash table of /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal has a fill level at 75.0 (85336 of 113777 items, 25165824 file size, 294 bytes per hash table item), suggesting rotation.
Mar 25 05:44:43 homeassistant systemd-journald[131]: /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal: Journal header limits reached or header out-of-date, rotating.
Mar 25 06:02:33 homeassistant systemd-journald[131]: Data hash table of /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal has a fill level at 75.0 (85333 of 113777 items, 25165824 file size, 294 bytes per hash table item), suggesting rotation.
Mar 25 06:02:33 homeassistant systemd-journald[131]: /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal: Journal header limits reached or header out-of-date, rotating.
Mar 25 06:12:46 homeassistant kernel: audit: type=1334 audit(1711347166.498:855): prog-id=195 op=LOAD
Mar 25 06:12:46 homeassistant kernel: audit: type=1334 audit(1711347166.498:856): prog-id=196 op=LOAD
Mar 25 06:12:46 homeassistant kernel: audit: type=1334 audit(1711347166.498:857): prog-id=197 op=LOAD
Mar 25 06:12:46 homeassistant systemd[1]: Starting Hostname Service...
Mar 25 06:12:46 homeassistant systemd[1]: Started Hostname Service.
Mar 25 06:12:46 homeassistant kernel: audit: type=1334 audit(1711347166.670:858): prog-id=198 op=LOAD
Mar 25 06:12:46 homeassistant kernel: audit: type=1334 audit(1711347166.670:859): prog-id=199 op=LOAD
Mar 25 06:12:46 homeassistant kernel: audit: type=1334 audit(1711347166.670:860): prog-id=200 op=LOAD
Mar 25 06:12:46 homeassistant systemd[1]: Starting Time & Date Service...
Mar 25 06:12:46 homeassistant systemd[1]: Started Time & Date Service.
Mar 25 06:13:16 homeassistant systemd[1]: systemd-hostnamed.service: Deactivated successfully.
Mar 25 06:13:16 homeassistant kernel: audit: type=1334 audit(1711347196.745:861): prog-id=197 op=UNLOAD
Mar 25 06:13:16 homeassistant kernel: audit: type=1334 audit(1711347196.745:862): prog-id=196 op=UNLOAD
Mar 25 06:13:16 homeassistant kernel: audit: type=1334 audit(1711347196.745:863): prog-id=195 op=UNLOAD
Mar 25 06:13:16 homeassistant systemd[1]: systemd-timedated.service: Deactivated successfully.
Mar 25 06:13:16 homeassistant kernel: audit: type=1334 audit(1711347196.885:864): prog-id=200 op=UNLOAD
Mar 25 06:13:16 homeassistant kernel: audit: type=1334 audit(1711347196.885:865): prog-id=199 op=UNLOAD
Mar 25 06:13:16 homeassistant kernel: audit: type=1334 audit(1711347196.885:866): prog-id=198 op=UNLOAD
Mar 25 06:20:32 homeassistant systemd-journald[131]: Data hash table of /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal has a fill level at 75.0 (85334 of 113777 items, 25165824 file size, 294 bytes per hash table item), suggesting rotation.
Mar 25 06:20:32 homeassistant systemd-journald[131]: /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal: Journal header limits reached or header out-of-date, rotating.
Mar 25 06:38:12 homeassistant systemd-journald[131]: Data hash table of /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal has a fill level at 75.0 (85335 of 113777 items, 25165824 file size, 294 bytes per hash table item), suggesting rotation.
Mar 25 06:38:12 homeassistant systemd-journald[131]: /var/log/journal/7bbd3df51d484f269f08f43e301f05f7/system.journal: Journal header limits reached or header out-of-date, rotating.
Mar 25 06:46:01 homeassistant kernel: audit: type=1334 audit(1711349161.163:867): prog-id=201 op=LOAD
Mar 25 06:46:01 homeassistant systemd-timesyncd[1155]: Network configuration changed, trying to establish connection.
Mar 25 06:46:01 homeassistant systemd-timesyncd[1155]: Contacted time server 10.0.0.2:123 (10.0.0.2).
Mar 25 06:46:01 homeassistant systemd[1]: Started Journal Gateway Service.
Mar 25 06:46:01 homeassistant systemd-journal-gatewayd[292234]: microhttpd: MHD_OPTION_EXTERNAL_LOGGER is not the first option specified for the daemon. Some messages may be printed by the standard MHD logger.
Then for SUPERVISOR, there is nothing relevant. Everything is green, the only errors are unauthorized logins the the mqtt server (with might be caused by a misconfigured mqtt device): 24-03-25 07:44:13 WARNING (MainThread) [supervisor.auth] Unauthorized login for 'tasmota'
All Add-Ons seem fine as well. Either there is nothing at all (same message for each of those about “no errors found”), or there is general debug output (service started etc.) without any errors.
But again, Home Assistant lets me access the web interface at the moment. These errors I am looking for cannot/should not be there at the moment, because things work at the moment.
When I cannot access the web interface, I ssh into the machine and either tail -f /homeassistant/home-assistant.log
or ha <host|system|> <info|logs>
.
But there isn’t anything there that I can make any sense of. No “connection refused / connection error / http”, nothing about “8123” (that specific port), not anything I’d read and think “yeah, this has to be fixed”.
There are errors, but, for example, about misconfigured mqtt entities; one I keep seeing is some device running an older tasmota firmware version, so it doesn’t report some values formatted in a way that Home Assistant expects; this needs fixing as well, but it cannot be the reason for not reaching the web interface.
Right now, all HACS custom_components are running. All these Add-Ons are running (marked those I disabled)
And also right now everything works fine. I can access the web interface, I can toggle devices like I am supposed to. They are somewhat sluggish, but that’s all I notice. Usually, when I click on my desk lamp, it’ll turn on right away and the icon will change to display its status - at the moment, this takes about 2 seconds each. Click - 2 sec - light turns on - 2 sec - icon changes. Click again - 2 sec - light turns off - 2 sec - icon changes back. While this isn’t ideal, I can live with it for now.
But I don’t understand why suddenly things stop working. Last night, I wasn’t able to turn off a particular light in the bedroom, because I couldn’t access the web interface and hadn’t programmed a physical button for it. Fortunately, the light was part of an automation, so it still turned off eventually - but that’s not the point.
I noticed one more thing, might be irrelevant, but I thought I’d mention it:
board: generic-x86-64
boot: B
data_disk: Samsung-SSD-980-PRO-1TB-S5GXNS0T101226W
update_available: false
version: "12.1"
version_latest: "12.1"
boot: B. Does this mean anything? For example, is there a boot A and boot B, and might there be something wrong with boot A? It is always set to B, after each reboot.