Skip to content

Insider update channel not working with vscode-remote #3874

Closed

Description

@EmbeddedBacon

Hello,

VSCode recently updated to 1.36 and the Remote-SSH extension was recently updated as I was waiting for this action item to be addressed, Handle Proxy Issues on Remote

I am able to install extension on the remote session which the main extension is this one, vscode-cpptools. This extension was installed/updated to 0.23.1. Now, I keep getting the notification of "The C/C++ Extension has been updated to version 0.24.0-insiders3. Please reload the window for the changes to take effect"

After I press the "Reload" button and VSCode restarts the same message reappears after a few minutes. I had reloaded and restarted the remote session a number of times, but I still keep getting this notification. I am not sure this is problem with this extension or the remote extension.

For now, I changed the configuration option C_Cpp:Update Channdel to "default" instead of "Insiders", though I would like to use the Insiders channel.

Mark

Activity

  1. sean-mcmanus commented on Jul 4, 2019

    @sean-mcmanus
    Contributor

    This appears to be the same issue as #3800 . There must be some unknown failure during the installation and we don't log enough info.

    0.24.0 is the latest now, but you'll probably hit the same issue again with 0.25.0-insiders.

  2. EmbeddedBacon commented on Jul 4, 2019

    @EmbeddedBacon
    Author

    Sean McManus (@sean-mcmanus) After seeing your post, I started a remote editing session to see if v0.24.0 would be seen and then install it. I did install it, but as the dependencies were downloaded/installed the following was seen on the Output Window:

    Updating C/C++ dependencies...
    
    Downloading package 'C/C++ language components (Linux / x86_64)' (8683 KB)  Done!
    Downloading package 'ClangFormat (Linux / x86_64)' (812 KB)  Done!
    Downloading package 'Mono Framework Assemblies' (5368 KB)  Failed. Retrying...(5368 KB)  Done!
    Downloading package 'Mono Runtime (Linux / x86_64)' (1862 KB)  Done!
    
    Installing package 'C/C++ language components (Linux / x86_64)'
    Installing package 'ClangFormat (Linux / x86_64)'
    Installing package 'Mono Framework Assemblies'
    Failed at stage: installPackages
    Error: invalid central directory file header signature: 0xbc94316e
    
    If you work in an offline environment or repeatedly see this error, try downloading a version of the extension with all the dependencies pre-included from https://github.com/Microsoft/vscode-cpptools/releases, then use the "Install from VSIX" command in VS Code to install it.
    

    Edit: Okay, after shutting down VSC and re-launching the remote session it seems the installation completed okay:

    Updating C/C++ dependencies...
    
    Downloading package 'C/C++ language components (Linux / x86_64)' (8683 KB)  Done!
    Downloading package 'ClangFormat (Linux / x86_64)' (812 KB)  Done!
    Downloading package 'Mono Framework Assemblies' (5368 KB)  Done!
    Downloading package 'Mono Runtime (Linux / x86_64)' (1862 KB)  Done!
    
    Installing package 'C/C++ language components (Linux / x86_64)'
    Warning: File '/users/mrhicks/.vscode-server/extensions/ms-vscode.cpptools-0.24.0/bin/Microsoft.VSCode.CPP.Extension.linux' already exists and was not updated.
    Warning: File '/users/mrhicks/.vscode-server/extensions/ms-vscode.cpptools-0.24.0/bin/Microsoft.VSCode.CPP.IntelliSense.Msvc.linux' already exists and was not updated.
    Installing package 'ClangFormat (Linux / x86_64)'
    Warning: File '/users/mrhicks/.vscode-server/extensions/ms-vscode.cpptools-0.24.0/LLVM/bin/clang-format' already exists and was not updated.
    Installing package 'Mono Framework Assemblies'
    Installing package 'Mono Runtime (Linux / x86_64)'
    
    Finished installing dependencies
    
  3. christianparpart commented on Aug 9, 2019

    @christianparpart

    I am getting the exact same message:

    The C/C++ Extension has been updated to version 0.25.0-insiders. Please reload the window for the changes to take effect.
    

    For version 0.25.0-insiders though. I cannot get rid of it, no matter how often I click reload, and no matter how often I do a clean shutdown + restart of VSC.

    I just updated VSCode and then to cpptools 0.25.0-insiders. One note to make is, that I am using remote-wsl extension to develop.

    What logs could I provide you for a more detailed analysis?

  4. hoopoepg commented on Aug 9, 2019

    @hoopoepg

    hi all
    got same issue - after update to 0.25-insiders it ask to reload window to apply changes. I'm using SSH Remote plugin to Linux host.

    to suppress this I updated config file:

    <AppData>\Roaming\Code\User\settings.json
    

    added string:

        "C_Cpp.updateChannel": "Default"
    
  5. bobbrow commented on Aug 9, 2019

    @bobbrow
    Contributor

    We knew the update didn't work in the remote sessions yet (#3833), but if it's constantly nagging you about it, we should prioritize addressing this sooner.

    Opting out of the Insiders channel as mentioned by Sergey Oblomov (@hoopoepg) or ignoring the popup are the only workarounds right now.

  6. christianparpart commented on Aug 9, 2019

    @christianparpart

    Thanks for taking care, Bob Brown (@bobbrow)

  7. sean-mcmanus commented on Aug 10, 2019

    @sean-mcmanus
    Contributor

    This appears to be caused by VS Code bug #3874 (Command workbench.extensions.installExtension doesn't work on Remote Host). Not sure yet if we should try to workaround that bug or wait till they fix it?

  8. stevenguh commented on Aug 12, 2019

    @stevenguh

    I think you meant https://github.com/microsoft/vscode/issues/78719 filed in vs code?

  9. sean-mcmanus commented on Aug 12, 2019

    @sean-mcmanus
    Contributor

    Steven Guh (@stevenguh) Yeah, thanks for providing the correct link :)

  10. 13 remaining items

  11. sean-mcmanus commented on Dec 2, 2019

    @sean-mcmanus
    Contributor

    Bob Brown (@bobbrow) Michelle Matias (@michelleangela) Colen Garoutte-Carson (@Colengms) VS Code fixed their issue but we're still failing to install remotely (I tried WSL) with error "Failed to find VS Code script".

  12. added
    fixedCheck the Milestone for the release in which the fix is or will be available.
    on Dec 19, 2019
  13. sean-mcmanus commented on Jan 22, 2020

    @sean-mcmanus
    Contributor

    The Insider channel should work with vscode-remote with https://github.com/microsoft/vscode-cpptools/releases/tag/0.26.3 (after we have our next Insiders available).

  14. robertcinciuc commented on Mar 21, 2020

    @robertcinciuc

    Sergey Oblomov (@hoopoepg) Your solution worked for me! Thank you!

  15. locked and limited conversation to collaborators on Oct 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.insidersCurrently only repros with our latest Insiders release.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions