-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Problem (one or two sentences)
The model list cannot be fetched and remains empty. Developer Tools show repeated network errors (ECONNRESET) while fetching models info
Context (who is affected and when)
Happens to users running Roo Code in a remote vscode environment. The issue prevents selecting models because the list never loads.
Reproduction steps
- Environment/setup
- OS: CentOS Linux 7 (Linux 3.10.0-1127.el7.x86_64)
- Roo Code extension:
3.43.0 - VS Code:
1.108.0 - Node runtime in Extension Host reports:
node 22.21.1
- Exact actions
- Connect to the remote host with VS Code (Remote SSH / vscode-server).
- Install/enable Roo Code.
- Configure API Provider to OpenRouter.
- Open Roo Code model selection list.
- Observed
- The model list does not load (empty/unavailable).
- Extension Host logs show errors fetching OpenRouter models.
curlfrom the same machine can fetch the models successfully, but the extension request fails.
Expected result
The model list loads successfully from OpenRouter and is selectable.
Actual result
The model list fails to load. Extension Host shows ECONNRESET / “Client network socket disconnected before secure TLS connection was established”.
Variations tried (optional)
Confirmed connectivity from the same remote host:
curl https://openrouter.ai/api/v1/modelssucceeds.- Node built-in
https.get(...)succeeds (HTTP 200) in the Extension Host environment, while Roo Code’s bundled Axios requests fail withECONNRESETduring TLS setup.
Temporary workaround (works for now):
- Patched/overrode the extension’s bundled Axios instance at runtime so requests use Node’s native
http/httpstransport instead of the bundled Axios adapter.
App Version
v3.43.0
API Provider (optional)
OpenRouter
Model Used (optional)
No response
Roo Code Task Links (optional)
No response
Relevant logs or errors (optional)
[Extension Host] Error fetching OpenRouter models: {
"code": "ECONNRESET",
"message": "Client network socket disconnected before secure TLS connection was established",
"stack": "Error: Client network socket disconnected before secure TLS connection was established\n\tat Hie.from (~/.vscode-server/extensions/rooveterinaryinc.roo-cline-3.43.0/dist/extension.js:355:15809)\n\tat bE.<anonymous> (~/.vscode-server/extensions/rooveterinaryinc.roo-cline-3.43.0/dist/extension.js:363:11345)\n\tat bE.emit (node:events:519:28)\n\tat $Yt.<computed> (~/.vscode-server/extensions/rooveterinaryinc.roo-cline-3.43.0/dist/extension.js:362:1147)\n\tat ClientRequest.emit (node:events:519:28)\n\tat emitErrorEvent (node:_http_client:107:11)\n\tat TLSSocket.socketErrorListener (node:_http_client:574:5)\n\tat TLSSocket.emit (node:events:519:28)\n\tat emitErrorNT (node:internal/streams/destroy:170:8)\n\tat emitErrorCloseNT (node:internal/streams/destroy:129:3)\n\tat process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n\tat tae.request (~/.vscode-server/extensions/rooveterinaryinc.roo-cline-3.43.0/dist/extension.js:365:2262)\n\tat process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n\tat async fSi (~/.vscode-server/extensions/rooveterinaryinc.roo-cline-3.43.0/dist/extension.js:2917:9229)\n\tat async BRi (~/.vscode-server/extensions/rooveterinaryinc.roo-cline-3.43.0/dist/extension.js:3295:14207)\n\tat async ~/.vscode-server/extensions/rooveterinaryinc.roo-cline-3.43.0/dist/extension.js:3295:16653",
"name": "Error",
"config": {}
}
# Node built-in https works (same environment):
node -e "require('https').get('https://openrouter.ai/api/v1/models',r=>{console.log('status',r.statusCode);r.resume()}).on('error',e=>console.error(e))"
status 200
# Attempting to force axios http adapter fails (bundle missing module):
Error: Cannot find module 'axios/lib/adapters/http'
# Attempting to use node build fails (bundle missing file):
Error: Cannot find module 'axios/dist/node/axios.cjs'Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Triage