{"record":{"id":"8475320a69731d5b","repo":"BerriAI/litellm","slug":"a2a-send-message-streaming-failed-no-response-rec","errorCode":null,"errorMessage":"A2A send_message_streaming failed: no response received after retry attempts.","messagePattern":"A2A send_message_streaming failed: no response received after retry attempts\\.","errorType":"exception","errorClass":"RuntimeError","httpStatus":null,"severity":"error","filePath":"litellm/a2a_protocol/main.py","lineNumber":375,"sourceCode":"            card_url = get_agent_card_url(agent_card) if agent_card else None\n            continue\n        except Exception as e:\n            if response_started:\n                raise\n            try:\n                map_a2a_exception(e, card_url, api_base, model=agent_name)\n            except A2ALocalhostURLError as localhost_err:\n                a2a_client = await handle_a2a_localhost_retry(\n                    error=localhost_err,\n                    agent_card=agent_card,\n                    a2a_client=a2a_client,\n                    is_streaming=True,\n                )\n                card_url = get_agent_card_url(agent_card) if agent_card else None\n                continue\n            raise\n    if not stream_succeeded:\n        raise RuntimeError(\"A2A send_message_streaming failed: no response received after retry attempts.\")\n\n\n@client\nasync def asend_message(\n    a2a_client: Optional[\"A2AClientType\"] = None,\n    request: Optional[\"SendMessageRequest\"] = None,\n    api_base: str | None = None,\n    litellm_params: dict[str, object] | None = None,\n    agent_id: str | None = None,\n    agent_extra_headers: dict[str, str] | None = None,\n    **kwargs: object,\n) -> LiteLLMSendMessageResponse:\n    \"\"\"\n    Async: Send a message to an A2A agent.\n\n    Uses the @client decorator for LiteLLM logging and tracking.\n    If litellm_params contains custom_llm_provider, routes through the completion bridge.\n","sourceCodeStart":357,"sourceCodeEnd":393,"githubUrl":"https://github.com/BerriAI/litellm/blob/6c2dcb801bf2b75c18f1bb24140e7cf57465cc4d/litellm/a2a_protocol/main.py#L357-L393","documentation":"Error \"A2A send_message_streaming failed: no response received after retry attempts.\" thrown in BerriAI/litellm.","triggerScenarios":"Thrown at litellm/a2a_protocol/main.py:375 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["The agent did not stream a response after retries; check agent availability and streaming support."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6c2dcb801bf2b75c18f1bb24140e7cf57465cc4d","analyzedAt":"2026-08-15T07:12:03.035Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}