Home Assistant container stopping every few minutes

I recently installed the custom alexa_media component and, this may not be the issue, but now my Home Assistant container is now stopping every few minutes. The alexa_media was installed about a week ago and this issue has only started today (hence me not knowing whether it’s the cause, but it is the only change). Errors seen just at the point the container stops in the home-assistant.log are as follows:

2020-02-23 14:23:45 ERROR (MainThread) [alexapy.alexawebsocket] WebSocket Error: <class ‘aiohttp.streams.EofStream’>

2020-02-23 14:23:47 ERROR (MainThread) [homeassistant.components.hassio.handler] Client error on /homeassistant/stop request None

I am running version 0.105.2.

I’ve taken out the custom component and the container was still stopping. So I then disabled the mariaDB addon and it appeared to stay running. So added the alexa_media component back in and it’s down again. I’ve searched and not found these errors, so anyone have any idea how I can better troubleshoot this, and what could be the possible cause?

Thanks in advance…

alexa_media can’t be the cause, or mariaDB, as both are not enabled and still getting the same error (just taking a little longer to stop):

2020-02-23 14:40:32 ERROR (MainThread) [homeassistant.components.hassio.handler] Client error on /homeassistant/stop request None

Edit:
Changed logger to debug. Same issue occured. This time though, no mention of the ‘Client error on /homeassistant/stop request None’ error. Last message in the logs is:

2020-02-23 14:48:32 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event homeassistant_close[L]>

Apparently I’d added a Home Assistant - stop on one of my Node-Red flows! Not even sure why I would have done this, but deleted and now all back up and running again.

I am getting similar error messages and the system is slowing to a crawl, with any alexa instruction taking 5-10 seconds to respond.

I am running Home Assistant on Pi 3b+ SSD install and boot from SSD.

Error messages:

2020-02-26 08:40:56 ERROR (MainThread) [alexapy.alexawebsocket] WebSocket Error: <class 'aiohttp.streams.EofStream'>
2020-02-26 08:40:56 ERROR (MainThread) [alexapy.alexawebsocket] WebSocket Error: <class 'aiohttp.streams.EofStream'>
2020-02-26 08:40:56 ERROR (MainThread) [alexapy.alexawebsocket] WebSocket Error: <class 'aiohttp.streams.EofStream'>
2020-02-26 08:40:57 ERROR (MainThread) [alexapy.alexawebsocket] WebSocket Error: <class 'aiohttp.streams.EofStream'>
2020-02-26 08:40:57 ERROR (MainThread) [alexapy.alexawebsocket] WebSocket Error: <class 'aiohttp.streams.EofStream'>
2020-02-26 08:40:57 ERROR (MainThread) [alexapy.alexawebsocket] WebSocket Error: <class 'aiohttp.streams.EofStream'>
2020-02-26 08:40:57 ERROR (MainThread) [alexapy.alexawebsocket] WebSocket Error: <class 'aiohttp.streams.EofStream'>
2020-02-26 08:40:57 ERROR (MainThread) [alexapy.alexawebsocket] WebSocket Error: <class 'aiohttp.streams.EofStream'>
2020-02-26 08:40:58 ERROR (MainThread) [alexapy.alexawebsocket] WebSocket Error: <class 'aiohttp.streams.EofStream'>
2020-02-26 08:40:58 ERROR (MainThread) [alexapy.alexawebsocket] WebSocket Error: <class 'aiohttp.streams.EofStream'>
2020-02-26 08:40:58 ERROR (MainThread) [alexapy.alexawebsocket] WebSocket Error: <class 'aiohttp.streams.EofStream'>
2020-02-26 08:40:58 ERROR (MainThread) [alexapy.alexawebsocket] WebSocket Error: <class 'aiohttp.streams.EofStream'>

This happens within a day of a restart and slows the whole thing down.

Does anyone have any ideas?

Seamus

Same here …

Home Assistant 0.108.5

it happened when i do restart from HA gui ,
actually when click on restart i see in log

2020-04-16 02:13:31 ERROR (MainThread) [alexapy.alexawebsocket] WebSocket Error: <class 'aiohttp.streams.EofStream'>

sometimes it starting sometimes not ,
when it stuck - t he only option to start the HA is by restarting the docker itself…