- 积分
- 166
- 金钱
- 158
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
注册会员
- 积分
- 166
- 金钱
- 158
- HASS币
- 0
|
发表于 2021-5-16 23:40:07
|
显示全部楼层
configuration.yaml中添加zhibot后出现如下报错
并且无法创建长效令牌~
https访问也无法正常~
去除zhibot后
访问和长效令牌都正常了
Logger: aiohttp.server
Source: auth/__init__.py:423
First occurred: 下午11:35:03 (1 occurrences)
Last logged: 下午11:35:03
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
resp = await self._request_handler(request)
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_app.py", line 499, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_middlewares.py", line 119, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 56, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 18, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 72, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 129, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 129, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 83, in handle_req
resp = await func(view, request, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/components/auth/__init__.py", line 255, in post
return await self._async_handle_auth_code(hass, data, request.remote)
File "/usr/src/homeassistant/homeassistant/components/auth/__init__.py", line 316, in _async_handle_auth_code
refresh_token = await hass.auth.async_create_refresh_token(
File "/usr/src/homeassistant/homeassistant/auth/__init__.py", line 423, in async_create_refresh_token
return await self._store.async_create_refresh_token(
TypeError: async_create_refresh_token() takes from 2 to 7 positional arguments but 8 were given |
|