Tented (#57008)
Co-authored-by: Sarita Iyer <66540150+saritai@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -74,13 +74,15 @@ If you have configured a proxy but are still encountering connection errors, see
|
||||
While {% data variables.product.prodname_copilot_short %} for {% data variables.product.prodname_vs %} reads the proxy settings from Windows, it does not retrieve authentication credentials from those Windows settings.
|
||||
|
||||
If you need to authenticate to a proxy, you can try one of the below:
|
||||
1. Enable passing default proxy credentials by setting the environment variable `COPILOT_USE_DEFAULTPROXY` to `true`.
|
||||
- **Windows example**: Open the Command Prompt and run the following command:
|
||||
```
|
||||
1. Enable passing default proxy credentials by setting the environment variable `COPILOT_USE_DEFAULTPROXY` to `true`.
|
||||
* **Windows example**: Open the Command Prompt and run the following command:
|
||||
|
||||
```bash
|
||||
setx COPILOT_USE_DEFAULTPROXY true
|
||||
```
|
||||
|
||||
This sets the variable permanently for your user account. Restart any applications that need to use this variable.
|
||||
2. You can include your credentials in the proxy URL (for example: `http://USERNAME:PASSWORD@10.203.0.1:5187/`), then set this URL as one of the supported environment variables listed in [Proxy settings for {% data variables.product.prodname_copilot_short %}](/copilot/concepts/network-settings-for-github-copilot#proxy-settings-for-copilot).
|
||||
1. You can include your credentials in the proxy URL (for example: `http://USERNAME:PASSWORD@10.203.0.1:5187/`), then set this URL as one of the supported environment variables listed in [Proxy settings for {% data variables.product.prodname_copilot_short %}](/copilot/concepts/network-settings-for-github-copilot#proxy-settings-for-copilot).
|
||||
|
||||
{% endvisualstudio %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user