Skip to content

Extension Webview resource error with Remote SSH #127770

Closed

Description

@oschulz

VS-Code v1.57.1, the "Git Graph" (extension) view is completely empty when using Remote-SSH.

See mhutchie/vscode-git-graph#535. The extension author, Michael Hutchison (@mhutchie) , indicated that this is very likely due to a VS-Code bug related to Webview with Remote-SSH.

Screenshots:

Git Graph on VS-Code v1.56.2 with Remote-SSH:

git-graph-working

Git Graph on VS-Code v1.57.1 with Remote-SSH:

git-graph-not-working

Does this issue occur when all extensions are disabled?: N/A (since it affects an extension)

  • VS Code Version: v1.57.1
  • OS Version: Ubuntu Linux 20.04

Steps to Reproduce:

  1. Use the "Git Graph (mhutchie.git-graph)" extension in remote-SSH mode

Activity

  1. mjbvz commented on Jul 14, 2021

    @mjbvz
    Contributor

    Does this reproduce in the latest VS Code insiders build?

    If so, please open up the developer tools (run the Developer: Toggle developer tools to do this) and share any relevant errors you see there

  2. added
    info-needed
    remote
    webview
    on Jul 14, 2021
  3. oschulz commented on Jul 15, 2021

    @oschulz
    Author

    Will test!

  4. oschulz commented on Jul 15, 2021

    @oschulz
    Author

    Ok, yes, it does reproduce on the latest VS Code insiders build.

    The developer tools console just shows

    console.ts:137 [Extension Host] (node:81031) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.(Use `code-insiders --trace-deprecation ...` to show where the warning was created) 
    

    but that's even before I open the Git Graph view. Can't see any other errors.

  5. oschulz commented on Aug 13, 2021

    @oschulz
    Author

    I just tested with code-insider-x64-1628833345 Git Graph seems to work again. :-)

  6. removed
    info-needed
    on Aug 13, 2021
  7. added
    bug
    on Aug 13, 2021
  8. mjbvz commented on Aug 13, 2021

    @mjbvz
    Contributor

    Thanks for confirming. I believe this has the same root cause as #123494

    Please let me know if this issue comes up again

  9. oschulz commented on Aug 13, 2021

    @oschulz
    Author

    Will do - thanks Matt Bierner (@mjbvz) .

  10. added
    verified
    on Aug 25, 2021
  11. oschulz commented on Aug 31, 2021

    @oschulz
    Author

    Matt Bierner (@mjbvz) I just tried the recent VS Code 1.59.1 and ran into this issue again - but with code-insider-x64-1628833345 and also the latest code-insider-x64-1630423112 the issue seems fixed. Is the fix for this not part of the 1.59.1 release yet?

  12. mjbvz commented on Aug 31, 2021

    @mjbvz
    Contributor

    It's in the August 2021 milestone so it will be part of VS Code 1.60

  13. oschulz commented on Sep 1, 2021

    @oschulz
    Author

    Great, thanks for the info Matt Bierner (@mjbvz) ! (Was just worried the fix hadn't worked for the production build for some weird reason.)

  14. oschulz commented on Sep 11, 2021

    @oschulz
    Author

    Just tested with v1.60, everything looks fine! Thanks again for the fix.

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

Metadata

Metadata

Labels

bugremoteverifiedwebview

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions