[BUG] SSH connection hangs silently + subsequent chat messages not displayed — likely shared connection issue
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Two symptoms appear together in the same session and are likely caused by the same underlying issue:
SSH connection via the Code tab produces no output and no error — hangs silently
After this occurs, any further messages sent in the Chat tab do not appear in the UI
The second symptom only occurs after the first, suggesting a shared WebSocket or session state is broken by the hanging SSH connection.
Environment:
Interface: Claude Cowork (Chat + Code tab)
Server: root@xxxxxxxxx, working directory /clawdy
Actual behavior:
SSH silently hangs
Chat becomes unresponsive — messages disappear without being displayed
Root cause hypothesis:
The hanging SSH connection likely blocks or corrupts a shared WebSocket/event loop that both the Code tab and Chat tab depend on. When the connection stalls, the entire session's message pipeline breaks.
Possible fixes:
Isolate Chat and Code tab communication channels
Implement SSH connection timeout with explicit error surfacing
Recover/reconnect WebSocket automatically on SSH failure
What Should Happen?
SSH connects or fails with a clear error
Chat remains functional regardless of Code tab state
Error Messages/Logs
none
Steps to Reproduce
Open project in Code tab, initiate SSH connection
SSH hangs — no output, no error
Switch to Chat tab, send any message
Message does not appear
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
none
Claude Code Version
Claude 1.569.0 (49894a)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗