Skip to content

Commit 472141b

Browse files
authored
Merge pull request #57013 from github/repo-sync
Repo sync
2 parents b753dff + f584b8f commit 472141b

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

content/copilot/how-tos/configure-personal-settings/configure-network-settings.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,16 @@ If you have configured a proxy but are still encountering connection errors, see
7171

7272
### Basic authentication
7373

74-
{% data variables.product.prodname_copilot_short %} for {% data variables.product.prodname_vs %} does not retrieve authentication credentials from the Windows settings. If you need to authenticate to a proxy, you can include your credentials in the proxy URL (for example: `http://USERNAME:[email protected]: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).
74+
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.
75+
76+
If you need to authenticate to a proxy, you can try one of the below:
77+
1. Enable passing default proxy credentials by setting the environment variable `COPILOT_USE_DEFAULTPROXY` to `true`.
78+
- **Windows example**: Open the Command Prompt and run the following command:
79+
```
80+
setx COPILOT_USE_DEFAULTPROXY true
81+
```
82+
This sets the variable permanently for your user account. Restart any applications that need to use this variable.
83+
2. You can include your credentials in the proxy URL (for example: `http://USERNAME:[email protected]: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).
7584
7685
{% endvisualstudio %}
7786
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
> [!NOTE] While this `github-pages` gem remains supported for some workflows, {% data variables.product.prodname_actions %} is now the recommended approach for deploying and automating {% data variables.product.prodname_pages %} sites.
1+
> [!NOTE] While the `github-pages` gem remains supported for some workflows, {% data variables.product.prodname_actions %} is now the recommended approach for deploying and automating {% data variables.product.prodname_pages %} sites.

0 commit comments

Comments
 (0)