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

extensions don't work in WSL #407

Open
L0laapk3 opened this issue Oct 17, 2023 · 3 comments
Open

extensions don't work in WSL #407

L0laapk3 opened this issue Oct 17, 2023 · 3 comments
Projects

Comments

@L0laapk3
Copy link

L0laapk3 commented Oct 17, 2023

I have tried two different extensions by two different authors:

Both worked in a windows native environment, but neither worked in a WSL environment (using the official WSL plugin: https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-wsl)

The current behavior is that drawio looks and acts as if there are no extensions installed.

@hediet hediet added this to Triage in Backlog Oct 17, 2023
@darsor
Copy link

darsor commented Oct 17, 2023

I am experiencing the same thing in a Remote (ssh) environment. The plugins work fine on the native windows host, but don't work on remote Linux hosts.

@bjorn-einar-bjartnes-4ss
Copy link

bjorn-einar-bjartnes-4ss commented Nov 10, 2023

Found a fix with security.allowedUNCHosts - perhaps this should be somehow caught in the extensions and recommended to the user to set this or something. It was a bit deep in the stacktrace and solution was not obvious.
I added vscode-app

@darsor / @L0laapk3 - do you want to try this? Or is your issue another issue than this?

Get the same, the error i get is
image

There is a full stack trace in the output window
Error: Unable to resolve nonexistent file 'vscode-remote://wsl+ubuntu/home/ (... ) /domain_model.drawio.svg')

Also UNC host 'vscode-app' access is not allowed. Please update the 'security.allowedUNCHosts' setting if you want to allow this host.)

image

@darsor
Copy link

darsor commented Nov 17, 2023

I think this issue is unrelated to what you're seeing. We get no error message, it simply behaves like the plugins are not installed. Adding vscode-app to UNCHosts had no effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Backlog
  
Triage
Development

No branches or pull requests

3 participants