You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Quarto through a Remote Tunnel in VS Code almost works great, but the preview functionality fails to load because it opens an inline browser window to http://localhost:TEMP_PORT, and that port isn't forwarded over the tunnel.
The Remote Tunnel infrastructure provides extensive support for forwarding ports automatically, to the extent that you generally have to opt out of having that happen: microsoft/vscode#115616 - so I'm not sure why that isn't happening here.
The text was updated successfully, but these errors were encountered:
As you can see we try currently detect JupyterHub, Code Server, Posit Workbench, and WSL. Perhaps there is something else we should be doing for the Remote Tunnel scenario? Here is the code where we try to output the correct URL from quarto-cli (which will then be read from the Quarto Extension and used for the preview window): https://github.com/quarto-dev/quarto-cli/blob/main/src/command/render/render-shared.ts#L142
Since I don't have a remote tunnel setup for VS Code, the easiest way through this might be for you to run the dev version of quarto-cli and see if you can play with the above to get it to work. Once you find out the right path we can commit that change. To run the dev version follow these instructions: https://github.com/quarto-dev/quarto-cli/tree/main#development-version
Using Quarto through a Remote Tunnel in VS Code almost works great, but the preview functionality fails to load because it opens an inline browser window to
http://localhost:TEMP_PORT
, and that port isn't forwarded over the tunnel.The Remote Tunnel infrastructure provides extensive support for forwarding ports automatically, to the extent that you generally have to opt out of having that happen: microsoft/vscode#115616 - so I'm not sure why that isn't happening here.
The text was updated successfully, but these errors were encountered: