Error with session service when Double Texting on CloudRun
** Please make sure you read the contribution guide and file the issues in the right place. ** Contribution guide.
Describe the bug When deployed to Cloud Run with MySQL database as the session store, the ADK app encountered issues when the end user double texts, i.e. the user sends multiple messages while the agent is thinking.
There is not encountered when it is locally deployed using in memory session.
To Reproduce
- Deploy the ADK agent to Cloud Run
- Configure to use the MySQL Session Store
- Sends multiple messages while the agent is thinking
Expected behavior The agent handles the messages one by one in order without errors
Logs Traceback (most recent call last):\n File "/usr/local/lib/python3.13/site-packages/google/adk/cli/fast_api.py", line 697, in event_generator\n async for event in runner.run_async(
ERROR:google_adk.google.adk.cli.fast_api:Error in event_generator: The last_update_time provided in the session object '2025-05-30 08:19:13' is earlier than the update_time in the storage_session '2025-05-30 08:19:14'. Please check if it is a stale session.
Desktop (please complete the following information):
- Platform: Cloud Run
- Python version(python -V): 3.11.12
- ADK version(pip show google-adk): 1.0
Any updates on this issue? My user needs to chat with multiple messages while the model is still thinking.
same issue with version google-adk 1.13
same issue with version google-adk 1.13
+1, same issue here.
+1, same issue here.
We are taking a look.
+1, same issue here. python adk:1.18.0
Hello,
We recommend testing with latest version i.e. google-adk==1.21.0 and check if it is resolved or not.
This issue has been automatically marked as stale because it has not had recent activity for 7 days after a maintainer requested clarification. It will be closed if no further activity occurs within 7 days.
I'm still getting the "stale session" error on ADK v1.22.0. See my comment here: https://github.com/google/adk-python/issues/3717#issuecomment-3765434425
Hello @GWeale ,
Could you please find some time to have a look at this and share your inputs?
Yes, looking into now thank you for the detail