Debugging the startup

How do I go forward to find out what’s causing this message in the log:

2020-08-31 13:30:25 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 275, in data_received
    messages, upgraded, tail = self._request_parser.feed_data(data)
  File "aiohttp/_http_parser.pyx", line 523, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: invalid HTTP method

It appears twice, a few seconds into HA startup.
HA Core 0.114.4

From time to time I’m also getting this:

2020-09-01 09:49:45 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.139693495997248] Client unable to keep up with pending messages. Stayed over 512 for 5 seconds

It’s difficult to find out why this happens. There must be something flooding HA with messages, but I can’t find out what.
Some more detailed debug info would be helpful is many situations.

you give no idication of what level of logging you have, change the logging level

I tried setting it to debug…
That didn’t make it much easier, as the log file grew to 900000 lines in a few seconds.
After setting it to info it took 1 minute to reach 1000 lines.
I guess I’ll look more into using different settings for different components.

it will give more info, that the point. you can they use the extra info to determine whats going n