Closed archisman-panigrahi closed 6 months ago
Started having this error around the same time as your post, does it have something to do with expired certificates or something? Will look into this more soon..
Reverting the codium version with snap fixed the issue for me, reverted from 1.88.1.24104
to 1.88.1.24102
. So will probably need to upgrade stuff on the server side but I won't bother with that since I don't have full access on the specific machine I'm using..
I am having this problem, again just today (was working fine last week), with Codium 1.88.1.24104 at both ends. I too have no problem with ssh connection to the remote machine. Downgrading to 1.88.1.24102 (at both ends, in my case) fixed things for me too.
Thanks for this extension, I really appreciate having a libre remote dev solution, and it's extended the lifetime of my laptop, which can no longer cope easily with some of the dev envs I need to run.
When I try to connect the terminal shows the script that I think it tries to execute on the remote host :
OS: Archlinux pks: vscodium-bin. vscodium-bin-marketplace, vscodium-bin-features
enabled this extension via editing argv.json as written in readme
The script tries to download (in my case) this file from https://github.com/VSCodium/vscodium/releases/download/1.88.1.24104/vscodium-reh-linux-x64-1.88.1.24104.tar.gz
and naming it vscode-server.tar.gz
and then extracting it into the home dir.
After that the script fails to locate something that should be at $HOME/.vscode-server/bin/$DISTRO_COMMIT/bin/code-server
($DISTRO_COMMIT is a string defined in the script) but inside the archive there is nothing like that path, btw I can find a ./bin/codium-server
I hope my investigation is correct
small update:
the whole error, for me, is :
Error server contents are corrupted
21ffcead3c62f349482e5c51: start
exitCode==1==
listeningOn====
connectionToken====
logFile==/home/USER/.vscode-server/.0d01a72525276e5e3771fe5851b9c83de0de1e2b.log==
osReleaseId==arch==
arch==x86_64==
platform==linux==
tmpDir==/run/user/1000==
21ffcead3c62f349482e5c51: end
[Error - 15:27:33.229] Error resolving authority
Error: Couldn't install vscode server on remote server, install script returned non-zero exit status
at t.installCodeServer (/home/salotto/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45/out/extension.js:1:441144)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /home/salotto/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45/out/extension.js:1:404941
OS: Archlinux installed packages:
My homemade fix (not a fix, just bypass, I dont know how to contrinute, I'm a failure as a computer engineer) was symbolically link (ln -s
)
/home/USER/.vscode-server/bin/0d01a72525276e5e3771fe5851b9c83de0de1e2b/bin/codium-server
into
/home/USER/.vscode-server/bin/0d01a72525276e5e3771fe5851b9c83de0de1e2b/bin/code-server
I think my steps were:
1) try to connect to vscodium via ssh via the extension such that the script, executed into the remote host, at least downloads and unpacks the archive but fail to locate and run the activation script (blablabla/bin/codium-server
)
2) link that file in the remote machine (code-server
-> codium-server
)
3) retry to connect
4) ???
5) profit!
@archisman-panigrahi @rrthomas @rishikeshrmadan : if you have had the same error my so-called-fix could help
A weird thing happened, by the way:
In my remote host's home directory there are now .vscode-server
& .vscodium-server
directories.
.vscode-server
directory holds the server stuff that I got via the setup-script (the one that download that archive, unpack it and then fail to execute the server because it cannot find code-server
because it is called codium-server
).
.vscodium-server
appeared afterward and holds two directories: data & extensions.
I dont know if it is a legit behaviour or not.
Nice work @fooryo, sounds like either a name has changed, or it has failed to be search-and-replaced in a particular release.
I updated VSCodium to the latest version. Then, rm -rf .vscodium-server
in the server side worked for me.
Worked for me, many thanks!
I dont know about you, guys but I still need to create a link code-server
that points to codium-server
Both my machines are Arch derivatives. Both my machines have installed (from the aur)
EDIT: it seems the culprit, at least for me, is an AUR packages that patched my vscodium
I am getting the following error.
My ssh keys are correctly configured, and the proprietary Remote SSH client in Visual Studio Code can connect successfully.