medium severityGoogle ADK (adk-python), aiohttp via google-genai

ERROR asyncio:base_events.py:1879 Unclosed client session and Unclosed connector with ResponseHandler objects lingering in connections deque during ADK streaming (/run_sse) or eval runs, breaking evaluations.

Root cause

Dependency version mismatch after bumping google-genai to 1.37.0+ caused aiohttp ClientSession and TCPConnector (with ResponseHandler) not to close properly in concurrent eval/streaming scenarios, due to incomplete resource cleanup in google-genai before fix in ADK.

aiohttpResponseHandlerunclosed sessiongoogle-genaistreamingsseadk-python

Citations