1
0
mirror of synced 2025-12-23 21:07:12 -05:00
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:
Sunbrye Ly
2025-08-07 10:01:21 -07:00
committed by GitHub
parent 7d61290462
commit 2d0274d46f
10 changed files with 68 additions and 71 deletions

View File

@@ -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 %}