FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix issue where client tool call hangs forever if server crashes or connection dies when using streamable-http by gyang-xai · Pull Request #1578 · modelcontextprotocol/python-sdk · GitHub

Fix issue where client tool call hangs forever if server crashes or connection dies when using streamable-http - #1578

Closed
gyang-xai wants to merge 9 commits into
modelcontextprotocol:mainfrom
gyang-xai:streamable_http_disconnection_fix
Closed

Fix issue where client tool call hangs forever if server crashes or connection dies when using streamable-http#1578
gyang-xai wants to merge 9 commits into
modelcontextprotocol:mainfrom
gyang-xai:streamable_http_disconnection_fix

Conversation

gyang-xai commented Nov 5, 2025
edited
Loading

Copy link
Copy Markdown

A fix for #1577

Motivation and Context

Fixes issue where some errors are not propagated back to the tool call.

How Has This Been Tested?

Tested with the example in the issue.

Breaking Changes

No

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

I have tested this with tool calls but unsure if this works for the other resource types.

gyang-xai force-pushed the streamable_http_disconnection_fix branch 2 times, most recently from f1be402 to 245c47a Compare November 5, 2025 03:30
gyang-xai force-pushed the streamable_http_disconnection_fix branch from 245c47a to f2d0cc2 Compare November 5, 2025 03:30
maxisbey added the bug Something isn't working label Nov 5, 2025
gyang-xai marked this pull request as ready for review November 5, 2025 18:08

Copy link
Copy Markdown
Author

@maxisbey I have merged in the latest changes can you review? This is still an issue with the most recent version.

maxisbey added the P2 Moderate issues affecting some users, edge cases, potentially valuable feature label Dec 31, 2025

Copy link
Copy Markdown
Contributor

Thanks for the PR. Tracking this in #2732 instead. Closing this as part of a wider backlog cleanup following the v2 launch. Feel free to reopen if this is still relevant.

AI Disclaimer

maxisbey closed this Aug 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working P2 Moderate issues affecting some users, edge cases, potentially valuable feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL