|
请有经验的大神指点一下,报错信息如下:
树莓派4B安装的系统
Logger: aiohttp.server
Source: components/websocket_api/http.py:146
First occurred: 2021年8月10日21:36:57 (1 occurrences)
Last logged: 2021年8月10日21:36:57
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
resp = await self._request_handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 499, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.9/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 60, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 77, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 24, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 78, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 144, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 135, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/websocket_api/http.py", line 45, in get
return await WebSocketHandler(request.app["hass"], request).async_handle()
File "/usr/src/homeassistant/homeassistant/components/websocket_api/http.py", line 146, in async_handle
await wsock.prepare(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_ws.py", line 135, in prepare
payload_writer = await super().prepare(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_response.py", line 378, in prepare
return await self._start(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_response.py", line 386, in _start
await self._write_headers()
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_response.py", line 458, in _write_headers
await writer.write_headers(status_line, self._headers)
File "/usr/local/lib/python3.9/site-packages/aiohttp/http_writer.py", line 119, in write_headers
self._write(buf)
File "/usr/local/lib/python3.9/site-packages/aiohttp/http_writer.py", line 67, in _write
raise ConnectionResetError("Cannot write to closing transport")
ConnectionResetError: Cannot write to closing transport
版本及系统信息如下:
System Health
version: core-2021.7.4
installation_type: Home Assistant OS
dev: false
hassio: true
docker: true
virtualenv: false
python_version: 3.9.5
os_name: Linux
os_version: 5.10.17-v8
arch: aarch64
timezone: Asia/Shanghai
|
|