Should we report errors, and if so, how?

Looking in my log file, I get this every night:

2022-09-14 04:33:22.645 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 334, in data_received
    messages, upgraded, tail = self._request_parser.feed_data(data)
  File "aiohttp/_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'Invalid method encountered'"

I considered reporting it on aiohttp’s Github page, but since I don’t know what is causing it, it wouldn’t be a very useful error report.

I could report it on HomeAssistant’s Github, but I don’t know if it’s Core, Supervisor or Frontend causing it.

Or should I just accept that there are errors in the log?

You can also search the forum for the error message. The hard bit is choosing what to search for.

I searched for “Bad status line Invalid method encountered” and turned up this result with a solution, it may or may not help:

Same thing:

1 Like

Hm, interesting, thank you! I’ll definitely do that next time! As for this error, I think I would rather try to determine where this request is coming from than just get a new IP address…

If you follow the discussion it leads to this advice that may help narrow it down:

You have something trying to connect with the wrong protocol
Using https when the server expects http, or using http when the server expects https will give this.

There may be other results with further help. Use the search.

1 Like

Since you d rather not change your ip, try thinking of what programs you have connected to home assistant in the past that you’ve forgotten about… try turning all your computers off except what is running home assistant and turn them on one by one while checking for errors.

In my case, I believe I had an old influxdb database that I had forgotten about trying to access my home assistant.

1 Like

Oh - it could be influx! I’d better check it… Thanks!