Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uses the client's proxy settings on the server when working with the Remote Plugin #26

Open
BastianVoigt opened this issue Dec 3, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@BastianVoigt
Copy link

BastianVoigt commented Dec 3, 2019

Describe the bug
Because I have very little privileges on my managed windows machine, I use a Linux VM in the cloud where I have full admin access and I run Visual Studio Code with the "Remote-SSH" extension (https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh). The GUI Client runs on my managed windows desktop machine, the server runs on the Cloud Linux VM.

Now when I open a Kotlin project, it tries to download some stuff from Github and I get the following error message:

Could not update/download Kotlin Debug Adapter: Error: Could not fetch from GitHub releases 
API: RequestError: Error: getaddrinfo ENOTFOUND my-companys-proxy.net:80.

My educated guess is that it tries to download the Kotlin adapter on the Linux server, but it uses the proxy settings from the windows machine, which is an internal DNS name not visible to the cloud instance.

To Reproduce

  • Install the Remote SSH extension
  • Install the Kotlin extension
  • Add a proxy URL in your windows settings
  • Establish an SSH connection to a remote machine as described here: https://code.visualstudio.com/docs/remote/remote-overview
  • Open a kotlin project via the SSH connection
  • Observe the error message as described above

Expected behavior
Any code that runs on the server side should use the proxy settings from the linux server environment (actually, no proxy in my case).

Extension version
0.2.10

Additional context
Add any other context about the problem here.

@BastianVoigt BastianVoigt added the bug Something isn't working label Dec 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant