Config error when using azure models with proxy environment variables set #3993
Labels
ide:vscode
Relates specifically to VS Code extension
kind:bug
Indicates an unexpected problem or unintended behavior
"needs-triage"
Before submitting your bug report
Relevant environment info
Description
When I start VSCode with proxy environment variables set (e.g.
https_proxy=http://proxy.company.local:80
andhttp_proxy=http://proxy.company.local:80
) while also having a model in my config with the "azure" provider, I get the error[error] Error: Expecting a valid host string in proxy settings, but found "proxy.company.local".
on startup in the Extension Host log.There are no models to select and continue is not functional.
I have also played around with the VSCode settings "Http: Proxy Support" setting it to "override" or "off" as well as turning the setting "Http: Fetch Additional Support" "on" or "off" but it made no difference for me.
I can fix this issue by starting VSCode in an environment where the variables
https_proxy
andhttp_proxy
are not set or by removing the models with provider "azure". Both "solutions" are not really ideal.To reproduce
http_proxy
andhttps_proxy
.Log output
The text was updated successfully, but these errors were encountered: