Open Weissnix4711 opened 1 year ago
I have a hard time reproducing this as I do not use devcontainers myself. Can you access the vscodium-server on the local port by the following?
curl -v localhost:8000/version
This should reply with the commit of the server.
The %2B
in the URL looks suspect here, it should be +
unescaped, I believe. I have a lot more luck using this form of URL: vscodium://vscode-remote/remote-oss+${REMOTE_NAME}${REMOTE_PATH}
. So for this issue: vscodium://vscode-remote/remote-oss+local/workspaces/hass-core
Getting this error when trying to open container.
Unable to resolve resource <remote url>
Output of Remote OSS extension is just
connecting to local...
nothing else.And the output of reh in the container..
settings.json
:Running this in the container before connecting:
The container was made with the original devcontainers extension. I then disabled that extension, enabled Remote OSS, restarted the container (which was stopped, but not removed), attached to a shell and ran the above commands to install and start vscodium-server.
Here is the original
devcontainer.json
from which the container was created:Note port 8000 has been opened.
From https://github.com/home-assistant/core if it's of any help.
As far as I am aware, this should work just fine. But evidently I'm missing something.