Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug when behind proxy for Azure models #4202

Open
3 tasks done
grosjeang opened this issue Feb 17, 2025 · 1 comment
Open
3 tasks done

Bug when behind proxy for Azure models #4202

grosjeang opened this issue Feb 17, 2025 · 1 comment
Assignees
Labels
ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior "needs-triage"

Comments

@grosjeang
Copy link

grosjeang commented Feb 17, 2025

Before submitting your bug report

Relevant environment info

- Continue version: 0.9.268
- IDE version: VS Code 1.97.2
- config.json:
  
{
  "models": [{
    "title": "GPT-4o",
    "provider": "azure",
    "model": "gpt-4o",
    "apiBase": "<YOUR_DEPLOYMENT_BASE>",
    "deployment": "<YOUR_DEPLOYMENT_NAME>",
    "apiKey": "<MY_API_KEY>", // If you use subscription key, try using Azure gateway to rename it apiKey
    "apiType": "azure-foundry" // Or "azure-openai" if using OpenAI models
  }]
}

Description

I want to try a model I deployed in Azure. I always have the following error when I set "provider": "azure":

Fatal Error: Expecting a valid host string in proxy settings, but found "<MY_PROXY_IP>".

I only get this error when switching to pre-release version, I don't get it using release version.

I am working in a company behind a proxy.

To reproduce

No response

Log output

@dosubot dosubot bot added ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior labels Feb 17, 2025
@aero-oli
Copy link

Also getting this error.

in config.json my proxy looks like "http://username:[email protected]:port"

then get this error

Fatal Error: Expecting a valid host string in proxy settings, but found "xxxxxx.xxxxxx.xxxxx.priv".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior "needs-triage"
Projects
None yet
Development

No branches or pull requests

3 participants