返回列表 发布新帖

[交流讨论] Home Assistant应用中心更新版本后无法启动

392 3
发表于 2026-4-2 18:19:44 | 查看全部 阅读模式 IP:–河南 /全省通用

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

×

3.30日Home Assistant在应用中心更新为最新版本后,无法通过局域网访问了,这是工作日志,有大神懂的帮忙看看问题出在哪里,再配置一次太麻烦了。


2026-04-02 18:14:17.507 ERROR (MainThread) [homeassistant.components.http.forwarded] A request from a reverse proxy was received from 127.0.0.1, but your HTTP integration is not set-up for reverse proxies
2026-04-02 18:14:17.733 ERROR (MainThread) [homeassistant.components.http.forwarded] A request from a reverse proxy was received from 127.0.0.1, but your HTTP integration is not set-up for reverse proxies
2026-04-02 18:14:25.289 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (task: None)
Traceback (most recent call last):
  File "/usr/local/lib/python3.13/site-packages/aiohttp/streams.py", line 371, in _wait
    await waiter
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/config/custom_components/hacs/base.py", line 667, in startup_tasks
    await self.async_get_all_category_repositories()
  File "/config/custom_components/hacs/base.py", line 832, in async_get_all_category_repositories
    await asyncio.gather(
    ...<4 lines>...
    )
  File "/config/custom_components/hacs/base.py", line 843, in async_get_category_repositories_experimental
    category_data = await self.data_client.get_data(category, validate=True)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/hacs/data_client.py", line 66, in get_data
    data = await self._do_request(filename="data.json", section=section)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/hacs/data_client.py", line 62, in _do_request
    return await response.json()
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/aiohttp_client.py", line 100, in json
    return await super().json(*args, loads=loads, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/client_reqrep.py", line 751, in json
    await self.read()
  File "/usr/local/lib/python3.13/site-packages/aiohttp/client_reqrep.py", line 693, in read
    self._body = await self.content.read()
                 ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/streams.py", line 442, in read
    block = await self.readany()
            ^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/streams.py", line 464, in readany
    await self._wait("readany")
  File "/usr/local/lib/python3.13/site-packages/aiohttp/streams.py", line 370, in _wait
    with self._timer:
         ^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/helpers.py", line 713, in __exit__
    raise asyncio.TimeoutError from exc_val
TimeoutError


评论3

我特别瘦Lv.4 发表于 2026-4-2 18:39:26 来自手机 | 查看全部 IP:–湖北–襄阳
看官方文档,里面有说明,应用中心里
时光依然楼主Lv.1 发表于 2026-4-3 22:15:12 | 查看全部 IP:–河南 /全省通用
我特别瘦 发表于 2026-4-2 18:39
看官方文档,里面有说明,应用中心里

能给个具体的链接吗
时光依然楼主Lv.1 发表于 2026-4-3 22:33:26 | 查看全部 IP:–河南 /全省通用
解决了
需要增加远程访问的命令
编辑配置文件configuration.yaml 文件,加入命令就行了
http:
  use_x_forwarded_for: true
  trusted_proxies:
    - 0.0.0.0/0

评论

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Copyright © 2026 绿联NAS私有云社区 版权所有 All Rights Reserved. 粤公网安备44030002002555号| 粤ICP备12028978号
关灯 在本版发帖
联系技术支持
返回顶部
快速回复 返回顶部 返回列表