找回密码
 立即注册

微信扫码登录

搜索
查看: 5078|回复: 3

[技术探讨] 只要升级0.74就无法启动hass

[复制链接]

3

主题

36

回帖

303

积分

中级会员

积分
303
金钱
264
HASS币
0
发表于 2018-7-29 18:37:59 | 显示全部楼层 |阅读模式
本帖最后由 孤独的北极狐 于 2018-7-29 18:43 编辑

换了好几个版本镜像,使用到0.73.2一切都ok,只要升级到0.74就挂掉,下面是log错误日志,有没有大神给看下

2018-07-29 18:30:22 WARNING (MainThread) [homeassistant.components.http] You have been advised to set http.api_password.
2018-07-29 18:30:26 WARNING (MainThread) [homeassistant.loader] You are using a custom component for redpoint which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2018-07-29 18:30:26 WARNING (MainThread) [homeassistant.loader] You are using a custom component for tunnel2local which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2018-07-29 18:30:50 WARNING (MainThread) [homeassistant.setup] Setup of xiaomi_aqara is taking over 10 seconds.
2018-07-29 18:30:50 WARNING (MainThread) [homeassistant.components.switch] Setup of platform xiaomi_miio is taking over 10 seconds.
2018-07-29 18:30:55 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/__init__.py", line 132, in start_server
    await server.start()
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/__init__.py", line 284, in start
    await self.app.startup()
  File "/usr/local/lib/python3.5/dist-packages/aiohttp/web_app.py", line 278, in startup
    await self.on_startup.send(self)
  File "/usr/local/lib/python3.5/dist-packages/aiohttp/signals.py", line 35, in send
    await receiver(*args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/cors.py", line 60, in cors_startup
    _allow_cors(route)
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/cors.py", line 44, in _allow_cors
    cors.add(route, config)
  File "/home/pi/.homeassistant/deps/lib/python3.5/site-packages/aiohttp_cors/cors_config.py", line 263, in add
    return self._cors_impl.add(routing_entity, config)
  File "/home/pi/.homeassistant/deps/lib/python3.5/site-packages/aiohttp_cors/cors_config.py", line 135, in add
    routing_entity, self._preflight_handler)
  File "/home/pi/.homeassistant/deps/lib/python3.5/site-packages/aiohttp_cors/urldispatcher_router_adapter.py", line 195, in add_preflight_handler
    self.add_preflight_handler(route.resource, handler)
  File "/home/pi/.homeassistant/deps/lib/python3.5/site-packages/aiohttp_cors/urldispatcher_router_adapter.py", line 163, in add_preflight_handler
    .format(resource, route_obj.handler))
ValueError: <PlainResource  /auth/token> already has OPTIONS handler <bound method _PreflightHandler._preflight_handler of <aiohttp_cors.cors_config._CorsConfigImpl object at 0x712cd030>>

回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )

GMT+8, 2025-7-16 13:33 , Processed in 0.051768 second(s), 16 queries , MemCached On.

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表