-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
Problem (one or two sentences)
In completely offline or restricted network environments, Roo-Cline fails to work with self-hosted OpenAI-compatible endpoints. Observed issues include:
Model list cannot be loaded
AI chat functionality mostly inaccessible
Logs indicate DNS resolution failures or connection timeouts, causing the extension to fail initialization and become largely unusable.
Context (who is affected and when)
all
Reproduction steps
Environment
VSCode Version: 1.112.0
Extension Version: roo-cline 3.51.1
OS: Windows 10 x64
Network: Offline / restricted environment
Expected result
Model dropdown should load correctly regardless of whether a proxy/capture tool is active
Actual result
Model dropdown does not populate
Variations tried (optional)
In a fully offline or restricted network environment, the Roo-Cline extension fails to load the model list by default. However, if Fiddler (or any local proxy/capture tool) is running, the model dropdown loads normally.
Developer tools suggest that the issue may be caused by a race condition or incorrect initialization code: the code responsible for fetching and rendering the model list does not trigger when no proxy is running. This indicates a potential bug in the extension’s startup or network detection logic.
Initialization code should not depend on side effects of network interception tools
App Version
3.51.1 (7c9722b)
API Provider (optional)
OpenAI Compatible
Model Used (optional)
all
Roo Code Task Links (optional)
No response
Relevant logs or errors (optional)
rror fetching models for roo: Error: Failed to fetch Roo Code Cloud models: Request timed out after 10 seconds.
Error fetching Vercel AI Gateway models: {
"code": "EAI_AGAIN",
"message": "getaddrinfo EAI_AGAIN ai-gateway.vercel.sh",
"stack": "Error: getaddrinfo EAI_AGAIN ai-gateway.vercel.sh\n\tat hM.from
R [Extension Host] [getRooModels] Error fetching Roo Code Cloud models: {message: 'This operation was aborted', name: 'AbortError', stack: 'AbortError: This operation was aborted\n\tat node:in…nc.roo-cline-3.51.1\\dist\\extension.js:4827:21890)', url: 'https://api.roocode.com/proxy/v1/models', hasApiKey: false}