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

No Menu, Commands Or SSH Icon After Installing with VSIX File in Closed Network #6805

Closed
advra opened this issue Jun 9, 2022 · 6 comments
Closed
Labels
remote Issues in the code server support

Comments

@advra
Copy link

advra commented Jun 9, 2022

Installing Remote Development Extension Pack does not show any SSH, WSL or Container menu icons on the left hand side of VSCode. Extensions show the Remote Development Extension as installed. No remote menu or icon can be found. F1 in command menu shows Install Remote Development Pack but not specific menus such as ">Remote-SSH Add New Remote Host" as it typically would.

  • VSCode Version: 1.65.2
  • Local OS Version: RHEL 7.9
  • Remote OS Version: RHEL 7.9
  • Remote Extension/Connection Type: SSH/Containers/WSL: Remote Development Pack v0.21.0
  • Logs: Cannot confirm but installing extension showed no errors in the IDE a typical fail would show

Steps to Reproduce:

  1. In machine without internet
  2. Download VSCode 1.65.2 and install
  3. Download VSIX extension file for Remote Development Pack
  4. Transfer files to Machine
  5. Install VSCode
  6. Within VSCode install the Remote Development Pack via "Install from VSIX" file option
  7. Confirm extension menu shows Remote Development pack appears under the "Installed" categories

Does this issue occur when you try this locally?: Running locally on machine (no option to connect to host)
Does this issue occur when you try this locally and all extensions are disabled?: Yes all other extensions are disabled

@chrmarti
Copy link
Contributor

You also need to download and install the Remote-WSL, Remote-SSH and Remote-Containers extensions as separate VSIX files. (The extension pack only references these but does not include them in its VSIX file. You can omit the extension pack's VSIX, it does not add anything beyond pulling in the other extensions.)

@chrmarti chrmarti added the remote Issues in the code server support label Jun 10, 2022
@advra
Copy link
Author

advra commented Jun 13, 2022

That was it thank you. Does this vary between extension packs? I assumed it was not a reference because installing other extension packages like Java Extension Park worked fine with the Extension Pack VSIX files rather than installing individually like you suggested for remote extension pack.

@advra
Copy link
Author

advra commented Jun 13, 2022

I am now able to ssh into my server but the server is offline and has no internet access either. I see the following before it failed:

Downloading VS Code server locally...
Terminating local server

I assume because it has no internet it cannot install the server on the host I am trying to connect to. How would I resolve this? Hmm could be related to #1242 unfortunately I set "remote.SSH.allowLocalServerDownload": always in the json settings I get the following error which immediatley closes the console.

Heres what I was able to obtain:

aa@hostname's password:
37ufh25893y: running
Acquiring lock on _____________________________________
Installation already in progress ...
If you continue to see this message you can try toggling the remote.SSH.useFlock setting
37ufh25893y: start
exitcode==24==
listeningOn=====
onReeleaseId==rhel==
arch==x86_64==
tmpdir==/run/usr/500/==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
extInstallTime====
serverStarttime====
37ufh25893y: end

I also tried toggling remote.SSH.useFlock as suggested in the message with no change in behavior.

@advra
Copy link
Author

advra commented Jun 13, 2022

I also tried to sshed into the host and removed the ~/.vscode-server folder. When sshing again it attempted to download vs code server locally but errored with Resolved Error: XHR Failed

@advra
Copy link
Author

advra commented Jun 14, 2022

It looks like the offline installer only works if Local machine has internet while the remote doesnt from this discussion.

I'll download it and transfer it to my local machine. But Id like to know for security reasons in my organization if the server is derived from this github repo or does it reside in a different repo?

Edit: Looking at the gist script mentioned here it appears vscode server points to the same commitid as this vscode repo

@advra
Copy link
Author

advra commented Jun 15, 2022

Added a feature request #6828 which expands on this issue.

@advra advra closed this as completed Jun 15, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jul 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
remote Issues in the code server support
Projects
None yet
Development

No branches or pull requests

2 participants