Does anyone know why - ERROR asyncio - Unclosed cl...
# agents
w
Does anyone know why - ERROR asyncio - Unclosed client session, keeps on happening whenever dispatching an agent to a room?
r
I've not seen this
What version agents are you running?
pip freeze |grep livekit
w
1.2.2
Installing 1.2.5, see if it changes the error from happening in the worker
It is still happening, ERROR asyncio - Unclosed client session, it seems to be from asyncio
s
Copy code
2025-08-16 17:34:23,070 - ERROR asyncio - Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x1461b0410> {"room": "fake_room"}
ERROR:asyncio:Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x1461b0910>
2025-08-16 17:34:23,070 - ERROR asyncio - Unclosed client session
yeah, even i am also getting it @refined-appointment-81829
w
Also, ERROR livekit.agents - Error in _read_ipc_task, happens sometimes whenever dispatching agent again to make an outbound call, and it seems to be caused by worker not responding well. When this happens, the agent seems to have not been dispatched and therefore outbound call happens without their anything their to speak to call receiving SIP participant.