{"record":{"id":"3393829dfb8150e7","repo":"BerriAI/litellm","slug":"a2a-send-message-failed-no-response-received-afte","errorCode":null,"errorMessage":"A2A send_message failed: no response received after retry attempts.","messagePattern":"A2A send_message failed: no response received after retry attempts\\.","errorType":"exception","errorClass":"RuntimeError","httpStatus":null,"severity":"error","filePath":"litellm/a2a_protocol/main.py","lineNumber":311,"sourceCode":"                is_streaming=False,\n            )\n            card_url = get_agent_card_url(agent_card) if agent_card else None\n        except Exception as e:\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=False,\n                )\n                card_url = get_agent_card_url(agent_card) if agent_card else None\n                continue\n            except Exception:\n                raise\n    if a2a_response is None:\n        raise RuntimeError(\"A2A send_message failed: no response received after retry attempts.\")\n    return a2a_response\n\n\nasync def _stream_messages(\n    a2a_client: \"A2AClientType\", request: \"SendStreamingMessageRequest\"\n) -> AsyncIterator[\"SendStreamingMessageResponse\"]:\n    \"\"\"Stream message events via a2a-sdk 1.x and yield JSON-RPC chunks.\"\"\"\n    if _a2a_conversions is None:\n        raise ImportError(\n            \"The 'a2a' package is required for A2A agent invocation. Install it with: pip install a2a-sdk\"\n        )\n\n    pb_request: Final[CoreSendMessageRequest] = _a2a_conversions.to_core_send_message_request(request)\n    async for event in a2a_client.send_message(pb_request, context=_get_a2a_call_context(a2a_client)):\n        compat_chunk = _to_compat_stream_response(event, request_id=request.id)\n        yield SendStreamingMessageResponse(root=compat_chunk)\n\n","sourceCodeStart":293,"sourceCodeEnd":329,"githubUrl":"https://github.com/BerriAI/litellm/blob/6c2dcb801bf2b75c18f1bb24140e7cf57465cc4d/litellm/a2a_protocol/main.py#L293-L329","documentation":"Error \"A2A send_message failed: no response received after retry attempts.\" thrown in BerriAI/litellm.","triggerScenarios":"Thrown at litellm/a2a_protocol/main.py:311 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["The agent did not respond after retries; check agent availability, URL, and increase timeout/retries if needed."],"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"}