Connection pool full - restart of HA

Hi guys,
Once every 3-4 days my HA-instance restarts.
First it’s get’s slow with a major CPU usage. Then this error appears. After a while HA gets restarted and it will be working for a couple of days.
HA is running internally with remote UI.
What to do?

19-05-05 14:05:08 WARNING (SyncWorker_4) [urllib3.connectionpool] Connection pool is full, discarding connection: localhost
19-05-05 14:05:08 WARNING (SyncWorker_1) [urllib3.connectionpool] Connection pool is full, discarding connection: localhost
19-05-05 14:05:09 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
19-05-05 14:05:09 ERROR (MainThread) [hassio.homeassistant] Error on call http://172.30.32.1:8123/api/: Cannot connect to host 172.30.32.1:8123 ssl:None [Connection refused]
19-05-05 14:05:09 ERROR (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant API!
19-05-05 14:05:09 ERROR (MainThread) [hassio.utils] Can’t execute restart while a task is in progress
19-05-05 14:05:09 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
19-05-05 14:05:09 ERROR (MainThread) [hassio.utils] Can’t execute start while a task is in progress
19-05-05 14:05:09 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
19-05-05 14:05:09 ERROR (MainThread) [hassio.utils] Can’t execute start while a task is in progress
19-05-05 14:05:09 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
19-05-05 14:05:09 ERROR (MainThread) [hassio.utils] Can’t execute start while a task is in progress
19-05-05 14:05:09 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
19-05-05 14:05:09 ERROR (MainThread) [hassio.utils] Can’t execute start while a task is in progress
19-05-05 14:05:09 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
19-05-05 14:05:09 ERROR (MainThread) [hassio.utils] Can’t execute start while a task is in progress
19-05-05 14:05:09 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
19-05-05 14:05:09 ERROR (MainThread) [hassio.utils] Can’t execute start while a task is in progress
19-05-05 14:05:09 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
19-05-05 14:05:09 ERROR (MainThread) [hassio.utils] Can’t execute start while a task is in progress
19-05-05 14:05:09 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
19-05-05 14:05:09 ERROR (MainThread) [hassio.utils] Can’t execute start while a task is in progress
19-05-05 14:05:09 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
19-05-05 14:05:09 ERROR (MainThread) [hassio.utils] Can’t execute start while a task is in progress
19-05-05 14:05:09 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
19-05-05 14:05:09 ERROR (MainThread) [hassio.utils] Can’t execute start while a task is in progress
19-05-05 14:05:09 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
19-05-05 14:05:09 ERROR (MainThread) [hassio.utils] Can’t execute start while a task is in progress
19-05-05 14:05:09 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
19-05-05 14:05:09 ERROR (MainThread) [hassio.utils] Can’t execute start while a task is in progress
19-05-05 14:05:09 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
19-05-05 14:05:09 ERROR (MainThread) [hassio.utils] Can’t execute start while a task is in progress
19-05-05 14:05:09 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
19-05-05 14:05:09 ERROR (MainThread) [hassio.utils] Can’t execute start while a task is in progress
19-05-05 14:05:09 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
19-05-05 14:05:09 ERROR (MainThread) [hassio.utils] Can’t execute start while a task is in progress
19-05-05 14:05:09 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
19-05-05 14:05:09 ERROR (MainThread) [hassio.utils] Can’t execute start while a task is in progress
19-05-05 14:05:09 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
19-05-05 14:05:09 ERROR (MainThread) [hassio.utils] Can’t execute start while a task is in progress
19-05-05 14:05:09 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
19-05-05 14:05:09 ERROR (MainThread) [hassio.utils] Can’t execute start while a task is in progress
19-05-05 14:05:09 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
19-05-05 14:05:09 ERROR (MainThread) [hassio.utils] Can’t execute start while a task is in progress
19-05-05 14:05:09 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
19-05-05 14:05:09 ERROR (MainThread) [hassio.utils] Can’t execute start while a task is in progress
19-05-05 14:05:09 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
19-05-05 14:05:09 ERROR (MainThread) [hassio.utils] Can’t execute start while a task is in progress
19-05-05 14:05:09 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
19-05-05 14:05:09 ERROR (MainThread) [hassio.utils] Can’t execute start while a task is in progress
19-05-05 14:05:09 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
19-05-05 14:05:09 ERROR (MainThread) [hassio.utils] Can’t execute start while a task is in progress
19-05-05 14:05:09 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
19-05-05 14:05:09 ERROR (MainThread) [hassio.utils] Can’t execute start while a task is in progress
19-05-05 14:05:09 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
19-05-05 14:05:09 ERROR (MainThread) [hassio.utils] Can’t execute start while a task is in progress
19-05-05 14:05:09 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
19-05-05 14:05:09 ERROR (MainThread) [hassio.utils] Can’t execute start while a task is in progress
19-05-05 14:05:09 INFO (SyncWorker_18) [hassio.docker.interface] Start homeassistant/raspberrypi3-homeassistant

Every 2-3 days HA restarts, same issue. New log:

19-05-23 19:37:25 WARNING (SyncWorker_0) [urllib3.connectionpool] Connection pool is full, discarding connection: localhost
19-05-23 19:37:25 WARNING (SyncWorker_12) [urllib3.connectionpool] Connection pool is full, discarding connection: localhost
19-05-23 19:37:36 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home Assistant Docker!
19-05-23 19:37:36 INFO (SyncWorker_10) [hassio.docker.interface] Start homeassistant/raspberrypi3-homeassistant
19-05-23 19:38:18 INFO (MainThread) [hassio.homeassistant] Detect a running Home Assistant instance

I sometimes get the same thing, a reboot at 3am or something, but I’m not getting the ‘Connection pool is full, discarding connection: localhost’ error message.

Next time it happens I’ll try and save my log

1 Like