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 ssh troubleshooting shows in terminal pane instead of default terminal on every start #10690

Open
mattschlosser opened this issue Feb 10, 2025 · 3 comments
Assignees
Labels
polish ssh Issue in vscode-remote SSH

Comments

@mattschlosser
Copy link

Type: Bug

At one point in the past, my remote computer went offline when connected to a Remtoe SSH session. Since then, every time I reconnect to that machine via Remote SSH in VS Code, the default terminal pane opens with a "Remote SSH Troubleshooting" dialog instead of the default temrinal. Every time I have to kill the terminal session and restart it in order to use the terminal.

Extension version: 0.117.0
VS Code version: Code 1.97.0 (33fc5a94a3f99ebe7087e8fe79fbe1d37a251016, 2025-02-04T22:41:26.688Z)
OS version: Windows_NT x64 10.0.26100
Modes:
Remote OS version: Linux x64 5.15.167.4-microsoft-standard-WSL2

System Info
Item Value
CPUs Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz (8 x 2400)
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.85GB (4.65GB free)
Process Argv
Screen Reader no
VM 0%
Item Value
Remote Container prosperlms-php (php) @ matt-work
OS Linux x64 5.15.167.4-microsoft-standard-WSL2
CPUs Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz (4 x 0)
Memory (System) 11.69GB (2.01GB free)
VM 0%
@mattschlosser mattschlosser changed the title remote ssh troubleshooting shows in terminal pane instead of default terminal on every stasrt remote ssh troubleshooting shows in terminal pane instead of default terminal on every start Feb 10, 2025
@joshspicer joshspicer added ssh Issue in vscode-remote SSH polish labels Feb 10, 2025
@joshspicer joshspicer self-assigned this Feb 10, 2025
@joshspicer
Copy link
Member

Thanks for the feedback. This is part of the remote.SSH.experimental.enhancedSessionLogs feature. While it is indeed reporting an "offline error", I agree that showing it in this specific case is likely not too helpful and adds more clicks.

We can look into adding more polish here

@mattschlosser
Copy link
Author

Sorry, to clarify, the Offline Error continues to show on every start even if my immediately previous session didn't go offline.

I was finally able to clear the error by running the clear previous session metadata from the command palette.

@joshspicer
Copy link
Member

Oh I see, thanks for clarifying. Did you happen to disable any of the experimental settings (either the copilot one or this one) in between?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
polish ssh Issue in vscode-remote SSH
Projects
None yet
Development

No branches or pull requests

2 participants