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

C/C++ Extension fails to download binaries on remote #5290

Closed
RamyElkest opened this issue Apr 12, 2020 · 10 comments
Closed

C/C++ Extension fails to download binaries on remote #5290

RamyElkest opened this issue Apr 12, 2020 · 10 comments
Labels
bug help wanted Can be fixed in the public (open source) repo. Language Service remote
Milestone

Comments

@RamyElkest
Copy link

Type: General

Describe the bug

  • OS and Version: Windows 10 (Linux ssh remote)
  • VS Code Version: 1.43
  • C/C++ Extension Version: 0.27
  • Other extensions you installed (and if the issue persists after disabling them): Remote SSH
  • A clear and concise description of what the bug is.

To Reproduce
Please include code sample and task.json files.
Steps to reproduce the behavior:

  1. Connect to Remote container with no internet access
  2. Install C/C++ extension (with "remote.downloadExtensionsLocally": true)
  3. Try to activate extension
  4. Downloading the linux binaries should retry and fail
Updating C/C++ dependencies...

Downloading package 'C/C++ language components (Linux / x86_64)'  Failed. Retrying... Failed. Retrying... Failed. Retrying...Waiting 8 seconds... Failed. Retrying...Waiting 16 seconds...

Expected behavior
Extension should respect "remote.downloadExtensionsLocally": true and download locally then xfer

Additional context
Installing via offline vsix obviously works as a workaround. I'd just like to know what the long term plan is here.

@sean-mcmanus
Copy link
Collaborator

We're hoping the VS Code marketplace will enable OS-specific downloads so we can stop using our own downloading mechanism. @bobbrow Is there a public issue tracking that somewhere? I can't seem to find it.

@bobbrow
Copy link
Member

bobbrow commented Apr 14, 2020

I don't know of one. We are tracking it in a private repository.

@sean-mcmanus
Copy link
Collaborator

@bobbrow Does the private repo have any ETA details yet?

@bobbrow
Copy link
Member

bobbrow commented Apr 29, 2020

No, there is no ETA yet.

@RamyElkest
Copy link
Author

@sean-mcmanus is it possible to progress with this now that remote-connections declare the platform upon connection? (albeit not the full vscode solution i suppose)
remote.SSH.remotePlatform

@sean-mcmanus sean-mcmanus added the help wanted Can be fixed in the public (open source) repo. label Jun 2, 2020
@sean-mcmanus
Copy link
Collaborator

@RamyElkest It might be possible, but we were not planning to currently.

@aallrd
Copy link

aallrd commented Feb 10, 2021

Hello,
Coming from #6933 where I hit this issue.
My remote environment is offline and it consistently fails to install the vscode-cpptools extension when the others are okay.
Is there progress on the Marketplace feature to distribute OS-specific packages?

@sean-mcmanus
Copy link
Collaborator

@aallrd I think there was an issue on the VS Code or marketplace repo, but I can't seem to find it though.

@Colengms
Copy link
Collaborator

This should get addressed by: microsoft/vscode#23251

@Colengms Colengms modified the milestones: Triage, Tracking Feb 19, 2021
@bobbrow
Copy link
Member

bobbrow commented Dec 9, 2021

This will be addressed by #8152 starting in version 1.8.0

@bobbrow bobbrow closed this as completed Dec 9, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jan 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug help wanted Can be fixed in the public (open source) repo. Language Service remote
Projects
None yet
Development

No branches or pull requests

5 participants