microsoft / vscode-copilot-release

Feedback on GitHub Copilot Chat UX in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat
Creative Commons Attribution 4.0 International
311 stars 28 forks source link

Setting http.proxy in Client VSCode will affect Copilot running in SSH - Remote server. #1448

Open cesaryuan opened 1 month ago

cesaryuan commented 1 month ago

Setting http.proxy in Client VSCode will affect copilot running in SSH - Remote server.

Steps to Reproduce:

  1. Install VSCode Insiders and start with pure profile.
  2. Set "http.proxy": "http://127.0.0.1:7890" in client VSCode
  3. Prepare an test SSH - Remote server, and Connect to it
  4. Install Copilot on server VSCode
  5. It throws error: Error sending telemetry FetchError: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:7890
  6. Unset "http.proxy": "http://127.0.0.1:7890" in client VSCode
  7. The error disappeared.

Here is the video:

https://github.com/user-attachments/assets/659836d0-78ab-4517-af4d-7902ef535bdd

cesaryuan commented 3 weeks ago

@chrmarti Sorry to bother you. Is there any progress on it?

chrmarti commented 3 weeks ago

@sandy081 Should "http.proxy" be a special case where the local extension host always sees the user setting value and the remote extension host sees the machine setting value?