Skip to content

wsl2 fails to reconnect after hibernate #1616

@pasoni

Description

@pasoni
  • VSCode Version:
    Version: 1.38.1 (user setup)
    Commit: b37e54c98e1a74ba89e03073e5a3761284e3ffb0
    Date: 2019-09-11T13:35:15.005Z
    Electron: 4.2.10
    Chrome: 69.0.3497.128
    Node.js: 10.11.0
    V8: 6.9.427.31-electron.0
    OS: Windows_NT x64 10.0.18995

  • Local OS Version:
    18995.1001.amd64fre.vb_release_base.190927-1603

  • Remote OS Version:
    Ubuntu 18.04 (WSL2)

VSCode-Cannot-reconnect

  • Remote Extension/Connection Type: SSH/Docker/WSL
    WSL
    Steps to Reproduce:
  1. connect to WSL2 via VSCode remote
  2. launch WSL2 terminal set some environment variables.
  3. Leave session open and let machine hibernate ( on laptop close lid and leave it in that state for ~10 minutes)
  4. log on to machine
  5. look at VSCode , you should be connected to WSL2 remote

Does this issue occur when you try this locally?: Yes/No
Does this issue occur when you try this locally and all extensions are disabled?: Yes/No

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugwsl2WSL 2 related issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions