Google ADK Agent Fails to Reach Its Own Server When Deployed to Cloud Run
A developer built a multi-cloud research project running AI agents on Google Cloud Run, AWS Bedrock AgentCore, and Azure Container Apps, all communicating via the open Agent2Agent (A2A) protocol. The Google side uses the Agent Development Kit (ADK), which can convert an agent into an A2A server in a single line of code. However, a bug in ADK's to_a2a() function causes it to embed the internal bind address (0.0.0.0:8080) into the publicly advertised agent card, making the endpoint unroutable from outside. Third-party clients from AWS and Azure worked around this flaw, but ADK's own RemoteA2aAgent client blindly dials the card URL and fails to connect. The failure is compounded by a misleading AttributeError in the error handler, masking the true network-routing root cause.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in