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

WGLMakie doesn't show the plot in remote server using the Remote Tunnel extension in VSCode #4575

Open
albertomercurio opened this issue Nov 7, 2024 · 0 comments
Labels
bug specific environment related to a specific environment/configuration, e.g. headless, ssh, vscode, etc WGLMakie This relates to WGLMakie.jl, the Web-based WebGL backend for Makie.

Comments

@albertomercurio
Copy link

Hello, I want to create some interactive plots using vscode connected to a remote machine using the Remote Tunnel extension. I tried WGLMakie first in a .jl file, the plot panel appeared, but then nothing.

I noticed that, if I connect to the remote server using Remote SSH, it works. I see the localhost:9384 forwarded port and everything is fine. But if I connect to the remote using the Remote Tunnel extension, then the Plot Panel opens and it remains empty. I noticed that the forwarded port doesn't give the localhost:9384 url, but something like https://somecode-9384.euw.devtunnels.ms/ where somecode is some code id which I don't know if I can post here for security.

Then I tried the following. I disabled the Plot Pane, reconnected using Remote SSH instead of Remote Tunnel, executed the code for the simple plot, opened the web browser to the link localhost:9384/browser-display.
Everything worked. Then I tried to do the same connecting through the Remote Tunnel. I opened https://somecode-9384.euw.devtunnels.ms/browser-display, and it was an empty page.

VSCode Remote Tunnel is very useful because you don’t need to connect to a vpn if your remote server is under the organization’s network.

@ffreyer ffreyer added WGLMakie This relates to WGLMakie.jl, the Web-based WebGL backend for Makie. specific environment related to a specific environment/configuration, e.g. headless, ssh, vscode, etc labels Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug specific environment related to a specific environment/configuration, e.g. headless, ssh, vscode, etc WGLMakie This relates to WGLMakie.jl, the Web-based WebGL backend for Makie.
Projects
None yet
Development

No branches or pull requests

2 participants