[BUG] JetBrains extension fails to initialize ACP session - "Query closed before response received"
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?
Description:
Environment:
Claude Code version: v2.1.84
IDE: JetBrains (WebStorm)
OS: Windows
Problem:
JetBrains extension fails to initialize with error:
Failed to initialize ACP process. Process terminated with exit code: 1.
Error handling request {
type: 'com.agentclientprotocol.rpc.JsonRpcRequest',
id: 3,
method: 'session/new',
params: { cwd: 'C:\\Users\\test\\e2e-aos', mcpServers: [] },
jsonrpc: '2.0'
} {
code: -32603,
message: 'Internal error',
data: { details: 'Query closed before response received' }
}
Expected behavior:
Extension initializes successfully and AI Chat panel works in the IDE sidebar.
Actual behavior:
Extension shows error in AI Chat panel. Claude Code works fine via terminal with the same project.
Workaround:
Works via terminal after setting:
powershell$env:CLAUDE_CODE_GIT_BASH_PATH = "C:\Users\test\AppData\Local\Programs\Git\bin\bash.exe"
claude
What Should Happen?
Expected behavior:
Extension initializes successfully and AI Chat panel works in the IDE sidebar.
Actual behavior:
Extension shows error in AI Chat panel. Claude Code works fine via terminal with the same project.
Workaround:
Works via terminal after setting:
powershell$env:CLAUDE_CODE_GIT_BASH_PATH = "C:\Users\test\AppData\Local\Programs\Git\bin\bash.exe"
claude
Error Messages/Logs
Description:
Environment:
Claude Code version: v2.1.84
IDE: JetBrains (WebStorm)
OS: Windows
Problem:
JetBrains extension fails to initialize with error:
Failed to initialize ACP process. Process terminated with exit code: 1.
Error handling request {
type: 'com.agentclientprotocol.rpc.JsonRpcRequest',
id: 3,
method: 'session/new',
params: { cwd: 'C:\\Users\\test\\e2e-aos', mcpServers: [] },
jsonrpc: '2.0'
} {
code: -32603,
message: 'Internal error',
data: { details: 'Query closed before response received' }
}
Steps to Reproduce
Description:
Environment:
Claude Code version: v2.1.84
IDE: JetBrains (WebStorm)
OS: Windows
Problem:
JetBrains extension fails to initialize with error:
Failed to initialize ACP process. Process terminated with exit code: 1.
Error handling request {
type: 'com.agentclientprotocol.rpc.JsonRpcRequest',
id: 3,
method: 'session/new',
params: { cwd: 'C:\\Users\\test\\e2e-aos', mcpServers: [] },
jsonrpc: '2.0'
} {
code: -32603,
message: 'Internal error',
data: { details: 'Query closed before response received' }
}
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
v2.1.84
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗