-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Description
Problem
MCP extensions with persistent connections (e.g., Snowflake, databases) frequently drop mid-session with errors like "Transport closed". When this happens, every subsequent tool call fails until the user manually disables and re-enables the extension.
Goose has no way to detect or recover from this state automatically.
Current Behavior
- Extension connection drops (timeout, network issue, server restart)
- All subsequent calls fail with connection errors
- User must manually go to Extensions page, disable, then re-enable
- Or restart entire Goose session (losing conversation context)
Proposed Solution
- Detection: Recognize connection drop patterns (repeated Transport closed, connection refused, timeout errors)
- Auto-recovery: Automatically attempt to disable/re-enable the extension
- User notification: Inform user that extension was reconnected
- Fallback: If auto-reconnect fails after N attempts, prompt user to manually intervene
Impact
- Interrupts long analytical/development workflows
- Loses conversation context when forced to restart session
- Poor UX for extensions that require persistent connections
Example
Snowflake extension drops connection after ~30 min of inactivity or heavy queries. User sees:
Error: -32603: Transport closed
Every query fails until manual intervention.
Workaround
User manually disables and re-enables the extension in the Extensions page.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels