!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

501 Members
Declarative Home Automation and other Sidequests | https://wiki.nixos.org/wiki/Home_Assistant133 Servers

Load older messages


SenderMessageTime
11 May 2025
@k900:0upti.meK900I find that very unlikely tbh13:36:30
@k900:0upti.meK900Also, have you checked the home-assistant logs?13:36:40
@mjm:midna.devmjmmy unifi integration is working fine with ipv613:37:03
@conr:mozilla.orgconrhttps://community.home-assistant.io/t/how-to-disable-ipv6/75593313:38:13
@k900:0upti.meK900Not that13:38:34
@k900:0upti.meK900A link to why you think that would fix your issue13:38:42
@mjm:midna.devmjmnone of that is about unifi needing it13:38:44
@conr:mozilla.orgconr it was in the haos core github issues but i cant find it now. i agree though thats probably not the issue. 13:43:04
@k900:0upti.meK900Please post the logs from when it's actually failing13:43:22
@k900:0upti.meK900Before we XY problem even further13:43:27
@conr:mozilla.orgconr
Logger: homeassistant.components.unifi
Source: components/unifi/hub/api.py:76
integration: UniFi Network (documentation, issues)
First occurred: May 10, 2025 at 11:17:21 PM (5 occurrences)
Last logged: 8:51:54 AM

Error connecting to the UniFi Network at 10.71.1.1:
13:52:40
@k900:0upti.meK900 Check journalctl -u home-assistant 13:53:06
@k900:0upti.meK900Not the logs in the frontend13:53:09
@conr:mozilla.orgconrshould i bet adding it through the frontend integrations?13:53:36
@conr:mozilla.orgconr

i have it in my config

    # Enable Home Assistant
    home-assistant = {
      enable = true;
      extraComponents = [
        # Components required to complete the onboarding
        "analytics"
        "apple_tv"
        "elgato"
        "evergy"
        "hue"
        "homekit"
        "plex"
        "unifi"
        "unifiprotect"
        "html5"
        # Recommended for fast zlib compression
        # https://www.home-assistant.io/integrations/isal
        "isal"
      ];
13:54:23
@conr:mozilla.orgconr
Apr 14 22:55:34 jubjub systemd[1]: Starting Home Assistant...
Apr 14 22:55:34 jubjub home-assistant-pre-start[23055]: find: ‘/var/lib/hass/blueprints’: No such file or directory
Apr 14 22:55:34 jubjub systemd[1]: Started Home Assistant.
Apr 14 22:55:36 jubjub hass[23059]: 2025-04-14 22:55:36.383 WARNING (MainThread) [homeassistant.bootstrap] Skipping pip installation of required modules. This may cause issues
Apr 14 22:55:37 jubjub hass[23059]: 2025-04-14 22:55:37.231 WARNING (MainThread) [homeassistant.components.lovelace] Lovelace is running in storage mode. Define resources via user interface
Apr 14 22:55:37 jubjub hass[23059]: 2025-04-14 22:55:37.240 ERROR (MainThread) [homeassistant.components.http] Failed to create HTTP server at port 8123: could not bind on any address out of [(':>
Apr 14 22:56:10 jubjub hass[23059]: 2025-04-14 22:56:10.435 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration hue: No module named 'aiohue'
Apr 14 22:56:10 jubjub hass[23059]: 2025-04-14 22:56:10.436 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Apr 14 22:56:10 jubjub hass[23059]: Traceback (most recent call last):
Apr 14 22:56:10 jubjub hass[23059]:   File "/nix/store/6i40kvf15z3y5b7nc54v64lq588bb5lm-homeassistant-2025.3.4/lib/python3.13/site-packages/homeassistant/config_entries.py", line 3786, in _load_i>
Apr 14 22:56:10 jubjub hass[23059]:     await integration.async_get_platform("config_flow")
Apr 14 22:56:10 jubjub hass[23059]:   File "/nix/store/6i40kvf15z3y5b7nc54v64lq588bb5lm-homeassistant-2025.3.4/lib/python3.13/site-packages/homeassistant/loader.py", line 1107, in async_get_platf>
Apr 14 22:56:10 jubjub hass[23059]:     platforms = await self.async_get_platforms((platform_name,))
Apr 14 22:56:10 jubjub hass[23059]:                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Apr 14 22:56:10 jubjub hass[23059]:   File "/nix/store/6i40kvf15z3y5b7nc54v64lq588bb5lm-homeassistant-2025.3.4/lib/python3.13/site-packages/homeassistant/loader.py", line 1184, in async_get_platf>
Apr 14 22:56:10 jubjub hass[23059]:     import_future.result()
Apr 14 22:56:10 jubjub hass[23059]:     ~~~~~~~~~~~~~~~~~~~~^^
Apr 14 22:56:10 jubjub hass[23059]:   File "/nix/store/6i40kvf15z3y5b7nc54v64lq588bb5lm-homeassistant-2025.3.4/lib/python3.13/site-packages/homeassistant/loader.py", line 1154, in async_get_platf>
Apr 14 22:56:10 jubjub hass[23059]:     await self.hass.async_add_import_executor_job(
Apr 14 22:56:10 jubjub hass[23059]:         self._load_platforms, platform_names
Apr 14 22:56:10 jubjub hass[23059]:     )
Apr 14 22:56:10 jubjub hass[23059]:   File "/nix/store/njpnqszjaj6k38cp4466ygn74n392xy1-python3-3.13.2/lib/python3.13/concurrent/futures/thread.py", line 59, in run
Apr 14 22:56:10 jubjub hass[23059]:     result = self.fn(*self.args, **self.kwargs)
Apr 14 22:56:10 jubjub hass[23059]:   File "/nix/store/6i40kvf15z3y5b7nc54v64lq588bb5lm-homeassistant-2025.3.4/lib/python3.13/site-packages/homeassistant/loader.py", line 1097, in _load_platforms
Apr 14 22:56:10 jubjub hass[23059]:     platform_name: self._load_platform(platform_name)
Apr 14 22:56:10 jubjub hass[23059]:                    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
Apr 14 22:56:10 jubjub hass[23059]:   File "/nix/store/6i40kvf15z3y5b7nc54v64lq588bb5lm-homeassistant-2025.3.4/lib/python3.13/site-packages/homeassistant/loader.py", line 1271, in _load_platform
Apr 14 22:56:10 jubjub hass[23059]:     cache[full_name] = self._import_platform(platform_name)
Apr 14 22:56:10 jubjub hass[23059]:                        ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
Apr 14 22:56:10 jubjub hass[23059]:   File "/nix/store/6i40kvf15z3y5b7nc54v64lq588bb5lm-homeassistant-2025.3.4/lib/python3.13/site-packages/homeassistant/loader.py", line 1303, in _import_platform
Apr 14 22:56:10 jubjub hass[23059]:     return importlib.import_module(f"{self.pkg_path}.{platform_name}")
Apr 14 22:56:10 jubjub hass[23059]:            ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Apr 14 22:56:10 jubjub hass[23059]:   File "/nix/store/6i40kvf15z3y5b7nc54v64lq588bb5lm-homeassistant-2025.3.4/lib/python3.13/site-packages/homeassistant/util/loop.py", line 201, in protected_loo>
Apr 14 22:56:10 jubjub hass[23059]:     return func(*args, **kwargs)
Apr 14 22:56:10 jubjub hass[23059]:   File "/nix/store/njpnqszjaj6k38cp4466ygn74n392xy1-python3-3.13.2/lib/python3.13/importlib/__init__.py", line 88, in import_module
Apr 14 22:56:10 jubjub hass[23059]:     return _bootstrap._gcd_import(name[level:], package, level)
Apr 14 22:56:10 jubjub hass[23059]:            ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Apr 14 22:56:10 jubjub hass[23059]:   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
Apr 14 22:56:10 jubjub hass[23059]:   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
Apr 14 22:56:10 jubjub hass[23059]:   File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
Apr 14 22:56:10 jubjub hass[23059]:   File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
Apr 14 22:56:10 jubjub hass[23059]:   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
Apr 14 22:56:10 jubjub hass[23059]:   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
Apr 14 22:56:10 jubjub hass[23059]:   File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
Apr 14 22:56:10 jubjub hass[23059]:   File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
Apr 14 22:56:10 jubjub hass[23059]:   File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
Apr 14 22:56:10 jubjub hass[23059]:   File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
Apr 14 22:56:10 jubjub hass[23059]:   File "/nix/store/6i40kvf15z3y5b7nc54v64lq588bb5lm-homeassistant-2025.3.4/lib/python3.13/site-packages/homeassistant/components/hue/__init__.py", line 3, in <>
Apr 14 22:56:10 jubjub hass[23059]:     from aiohue.util import normalize_bridge_id
Apr 14 22:56:10 jubjub hass[23059]: ModuleNotFoundError: No module named 'aiohue'
Apr 14 22:56:10 jubjub hass[23059]: The above exception was the direct cause of the following exception:
Apr 14 22:56:10 jubjub hass[23059]: Traceback (most recent call last):
13:55:12
@hexa:lossy.network@hexa:lossy.networkgiven that there is no yaml config that is the only thing you can do13:55:18
@hexa:lossy.network@hexa:lossy.network
Failed to create HTTP server at port 8123: could not bind on any address out of [(':>
13:55:30
@hexa:lossy.network@hexa:lossy.networksus13:55:31
@hexa:lossy.network@hexa:lossy.network what is your setting for services.home-assistant.config.http.server_host 13:56:19
@hexa:lossy.network@hexa:lossy.network * what is your setting for services.home-assistant.config.http.server_host? 13:56:21
@conr:mozilla.orgconr
        http = {
          server_host = "127.0.0.1";
          trusted_proxies = [ "127.0.0.1" ];
          use_x_forwarded_for = true;
        };
13:56:55
@conr:mozilla.orgconr *
        http = {
          server_host = "127.0.0.1";
          trusted_proxies = [ "127.0.0.1" ];
          use_x_forwarded_for = true;
        };

should it be localhost?

13:57:26
@hexa:lossy.network@hexa:lossy.networknot necessarily, no13:57:37
@hexa:lossy.network@hexa:lossy.network
ss -lpn | grep 8123
13:57:50
@hexa:lossy.network@hexa:lossy.networkwhat is the output of that command?13:57:58
@conr:mozilla.orgconr tcp LISTEN 0 128 127.0.0.1:8123 0.0.0.0:* 13:58:10
@hexa:lossy.network@hexa:lossy.networkas root13:58:17
@conr:mozilla.orgconr
tcp   LISTEN 0      128                                          127.0.0.1:8123             0.0.0.0:*    users:((".hass-wrapped",pid=36084,fd=9))                           
13:58:42
@hexa:lossy.network@hexa:lossy.networkthat is another pid than the one from your log13:58:55

Show newer messages


Back to Room ListRoom Version: 6