ESPHome cant connect to Home Assistant Voice PE

Hello,
I have homeassistant in a docker container on a small linux machine. Home Assistant Voice PE was connected via ESP Home, set up and working, after the last update HA seems to have troubles to reach Voice? I tried trouble shooting, but reached the end of my knowledge. Here is an exerpt of the log files:

2025-12-06 16:02:22.827 INFO (MainThread) [aioesphomeapi.reconnect_logic] Successfully resolved home-assistant-voice-09beab @ 192.168.XXX.XX in 0.000s
2025-12-06 16:02:23.041 INFO (MainThread) [aioesphomeapi.reconnect_logic] Successfully connected to home-assistant-voice-09beab @ 192.168.178.30 in 0.213s
2025-12-06 16:02:53.045 WARNING (MainThread) [aioesphomeapi.connection] home-assistant-voice-09beab @ 192.168.XXX.XX: Connection error occurred: home-assistant-voice-09beab @ 192.168.XXX.XX: Connection lost
2025-12-06 16:03:53.047 INFO (MainThread) [aioesphomeapi.reconnect_logic] Successfully resolved home-assistant-voice-09beab @ 192.168.178.30 in 0.000s
2025-12-06 16:03:53.145 INFO (MainThread) [aioesphomeapi.reconnect_logic] Successfully connected to home-assistant-voice-09beab @ 192.168.XXX.XX in 0.098s
2025-12-06 16:04:23.150 WARNING (MainThread) [aioesphomeapi.connection] home-assistant-voice-09beab @ 192.168.XXX.XX: Connection error occurred: home-assistant-voice-09beab @ 192.168.XXX.XX: Connection lost
2025-12-06 16:05:23.152 INFO (MainThread) [aioesphomeapi.reconnect_logic] Successfully resolved home-assistant-voice-09beab @ 192.168.178.30 in 0.000s
2025-12-06 16:05:23.259 INFO (MainThread) [aioesphomeapi.reconnect_logic] Successfully connected to home-assistant-voice-09beab @ 192.168.178.30 in 0.107s
2025-12-06 16:05:53.265 WARNING (MainThread) [aioesphomeapi.connection] home-assistant-voice-09beab @ 192.168.XXX.XX: Connection error occurred: home-assistant-voice-09beab @ 192.168.XXX.XX: Connection lost
2025-12-06 16:06:53.267 INFO (MainThread) [aioesphomeapi.reconnect_logic] Successfully resolved home-assistant-voice-09beab @ 192.168.178.30 in 0.000s
2025-12-06 16:06:53.370 INFO (MainThread) [aioesphomeapi.reconnect_logic] Successfully connected to home-assistant-voice-09beab @ 192.168.XXX.XX in 0.102s
2025-12-06 16:08:07.042 INFO (MainThread) [aioesphomeapi.reconnect_logic] Successfully resolved home-assistant-voice-09beab @ 192.168.XXX.XX in 0.000s
2025-12-06 16:08:07.046 INFO (MainThread) [aioesphomeapi.reconnect_logic] Successfully connected to home-assistant-voice-09beab @ 192.168.XXX.XX in 0.004s
2025-12-06 16:08:18.573 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for home-assistant-voice-09beab @ 192.168.XXX.XX: Timed out waiting to finish connect before disconnecting (TimeoutAPIError)
2025-12-06 16:08:18.573 INFO (MainThread) [aioesphomeapi.reconnect_logic] Trying to connect to home-assistant-voice-09beab @ 192.168.XXX.XX in the background
2025-12-06 16:08:18.574 INFO (MainThread) [aioesphomeapi.reconnect_logic] Successfully resolved home-assistant-voice-09beab @ 192.168.XXX.XX in 0.000s
2025-12-06 16:08:18.579 INFO (MainThread) [aioesphomeapi.reconnect_logic] Successfully connected to home-assistant-voice-09beab @ 192.168.XXX.XX in 0.005s
2025-12-06 16:08:48.583 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for home-assistant-voice-09beab @ 192.168.XXX.XX: Timeout waiting for HelloResponse, ConnectResponse after 30.0s (TimeoutAPIError)
2025-12-06 16:08:48.583 INFO (MainThread) [aioesphomeapi.reconnect_logic] Trying to connect to home-assistant-voice-09beab @ 192.168.XXX.XX in the background

It seems to be in a Loop of connecting and loosing connection.
What i Tried so far:

  • Restart HA
  • Restart Voice PE
  • Deleted Voice from HA
  • Reset Voice PE to default settings
  • Added it freshly to HA
  • Tried to find any odd settings in my Network
  • Searched online but nobody seems to have this problem

When in that state the Voice PE is pingable from my Desktop and from the HA Host machine.

Any idea or clue what i can try?

Did you set api key on HA voice?

Can you check log on HAVoice and see what it is doing?

Is the IP HA is connecting with HAvoice at correct? I can’t tell but is IP changing?

1 Like

I managed to solve it:

[10:34:20][W][api.connection:1889]: Home Assistant 2025.6.1 (192.168.XXX.XX): Reading failed CONNECTION_CLOSED errno=128

Which made me aware of that my HA Core is running behind on Updates.
Bringing it to 2025.12.1 fixed everything :smiley: