Bug with remote connection

Open
#321,109 5 comments 0 reactions 1 assignee View on GitHub

@justschen is already working on this.

Since Jun 12, 2026.

Assessment

This issue has not been assessed yet.

Description

stale triage-needed

Type: Bug

Hi,
I use the Remote-SSH function (is it an extension? I don't know) very often and in multiple editor windows.

I move my computer between work and home - so I naturally lose the connection always.

Every Remote-SSH vscode window will then pop up a dialogue about reconnecting. My job then is to find in which order to press the dialogues - becuase they all lock each other and only the latest (or first?) dialogue can be pressed. All the other dialogues refuse interaction until it is the top-most.

So the bug is that I have X number of "remote session lost"-windows, but I must press them in correct order.

Regards
Kjell

VS Code version: Code 1.124.0 (1b50d58d73426c9171299ec4037d01365d995b78, 2026-06-09T21:29:32-07:00)
OS version: Linux x64 6.8.0-124-generic
Modes:
Connection to 'ssh-remote+tvac' could not be established
Remote OS version: Linux x64 6.8.0-124-generic
Connection to 'SSH: tvac1' could not be established Canceled
Remote OS version: Linux x64 6.17.0-29-generic

Logs
Trace: [LanguageModelAccess] Publishing alias 'copilot-utility-small' -> gpt-4o-mini-2024-07-18 (synthesized, copilot).
Trace: [LanguageModelAccess] Publishing alias 'copilot-utility' -> gpt-5.3-codex (cloned, copilot).
Trace: Resolving chat model
Trace: Resolving chat model
Trace: [LanguageModelAccess] Publishing alias 'copilot-utility-small' -> gpt-4o-mini-2024-07-18 (synthesized, copilot).
Trace: [LanguageModelAccess] Publishing alias 'copilot-utility' -> gpt-5.3-codex (cloned, copilot).
Trace: Resolving chat model
Trace: Resolving chat model
Trace: [ExploreAgentProvider] Wrote agent file: file:///home/kjeeri%40corp.unibap.net/.vscode-server/data/User/globalStorage/github.copilot-chat/explore-agent/Explore.agent.md
Trace: [CopilotCLI] [DIFF] getActiveDiffByTab: looking for modifiedUri=file:///home/kjeeri%40corp.unibap.net/code/production/production-gui/frontend/tvac.js, mapSize=0
Trace: [CopilotCLI] [DIFF]   No match found
Trace: [CopilotCLI] [DIFF] getActiveDiffByTab: looking for modifiedUri=file:///home/kjeeri%40corp.unibap.net/code/production/production-gui/frontend/tvac.js, mapSize=0
Trace: [CopilotCLI] [DIFF]   No match found
Trace: [CopilotCLI] [DIFF] getActiveDiffByTab: looking for modifiedUri=file:///home/kjeeri%40corp.unibap.net/code/production/production-gui/frontend/tvac.js, mapSize=0
Trace: [CopilotCLI] [DIFF]   No match found
Trace: [CopilotCLI] [DIFF] getActiveDiffByTab: looking for modifiedUri=file:///home/kjeeri%40corp.unibap.net/code/production/production-gui/frontend/tvac.js, mapSize=0
Trace: [CopilotCLI] [DIFF]   No match found
Trace: [CopilotCLI] [DIFF] getActiveDiffByTab: looking for modifiedUri=file:///home/kjeeri%40corp.unibap.net/code/production/production-gui/frontend/tvac.js, mapSize=0
Trace: [CopilotCLI] [DIFF]   No match found
Trace: [CopilotCLI] [DIFF] getActiveDiffByTab: looking for modifiedUri=file:///home/kjeeri%40corp.unibap.net/code/production/production-gui/frontend/tvac.js, mapSize=0
Trace: [CopilotCLI] [DIFF]   No match found
Trace: [CopilotCLI] [DIFF] getActiveDiffByTab: looking for modifiedUri=file:///home/kjeeri%40corp.unibap.net/code/production/production-gui/frontend/tvac.js, mapSize=0
Trace: [CopilotCLI] [DIFF]   No match found
Trace: [LanguageModelAccess] Publishing alias 'copilot-utility-small' -> gpt-4o-mini-2024-07-18 (synthesized, copilot).
Trace: [LanguageModelAccess] Publishing alias 'copilot-utility' -> gpt-5.3-codex (cloned, copilot).
Trace: Resolving chat model
Trace: Resolving chat model
Trace: [LanguageModelAccess] Publishing alias 'copilot-utility-small' -> gpt-4o-mini-2024-07-18 (synthesized, copilot).
Trace: [LanguageModelAccess] Publishing alias 'copilot-utility' -> gpt-5.3-codex (cloned, copilot).
Trace: Resolving chat model
Trace: Resolving chat model
Debug: Send fetcher telemetry: This window won.
Debug: Fetcher telemetry probe: node-fetch Status: 200 (165ms)
Debug: Fetcher telemetry probe: node-http Status: 200 (757ms)
Debug: Fetcher telemetry: Succeeded in 165ms using node-fetch with status 200 ().
Debug: Fetcher telemetry: Succeeded in 702ms using node-http with status 200 (OK).
Trace: ExternalIngestIndex::reconcileDbFiles() Reconciled database. Added: 528, updated: 0, removed: 0
Trace: CodeSearchChunkSearch::initialize_impl success. Elapsed 8624.370966
Trace: CodeSearchChunkSearch::initialize#0 success. Elapsed 8624.423917
Trace: CodeSearchChunkSearch::initialize#1 success. Elapsed 8602.001129
Trace: ChatStatusWorkspaceIndexingStatus::updateStatusItem(id=3): starting
Trace: CodeSearchChunkSearch::initialize#2 started
Trace: CodeSearchChunkSearch::initialize#2 success. Elapsed 0.2109070000005886
Trace: ChatStatusWorkspaceIndexingStatus::_writeStatusItem()
Debug: [context keys] Window state change. Needs offline check: false, active: true, focused: true.
Trace: Should request permissive session upgrade: false - access to all repositories
Debug: copilotCloudSessionsProvider#provideChatSessionItems: repoIds=[], isAgentSessionsWorkspace=false
Debug: copilotCloudSessionsProvider#provideChatSessionItems: not a GitHub repo, returning empty
Debug: [CopilotCLI] Found 0 JSONL sessions
Info: [CopilotCLIChatSessionContentProvider] listSessions took 6.6299419999995735ms
Request IDs

System Info
Item Value
CPUs AMD Ryzen 5 5625U with Radeon Graphics (12 x 3472)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x1002 [Google Inc. (AMD)], DEVICE=0x15e7 [ANGLE (AMD, AMD Radeon Graphics (radeonsi renoir ACO), OpenGL ES 3.2 Mesa 25.2.8-0ubuntu0.24.04.1)], DRIVER_VENDOR=Mesa, DRIVER_VERSION=25.2.8 ACTIVE
Machine model name:
Machine model version:
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
trees_in_viz: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgpu: enabled
webgpu_on_vk_via_gl_interop: disabled_off
webnn: disabled_off
Load (avg) 1, 0, 0
Memory (System) 30.66GB (5.18GB free)
Process Argv --crash-reporter-id 8d409cf6-c903-45aa-9621-a0e82b28374a
Screen Reader no
VM 0%
DESKTOP_SESSION ubuntu
XDG_CURRENT_DESKTOP ubuntu:GNOME
XDG_SESSION_DESKTOP ubuntu
XDG_SESSION_TYPE wayland

Connection to 'ssh-remote+tvac' could not be established

Item Value
Remote SSH: tvac1
OS Linux x64 6.8.0-124-generic
CPUs 12th Gen Intel(R) Core(TM) i7-12700T (20 x 800)
Memory (System) 31.02GB (27.67GB free)
VM 0%

Connection to 'SSH: tvac1' could not be established Canceled

Item Value
Remote SSH: hqts1
OS Linux x64 6.17.0-29-generic
CPUs Intel(R) Core(TM) i5-8500T CPU @ 2.10GHz (6 x 2000)
Memory (System) 15.49GB (12.77GB free)
VM 0%
Extensions (10)
Name Identifier Author Version
Project Manager alefragnani.project-manager alefragnani 13.1.0
Dev Containers ms-vscode-remote.remote-containers ms-vscode-remote 0.459.1
Remote - SSH ms-vscode-remote.remote-ssh ms-vscode-remote 0.124.0
Remote - SSH: Editing Configuration Files ms-vscode-remote.remote-ssh-edit ms-vscode-remote 0.87.0
Remote Explorer ms-vscode.remote-explorer ms-vscode 0.5.0
Black Formatter ms-python.black-formatter ms-python 2026.6.0
Python Debugger ms-python.debugpy ms-python 2026.6.0
Python ms-python.python ms-python 2026.4.0
Pylance ms-python.vscode-pylance ms-python 2026.2.1
Python Environments ms-python.vscode-python-envs ms-python 1.34.0
A/B Experiments
vsliv368cf:30146710
pythonvspyt551:31249599
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
6abeh943:31336334
envsactivate1:31505457
cloudbuttont:31379625
3efgi100_wstrepl:31403338
56b7f661:31457055
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31466945
8hhj4413:31478653
ge8j1254_inline_auto_hint_haiku:31490510
38bie571_auto:31478678
cp_cls_t_1081:31454832
conptydll_true:31498968
ia-use-proxy-models-svc:31452481
e9c30283:31461165
test_treatment2:31471001
c9b86496:31447327
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
nes-extended-on:31455476
chat:31457767
8hig5102:31480529
89g7j272:31518289
7e187181:31503455
i2gc6536:31499202
52612955:31516516
ghj88844:31499326
ec1eg703:31520046
ddid_t:31478206
hmra_i5g22:31518061
7df3h592:31512476
pro_large_t:31499376
cp_cls_t_1082:31516087
logging_enabled_new:31498466
db5d2638:31499441
jb_cp_cls_c_632:31524806
56dj4588:31512888
32d76977:31512328
ha629193:31508444
cdk-lw-on:31524445
nes-charagree-1:31521370
2cfga817_c:31522397
api_cot_ctrl:31513533
hgf2d445:31529595
prpt_ctrl:31518467
jbcp_cls_pctr_t:31531130
61138546:31518536
gf14b233:31526830
nes-curr-leftover-1500:31530973

Dominant language
TypeScript
Stars
193k
Forks
42.9k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/vscode

All issues in microsoft/vscode

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.