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

Remote desktop connection drops when opening vscode #233945

Open
isaacag opened this issue Nov 15, 2024 · 6 comments
Open

Remote desktop connection drops when opening vscode #233945

isaacag opened this issue Nov 15, 2024 · 6 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug remote-desktop windows VS Code on Windows issues

Comments

@isaacag
Copy link

isaacag commented Nov 15, 2024

Type: Bug

Connection drops for at least 30 seconds up to several minutes when opening vscode.

VS Code version: Code 1.95.3 (f1a4fb1, 2024-11-13T14:50:04.152Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info
Item Value
CPUs Intel(R) Xeon(R) W-2104 CPU @ 3.20GHz (4 x 3192)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 15.69GB (9.93GB free)
Process Argv C:\testrack\test\.vscode\testrack.code-workspace --crash-reporter-id a53dc31f-19d6-4a43-919c-b5007b87d4cb
Screen Reader no
VM 0%
Extensions (9)
Extension Author (truncated) Version
ruff cha 2024.54.0
debugpy ms- 2024.13.2024111101
python ms- 2024.21.2024111501
vscode-pylance ms- 2024.11.100
jupyter ms- 2024.11.2024102401
jupyter-keymap ms- 1.1.2
jupyter-renderers ms- 1.0.21
vscode-jupyter-cell-tags ms- 0.1.9
vscode-jupyter-slideshow ms- 0.1.6
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
01bff139:31013167
dvdeprecation:31068756
dwnewjupyter:31046869
newcmakeconfigv2:31071590
impr_priority:31102340
nativerepl2:31139839
pythonrstrctxt:31112756
cf971741:31144450
iacca1:31171482
notype1:31157159
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31181875

@isaacag
Copy link
Author

isaacag commented Nov 17, 2024

When using the --disable-extensions flag the issue seems to be no longer reproducible, but disabling all the installed extensions manually still triggers the issue.

charliermarsh.ruff
ms-python.debugpy
ms-python.python
ms-python.vscode-pylance
ms-toolsai.jupyter
ms-toolsai.jupyter-keymap
ms-toolsai.jupyter-renderers
ms-toolsai.vscode-jupyter-cell-tags
ms-toolsai.vscode-jupyter-slideshow

The used workspace has two git repositories, after setting "git.enabled": false, the issue is still triggered.

The issue is now reproducible in at least 20 workstations. In addition, three remote desktop connections could not be recovered, and the machines had to be restarted.

@isaacag
Copy link
Author

isaacag commented Nov 17, 2024

We have tested all the versions from latest all the way down to 1.94.1 and this is were the issue is no longer reproducible without the --disable-extensions flag.

@deepak1556
Copy link
Collaborator

If this is a confirmed regression, it would help to know which change caused it. We maintain a node.js based CLI tool vscode-bisect that automatically downloads and runs previous VS Code insiders and asks for each build if the issue reproduces. It takes up to 8 steps to find exactly the build that caused the regression.

Steps:

  • install node.js (if not yet done)
  • npx --yes @vscode/vscode-bisect@latest
  • follow the instructions until you found the offending build (its fine to leave the commit empty)
  • report back the commit range in this issue

Thanks!

@isaacag
Copy link
Author

isaacag commented Nov 18, 2024

I followed the steps and none of the commits provided in the tool were able to reproduce the issue.
Later I set Telemetry Level to off and the issue is no longer reproducible in latest version.

Thanks.

@deepak1556
Copy link
Collaborator

/cc @lramos15 were there any changes in telemetry land between 1.94 and 1.95 ?

@lramos15
Copy link
Member

/cc @lramos15 were there any changes in telemetry land between 1.94 and 1.95 ?

There was not.

@rzhao271 rzhao271 added the bug Issue identified by VS Code Team member as probable bug label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug remote-desktop windows VS Code on Windows issues
Projects
None yet
Development

No branches or pull requests

4 participants