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
71.86k stars 30.1k forks source link

Error handling request; aiohttp.http_exceptions.BadStatusLine #45595

Closed swa72 closed 3 years ago

swa72 commented 3 years ago

The problem

Error handling request raised by "Logger: aiohttp.server"

Environment

System Health

version 2021.1.5
installation_type Home Assistant OS
dev false
hassio true
docker true
virtualenv false
python_version 3.8.7
os_name Linux
os_version 5.4.79-v7l
arch armv7l
timezone Europe/Berlin
Home Assistant Community Store GitHub API | ok -- | -- Github API Calls Remaining | 4973 Installed Version | 1.10.1 Stage | running Available Repositories | 709 Installed Repositories | 4
AccuWeather can_reach_server | ok -- | -- remaining_requests | 22
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Hass.io host_os | Home Assistant OS 5.10 -- | -- update_channel | stable supervisor_version | 2021.01.7 docker_version | 19.03.13 disk_total | 57.8 GB disk_used | 7.3 GB healthy | true supported | true board | rpi4 supervisor_api | ok version_api | ok installed_addons | deCONZ (6.6.2), File editor (5.2.0), Log Viewer (0.9.1), Duck DNS (1.12.4), Glances (0.10.0), SSH & Web Terminal (7.8.0), Samba share (9.3.0), Samba Backup (4.4), AdGuard Home (3.0.0), motionEye (0.11.0), NGINX Home Assistant SSL proxy (3.0.1)
Lovelace dashboards | 2 -- | -- mode | storage views | 1 resources | 2

Problem-relevant configuration.yaml

see yaml at https://github.com/swa72/home-assistant/blob/main/configuration.yaml

Traceback/Error logs

Logger: aiohttp.server
Source: /usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py:393
First occurred: January 26, 2021, 6:12:12 PM (1 occurrences)
Last logged: January 26, 2021, 6:12:12 PM

Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 314, in data_received
    messages, upgraded, tail = self._request_parser.feed_data(data)
  File "aiohttp/_http_parser.pyx", line 546, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'invalid HTTP method'"

Additional information

spacegaier commented 3 years ago

Can you please provide more info. When does this happen and for which HTTP call? Linked to any specific integration?

github-actions[bot] commented 3 years 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.