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

Test: Support connecting to the remote server through a wsl.exe proxy #5960

Closed
2 tasks done
aeschli opened this issue Nov 29, 2021 · 1 comment
Closed
2 tasks done

Comments

@aeschli
Copy link
Contributor

aeschli commented Nov 29, 2021

Refs: #5894

Complexity: 3

Create Issue


The WSL -Remote extension now uses a new connection method for WSL2 when connecting to the remote extension host. It's using a local proxy that runs wsl.exe to talk to the distro.

  • Make sure you are on the latest Code-Insiers 1.63 and Remote WSL version 0.63.3
  • Open the settings and look for settings remote.WSL1.connectionMethod and remote.WSL2.connectionMethod. Verify that the one for WSL1 is set to localhost, and for WSL2 it is wslExeProxy.
  • Open a remote window and check that the WSL log (command: Remote-WSL: Show Log) tells you at the end which connection method has been used.
  • Verify that changing the connection method works (needs a restart of VS Code)
  • Verify that opening a remote window with the method wslExeProxy works.
  • Test that the steps from [remote][connection] Allow offline editing in Remote-WSL vscode#121799 (comment) no longer cause a reconnect
    • open a new WSL 2 window
    • open the server log (Log (Remote Server)) and observethat turning the active network adapter on and off does not case a reconnect in the log
  • Test that sleeping or hibernating the machine does not show a reconnection dialog or require a reload.
@aeschli aeschli added this to the November 2021 milestone Nov 29, 2021
@ghost ghost assigned alexdima and rzhao271 Nov 30, 2021
@alexdima
Copy link
Member

👍 Works really nice!

@alexdima alexdima removed their assignment Nov 30, 2021
@rzhao271 rzhao271 removed their assignment Nov 30, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jan 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants