You are not logged in.
I am reposting this message as my previous post was removed by the moderator, even though the post was for a software package in Arch Linux.
When I try to connect to a remote host with "Open Remote - SSH" extension in open source build of vscode (https://archlinux.org/packages/?name=code), it logs the following errors:
[Trace - 07:33:07.313] Server install command stderr:
https://github.com/VSCodium/vscodium/re … .1..tar.gz:
2024-09-26 07:26:53 ERROR 404: Not Found.
[Trace - 07:33:07.313] Server install command stdout:
Error downloading server from https://github.com/VSCodium/vscodium/re … .1..tar.gz
e1564c46babba144ffaddbee: start
exitCode==1==
listeningOn====
connectionToken====
logFile==XXXXXXXXXXXXXXXXX/.vscode-server-oss/.38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40.log==
osReleaseId==XXXXXXXXX==
arch==x86_64==
platform==linux==
tmpDir==/run/user/590==
e1564c46babba144ffaddbee: end
[Error - 07:33:07.313] Error resolving authority
Error: Couldn't install vscode server on remote server, install script returned non-zero exit status
at t.installCodeServer (/home/heanseng/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.46-universal/out/extension.js:1:441201)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /home/heanseng/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.46-universal/out/extension.js:1:404941
Has anyone ever made "Open Remote - SSH" extension work with official Arch Linux open-source release of vscode? I would like to use only the official Arch Linux release of code (https://archlinux.org/packages/?name=code) but not any of the AUR versions. The url shown in the error indicate vscode release number is expected but somehow missing.
Offline
osReleaseId==XXXXXXXXX==
Obfuscating that won't help .
Arch linux repos can be used on other distros.
Please use the report button to request re-opening and provide proof in that request you are using code on an archlinux install.
Added
OP has responded and I'm satisifed they are using https://archlinux.org/packages/extra/x86_64/code/ on archlinux.
Re-opening thread.
Last edited by Lone_Wolf (2024-09-27 09:06:23)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Please explain why you need to use vscodium-reh-linux-x64-* file although there is also a vscodium-linux-x64-* file .
Note that the url used is wrong and misses 5 digits .
https://github.com/VSCodium/vscodium/re … 93.1.24256 shows that both download folder & filename
use 1.193.1.24256 instead of 1.93.1.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Thank you for the reply.
Default extension settings values for "Remote.SSH: Server Download Url Template" is ${version}.${release}/vscodium-reh-${os}-${arch}-${version}.${release}.tar.gz following https://github.com/VSCodium/vscodium/releases/download/ . I do not know why it defaults to vscodium-reh-${os}-* instead of VSCodium-${os}-* .
The open source build of vscode (https://archlinux.org/packages/?name=code) misses 5 digits because it does not have the 5 digit ${release} number in the version number unlike AUR versions.
After trials, the remote server seems to start with the following extension settings:
code version: 1.93.1-1
"Remote.SSH: Server Download Url Template": https://github.com/VSCodium/vscodium/releases/download/ ${version}.24256/vscodium-reh-${os}-${arch}-${version}.24256.tar.gz
"Remote.SSH › Experimental: Server Binary Name": codium-server
However, the editor would return this error: Connection error: Client refused: version mismatch
If anyone ever made "Open Remote - SSH" extension work for a recent official Arch Linux open-source release of vscode, please advise the correct settings.
Offline