MCP tool listing hangs indefinitely when server is unresponsive
Maintainer thường phản hồi trong vòng 1 ngày
@thiagob đang làm issue này rồi.
Từ ngày 14/9/2026.
- #319 của @wangzhengzhuo05 — đã đóng, không merge
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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
- Ngôn ngữ chính
- Python
- Star
- 29
- Fork
- 45
- Merge trung bình
- 2 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 51
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của SAP/cloud-sdk-python
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 15/100
SAP/cloud-sdk-python#474 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Relax opentelemetry-api cap (~=1.44.0) to allow 1.45.2 (fixes CVE-2026-114603 / GHSA-xcq7-p3pf-p88h)Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 64/100
SAP/cloud-sdk-python#472 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
SAP/cloud-sdk-python#456 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 65/100
SAP/cloud-sdk-python#452 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
How/Whether langgraph-checkpoint-hana would be supported by sap-cloud-sdk?Có thể đã có người làm @gpretto đã nhận 3 ngày trước. Đang mởquestion
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
SAP/cloud-sdk-python#427 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của SAP/cloud-sdk-python
Issue tương tự
-
generate_observation_scenario_from_cpgs exposure time conversion when auto-gain set to 'yes'Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
roman-corgi/corgisim#327 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
[Bug]: opencode_go chat route drops reasoning_effort (even 'none'), while the same endpoint honors it via custom_llm_provider=openaiCó thể đã có người làm @arvindkumar-ship-it đã nhận hôm nay. Đang mởllm translation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
BerriAI/litellm#51871 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
PolicyEngine backdates South Carolina’s EITC into 2015–2017Có thể đã có người làm @MaxGhenis đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
PolicyEngine/policyengine-us#10944 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
fix(frontend): resolve SSE parser crash on unhandled Ref methods and undefined actions identifierĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
kodokbakar/MiroFish-Local#94 ·
Maintainer thường phản hồi trong vòng 1 ngày