profile
viewpoint

Ask questionsError opening images on remotes

@mjbvz this happens for me 100% of the time when using Remote - WSL. If I open a folder locally I can view the images. Trying to open any images when remote give this error.

There are no errors in the console.

Using latest Insiders

Version: 1.46.0-insider (user setup)
Commit: 9e439b13d5784538333bee044ca1d1a992bc1c90
Date: 2020-05-28T18:44:47.151Z
Electron: 7.3.0
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.19041

Originally posted by @chrisdias in https://github.com/microsoft/vscode/issues/95736#issuecomment-635629621

microsoft/vscode

Answer questions mjbvz

Thanks @alexdima! I tried this but it looks like RemoteAuthoritiesImpl._hosts and _ports are empty in this case, so the resolved uri ends up being:

vscode-remote-resource://undefined:undefined/vscode-remote-resource?path%3D%252Fworkspaces%252Fvscode-docs%252Fdocs%252Fcontainers%252Fimages%252Fregistries%252Fazure-repository-context-menu.png

I'm checking in the change that moves us back to using the render side vscode-resource scheme now. Will continue looking into this for June

useful!

Related questions

the terminal process terminated with exit code #259 hot 6
The terminal shell CWD "/c:/User..." does not exist - vscode hot 4
Bad message: Cannot launch program 'c:\...'; setting the 'outFiles' attribute might help. hot 3
Show offending file path, when "Tokenization is skipped for long lines for performance reasons. The length of a long line can be configured via `editor.maxTokenizationLineLength`." hot 3
format code alt + shift + f hot 2
Corrupt ZIP: end of central directory record signature not found hot 2
"Initializing JS/TS Language Features" appears every time I open a JS file hot 2
Logitech MX Master: Horizontal scrolling via scroll wheel doesn't work hot 2
VS Code doesn't read Git packed-refs hot 2
Is it possible to use wsl bash php for php.validate.executablePath hot 2
Virtual Space is not implemented. hot 2
EISDIR: illegal operation on a directory, read error when trying to REMOTE-SSH hot 2
Failed to save ...: The content of the file is newer. Please compare your version with the file contents. hot 2
Insiders - We cannot connect to the Extensions Marketplace hot 2
error on trying to open terminal hot 2
Github User Rank List