How to debug Home Assistant Voice setup?

I am having the same problem as Home Assistant Voice PE - "The voice assistant is unable to connect to Home Assistant" - #24 by rochacbruno but I don’t see any errors on the output.

I tried the action: logger.set_level:

action: logger.set_level
data:
  homeassistant.components.esphome: debug
  aioesphomeapi: debug
  homeassistant.components.assist_pipeline: debug
  homeassistant.config_entries: debug

and also on configuration.yaml:

logger:
  default: info
  logs:
    homeassistant.components.voice_assistant: debug
    homeassistant.components.assist_pipeline: debug
    
    homeassistant.components.esphome: debug
    aioesphomeapi: debug
    homeassistant.components.wyoming: debug
    
    homeassistant.components.stt: debug
    homeassistant.components.tts: debug
    
    homeassistant.components.websocket_api: debug
    homeassistant.components.http: debug

I see this kind of stuff on docker logs -t homeassistant:

1447c5aa1eda4d8fc5acbd53af94aa77140b5274f1]
2025-12-31 11:04:39.031 DEBUG (MainThread) [aioesphomeapi.connection] ha-voice-8mb-0a061d @ 10.42.0.189: Got message of type PingResponse (len=0):
2025-12-31 11:05:18.958 DEBUG (MainThread) [aioesphomeapi.connection] ha-voice-8mb-0a061d @ 10.42.0.189: Sending PingRequest:
2025-12-31 11:05:18.958 DEBUG (MainThread) [aioesphomeapi._frame_helper.base] ha-voice-8mb-0a061d @ 10.42.0.189: Sending frame: [0100149b509f71b8400294252f145cd2044d35749ff731]
2025-12-31 11:05:18.968 DEBUG (MainThread) [aioesphomeapi.connection] ha-voice-8mb-0a061d @ 10.42.0.189: Got message of type PingResponse (len=0):

but I don’t see any error, even though I get on HA:

# The voice assistant is unable to connect to Home Assistant

Look at the logs for the esp device
It will show exact error cause

Also

HA >> settings >> system >> network >> local network address must be accessible by voice device