MCP tool listing hangs indefinitely when server is unresponsive
メンテナーはふだん 1 日以内に返信
評価
この issue はまだ評価されていません。
説明
Describe the Bug
Issue
When listing MCP tools, if the MCP server is unresponsive or is throwing some error, session.initialize()
gets stuck indefinitely/keeps retrying instead of failing fast.
Likely cause: session.initialize() in /agentgateway/_lob.py (lines 350
and 482) has no deadline at the MCP protocol level. While self._config.timeout
(default 60 s) is passed down to httpx.AsyncClient, it only bounds individual
HTTP chunk reads — SSE keep-alives from the server continuously reset this timer,
so the call never actually times out.
Steps to Reproduce
Try listing tools from an MCP server that isn't working or is unreachable. The AGW client keeps retrying until the upstream request times out
Expected Behavior
It should retry once or twice and then error out
Screenshots
No response
Used Versions
https://github.tools.sap/agent-extensibility/extensibility-agent/blob/main/requirements.txt
Code Examples
# Your code here
Stack Trace
No response
Log File
Log file
...Affected Development Phase
Development
Impact
Blocked
Timeline
This is a requirement for EAC
- 主要言語
- Python
- スター
- 29
- フォーク
- 45
- 平均マージ
- 2日 4時間
- マージ済み PR(30日)
- 51
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
SAP/cloud-sdk-python のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 15/100
SAP/cloud-sdk-python#474 ·
メンテナーはふだん 1 日以内に返信
-
Relax opentelemetry-api cap (~=1.44.0) to allow 1.45.2 (fixes CVE-2026-114603 / GHSA-xcq7-p3pf-p88h)オープン
難易度 3/5 1〜2日 初心者へのやさしさ 64/100
SAP/cloud-sdk-python#472 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
SAP/cloud-sdk-python#456 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 65/100
SAP/cloud-sdk-python#452 ·
メンテナーはふだん 1 日以内に返信
-
How/Whether langgraph-checkpoint-hana would be supported by sap-cloud-sdk?対応中かも @gpretto が 3 日前に担当しました。 オープンquestion
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
SAP/cloud-sdk-python#427 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
SAP/cloud-sdk-python の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
roman-corgi/corgisim#327 ·
メンテナーはふだん 2 日以内に返信
-
[Bug]: opencode_go chat route drops reasoning_effort (even 'none'), while the same endpoint honors it via custom_llm_provider=openai対応中かも @arvindkumar-ship-it が今日担当しました。 オープンllm translation
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
BerriAI/litellm#51871 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
PolicyEngine backdates South Carolina’s EITC into 2015–2017対応中かも @MaxGhenis が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
PolicyEngine/policyengine-us#10944 ·
メンテナーはふだん 2 日以内に返信
-
fix(frontend): resolve SSE parser crash on unhandled Ref methods and undefined actions identifierオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
kodokbakar/MiroFish-Local#94 ·
メンテナーはふだん 1 日以内に返信