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

If open Pulse Secure VPN first, then open vscode, then switch to Remote Explorer. The list is empty. #10638

Open
6 tasks done
wurining opened this issue Jan 16, 2025 · 4 comments
Assignees
Labels
info-needed Issue requires more information from poster ssh Issue in vscode-remote SSH

Comments

@wurining
Copy link

Is there an existing issue for this bug?

  • I have searched the existing open issues and found none that apply.
  • If I find any issue of interest that is related or closed, I will included a link to it in this issue.

Required Troubleshooting Steps

  • I have read and performed the troubleshooting steps
  • I have tried both values of the remote.SSH.useLocalServer setting
  • My issue was not covered in the Tips and Tricks linked from the Troubleshooting Wiki.
  • I will include a complete copy of my Remote - SSH logs by running Remote-SSH: Show Log in the command palette or from View > Output in the menu bar

[Optional] Diagnose with Copilot

I asked @remote-ssh but it did not help

In step 2 of the troubleshooting wiki, what was the result of running the generated SSH command verbatim outside of VS Code?

I COULD successfully SSH to the remote machine with the generated SSH command

Remote-SSH Log

Remote-SSH Log

[18:15:12.108] Log Level: 2
[18:15:12.278] VS Code version: 1.96.3
[18:15:12.278] Remote-SSH version: remote-ssh@0.116.1
[18:15:12.278] darwin arm64

Expected Behavior

After closing the Pulse VPN

Image

Actual Behavior

After opening the Pulse VPN

Image

Steps To Reproduce

  1. If open Pulse Secure VPN first, then open vscode, then switch to Remote Explorer. The list is empty.
  2. If open VScode first, then open Pulse Secure VPN, all is normal.

Anything else?

Pulse Secure VPN version:
Image

Note:
After starting a VPN connection, the DNS Servers and Search Domains of current network will be changed. It could be a reason.

@wurining wurining added the ssh Issue in vscode-remote SSH label Jan 16, 2025
@wurining wurining marked this as a duplicate of #10637 Jan 16, 2025
@joshspicer
Copy link
Member

Does this repro with a very simple SSH configuration, say:

Host foo
  HostName 1.1.1.1
  User alice

If not, could you please share the minimal configuration that does repro?

@joshspicer joshspicer added the info-needed Issue requires more information from poster label Jan 17, 2025
@wurining
Copy link
Author

Does this repro with a very simple SSH configuration, say:

Host foo
  HostName 1.1.1.1
  User alice

If not, could you please share the minimal configuration that does repro?

@joshspicer Yes, you can use this minimal configuration to do repro. Though I think it doesn't matter what content are in SSH configuration files. I try different configurations, and the problem still exists.

@hensz
Copy link

hensz commented Jan 24, 2025

Hi!
I have a similar issue. Also on my system the Remote Explorer is empty. However, I'm not using Pulse Secure VPN (or any VPN at all). Interestingly, the ssh connection to my machine works totally fine, I only cannot see or select my connection, but the Remote - SSH extension can connect to my machine just fine.

When I click the refresh button in Remote Explorer, I get this error:
Error running command remote-explorer.refresh: A system
error occurred (read ECONNRESET). This is likely caused by the
extension that contributes remote-explorer.refresh.

My configuration is similar to the one @joshspicer posted, just one host with HostName, User and IdentityFile.

@hensz
Copy link

hensz commented Jan 31, 2025

Yesterday we observed the same behavior also on a machine of my colleague. But interestingly two other colleagues that have the same network setup don't have this problem, on their machines VSCode Remote works just fine.

What can we do to further diagnose the issue? We don't have an active VPN, but our IT department runs several network monitoring tools, perhaps one of those interferes with the extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed Issue requires more information from poster ssh Issue in vscode-remote SSH
Projects
None yet
Development

No branches or pull requests

3 participants