home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.8k stars 30.89k forks source link

Errors handling Request #91578

Closed lordwizzard closed 1 year ago

lordwizzard commented 1 year ago

The problem

Receiving this error message multiple times a day. Unknown to what is the cause. Logger: aiohttp.server Source: components/hassio/http.py:176 First occurred: 10:37:12 PM (1 occurrences) Last logged: 10:37:12 PM

Only other issue is the NWS forecast error which is known. (NWS issue with it's site/API)

What version of Home Assistant Core has the issue?

core-2023.4.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: aiohttp.server
Source: components/hassio/http.py:176
First occurred: 10:37:12 PM (1 occurrences)
Last logged: 10:37:12 PM

Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
    resp = await request_handler(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 85, in security_filter_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 235, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 146, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/hassio/http.py", line 176, in _handle
    await response.write(data)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_response.py", line 514, in write
    await self._payload_writer.write(data)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/http_writer.py", line 115, in write
    self._write(chunk)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/http_writer.py", line 75, in _write
    raise ConnectionResetError("Cannot write to closing transport")
ConnectionResetError: Cannot write to closing transport

Additional information

Home Assistant 2023.4.4 Supervisor 2023.04.0 Operating System 9.5 Frontend 20230411.1 - latest

System Information

version core-2023.4.4
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.10.10
os_name Linux
os_version 5.15.84-v8
arch aarch64
timezone America/New_York
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 5000 Installed Version | 1.32.1 Stage | running Available Repositories | 1333 Downloaded Repositories | 6 HACS Data | ok
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 9.5 -- | -- update_channel | stable supervisor_version | supervisor-2023.04.0 agent_version | 1.4.1 docker_version | 20.10.22 disk_total | 1833.7 GB disk_used | 11.0 GB healthy | true supported | true board | yellow supervisor_api | ok version_api | ok installed_addons | Terminal & SSH (9.6.1), Samba share (10.0.0), File editor (5.5.0), eWeLink Smart Home (1.4.3), Node-RED (14.1.4)
Dashboards dashboards | 1 -- | -- resources | 3 views | 6 mode | storage
Recorder oldest_recorder_run | April 8, 2023 at 7:35 PM -- | -- current_recorder_run | April 17, 2023 at 9:10 PM estimated_db_size | 342.65 MiB database_engine | sqlite database_version | 3.38.5
Sonoff version | 3.5.1 (122751c) -- | -- cloud_online | 8 / 8 local_online | 8 / 8 debug | failed to load:
issue-triage-workflows[bot] commented 1 year ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.