本帖最后由 aktifin 于 2018-5-16 21:30 编辑
群晖docker报错如下,80端口没被占用,habridge能运行
群晖:6.1
hass: 0.68.1,ssl登陆,已经开启高权限容器
2018-05-15 19:29:58 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at 192.168.99.101
2018-05-15 19:29:58 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at 192.168.99.101. Retrying in 2 seconds
2018-05-15 19:30:06 WARNING (MainThread) [homeassistant.setup] Setup of config is taking over 10 seconds.
2018-05-15 19:30:33 ERROR (MainThread) [homeassistant.components.hue] Unknown Hue linking error occurred
Traceback (most recent call last):
File "/usr/src/app/homeassistant/components/hue/bridge.py", line 164, in get_bridge
await bridge.initialize()
File "/usr/local/lib/python3.6/site-packages/aiohue/bridge.py", line 43, in initialize
result = await self.request('get', '')
File "/usr/local/lib/python3.6/site-packages/aiohue/bridge.py", line 61, in request
'Invalid content type: {}'.format(res.content_type))
aiohue.errors.ResponseError: Invalid content type: text/plain
2018-05-15 19:30:38 ERROR (MainThread) [homeassistant.components.hue] Unknown Hue linking error occurred
Traceback (most recent call last):
File "/usr/src/app/homeassistant/components/hue/bridge.py", line 164, in get_bridge
await bridge.initialize()
File "/usr/local/lib/python3.6/site-packages/aiohue/bridge.py", line 43, in initialize
result = await self.request('get', '')
File "/usr/local/lib/python3.6/site-packages/aiohue/bridge.py", line 61, in request
'Invalid content type: {}'.format(res.content_type))
aiohue.errors.ResponseError: Invalid content type: text/plain
2018-05-15 19:30:38 ERROR (MainThread) [homeassistant.components.hue] Unknown Hue linking error occurred
Traceback (most recent call last):
File "/usr/src/app/homeassistant/components/hue/bridge.py", line 164, in get_bridge
await bridge.initialize()
File "/usr/local/lib/python3.6/site-packages/aiohue/bridge.py", line 43, in initialize
result = await self.request('get', '')
File "/usr/local/lib/python3.6/site-packages/aiohue/bridge.py", line 61, in request
'Invalid content type: {}'.format(res.content_type))
aiohue.errors.ResponseError: Invalid content type: text/plain
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/app/homeassistant/components/hue/config_flow.py", line 190, in async_step_import
self.hass, host, username
File "/usr/src/app/homeassistant/components/hue/bridge.py", line 175, in get_bridge
raise AuthenticationRequired
homeassistant.components.hue.errors.AuthenticationRequired
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/app/homeassistant/components/hue/bridge.py", line 164, in get_bridge
await bridge.initialize()
File "/usr/local/lib/python3.6/site-packages/aiohue/bridge.py", line 43, in initialize
result = await self.request('get', '')
File "/usr/local/lib/python3.6/site-packages/aiohue/bridge.py", line 61, in request
'Invalid content type: {}'.format(res.content_type))
aiohue.errors.ResponseError: Invalid content type: text/plain
复制代码
把原有的hue的自动生成的配置文件删除后,问题解决