Closed xclark-harriscomputer closed 1 year ago
@daiyam seems the whitelist in product.json got removed 🤔 Got this in the logs
2023-07-26 11:52:26.020 [error] Extension 'jeanp413.open-remote-ssh CANNOT USE these API proposals 'resolvers, contribViewsRemote'. You MUST start in extension development mode or use the --enable-proposed-api command line flag
2023-07-26 11:52:26.060 [warning] [jeanp413.open-remote-ssh]: View container 'remote' requires 'enabledApiProposals: ["contribViewsRemote"]' to be added to 'Remote'.
@xclark-harriscomputer you can workaround by enabling the extension in your argv.json
, you can follow steps in readme
I've just tested it out and it's working fine.
Here the properties:
"jeanp413.open-remote-ssh": [
"resolvers",
"tunnels",
"terminalDataWriteEvent",
"contribRemoteHelp",
"contribViewsRemote"
]
@jeanp413 Where do you those logs?
In @xclark-harriscomputer logs, I'm more perplexed by CodeExpectedError: ENOPRO: No file system provider found for resource
The errors on the commands should not happened! Also Open SSH Configuration File...
is RemoteSSH: Open SSH Configuration File...
on my machine and as is configured in your package.json
(category + title)
@xclark-harriscomputer Have you tried to reinstall the extension because it doesn't seem to be correctly installed...
@daiyam I just installed vscodium on my mac using VSCodium-darwin-arm64-1.80.1.23194.zip
and this is the product.json
{
"nameShort": "VSCodium",
"nameLong": "VSCodium",
"applicationName": "codium",
"dataFolderName": ".vscode-oss",
"win32MutexName": "vscodium",
"licenseName": "MIT",
"licenseUrl": "https://github.com/VSCodium/vscodium/blob/master/LICENSE",
"serverLicenseUrl": "https://github.com/microsoft/vscode/blob/main/LICENSE.txt",
"serverGreeting": [],
"serverLicense": [],
"serverLicensePrompt": "",
"serverApplicationName": "codium-server",
"serverDataFolderName": ".vscodium-server",
"tunnelApplicationName": "code-tunnel-oss",
"win32DirName": "VSCodium",
"win32NameVersion": "VSCodium",
"win32RegValueName": "VSCodium",
"win32AppId": "{{763CBF88-25C6-4B10-952F-326AE657F16B}",
"win32x64AppId": "{{88DA3577-054F-4CA1-8122-7D820494CFFB}",
"win32arm64AppId": "{{67DEE444-3D04-4258-B92A-BC1F0FF2CAE4}",
"win32UserAppId": "{{0FD05EB4-651E-4E78-A062-515204B47A3A}",
"win32x64UserAppId": "{{2E1F05D1-C245-4562-81EE-28188DB6FD17}",
"win32arm64UserAppId": "{{57FD70A5-1B8D-4875-9F40-C5553F094828}",
"win32AppUserModelId": "VSCodium.VSCodium",
"win32ShellNameShort": "VSCodium",
"win32TunnelServiceMutex": "vscodeoss-tunnelservice",
"win32TunnelMutex": "vscodeoss-tunnel",
"darwinBundleIdentifier": "com.vscodium",
"linuxIconName": "vscodium",
"licenseFileName": "LICENSE.txt",
"reportIssueUrl": "https://github.com/VSCodium/vscodium/issues/new",
"nodejsRepository": "https://nodejs.org",
"urlProtocol": "vscodium",
"webviewContentExternalBaseUrlTemplate": "https://{{uuid}}.vscode-cdn.net/insider/ef65ac1ba57f57f2a3961bfe94aa20481caca4c6/out/vs/workbench/contrib/webview/browser/pre/",
"builtInExtensions": [{
"name": "ms-vscode.js-debug-companion",
"version": "1.1.1",
"sha256": "095dc6d5d45490966dfa74d24add92036b42bf02a37d88c4b0f510dc91deeee6",
"repo": "https://github.com/microsoft/vscode-js-debug-companion",
"metadata": {
"id": "99cb0b7f-7354-4278-b8da-6cc79972169d",
"publisherId": {
"publisherId": "5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",
"publisherName": "ms-vscode",
"displayName": "Microsoft",
"flags": "verified"
},
"publisherDisplayName": "Microsoft"
}
}, {
"name": "ms-vscode.js-debug",
"version": "1.80.0",
"sha256": "ac75e4ecf79efafa2bb0e6c8c548a6c8359555623f677a386cbcea80630aee4f",
"repo": "https://github.com/microsoft/vscode-js-debug",
"metadata": {
"id": "25629058-ddac-4e17-abba-74678e126c5d",
"publisherId": {
"publisherId": "5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",
"publisherName": "ms-vscode",
"displayName": "Microsoft",
"flags": "verified"
},
"publisherDisplayName": "Microsoft"
}
}, {
"name": "ms-vscode.vscode-js-profile-table",
"version": "1.0.3",
"sha256": "b9dab017506d9e6a469a0f82b392e4cb1d7a25a4843f1db8ba396cbee209cfc5",
"repo": "https://github.com/microsoft/vscode-js-profile-visualizer",
"metadata": {
"id": "7e52b41b-71ad-457b-ab7e-0620f1fc4feb",
"publisherId": {
"publisherId": "5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",
"publisherName": "ms-vscode",
"displayName": "Microsoft",
"flags": "verified"
},
"publisherDisplayName": "Microsoft"
}
}],
"checksumFailMoreInfoUrl": "https://go.microsoft.com/fwlink/?LinkId=828886",
"documentationUrl": "https://go.microsoft.com/fwlink/?LinkID=533484#vscode",
"extensionsGallery": {
"serviceUrl": "https://open-vsx.org/vscode/gallery",
"itemUrl": "https://open-vsx.org/vscode/item"
},
"introductoryVideosUrl": "https://go.microsoft.com/fwlink/?linkid=832146",
"keyboardShortcutsUrlLinux": "https://go.microsoft.com/fwlink/?linkid=832144",
"keyboardShortcutsUrlMac": "https://go.microsoft.com/fwlink/?linkid=832143",
"keyboardShortcutsUrlWin": "https://go.microsoft.com/fwlink/?linkid=832145",
"linkProtectionTrustedDomains": ["https://open-vsx.org"],
"releaseNotesUrl": "https://go.microsoft.com/fwlink/?LinkID=533483#vscode",
"requestFeatureUrl": "https://go.microsoft.com/fwlink/?LinkID=533482",
"tipsAndTricksUrl": "https://go.microsoft.com/fwlink/?linkid=852118",
"twitterUrl": "https://go.microsoft.com/fwlink/?LinkID=533687",
"updateUrl": "https://vscodium.now.sh",
"downloadUrl": "https://github.com/VSCodium/vscodium/releases",
"quality": "stable",
"commit": "77ff082dba0bc91978df4a7acd7f42007abde4cc",
"date": "2023-07-24T18:11:36.740Z",
"checksums": {
"vs/base/parts/sandbox/electron-sandbox/preload.js": "P910ZSQpLvm9nLWv5PRSgw",
"vs/workbench/workbench.desktop.main.js": "7Bue7VnHgXvj+95GdAChFA",
"vs/workbench/workbench.desktop.main.css": "0niwPEwJqP84SG269zGeFg",
"vs/workbench/api/node/extensionHostProcess.js": "nGX/nVwPtYmXrCpW0tfAqQ",
"vs/code/electron-sandbox/workbench/workbench.html": "Nei/i2NoxE9Pdo7ZULeFgA",
"vs/code/electron-sandbox/workbench/workbench.js": "wYk9ucvJPpnwsjv3ATPkZw"
},
"version": "1.80.1",
"release": "23194"
}
Damn! Another issue after some optimisations of build scripts to pass SpellCheck.
Due to an another issue, that version was re-released which has the broken product.json
(The original one is fine, which I run).
When fixed (in process), I will release another version.
Here the fix: https://github.com/VSCodium/vscodium/pull/1581
The release should follow in the hour.
@xclark-harriscomputer please update vscodium, this is fixed now.
Thanks @daiyam 🚀
Sorry guys! I missed the emails for this. Updating vscodium through the app to 1.80.2.23209 [1] doesn't seem to have fixed this. Trying to install using VSCodium-darwin-arm64-1.80.2.23209.zip
didn't seem to change it. Uninstalling, restarting, and resinstalling the extension didn't seem to fix it either. Adding the extra lines to my argv.json didn't seem to change it (including after restart).
The buttons on this menu do now work though: So something changed for the better.
Unsure what may have caused this or if there are better logs I can show. My gut feeling is something not passing through correctly during the vscodium build process but that's more of a wild guess.
[1]: Version: 1.80.2 Release: 23209 Commit: ad2ce925243280c8cd1054a2b27734e2b2e839c5 Date: 2023-07-28T18:09:49.170Z Electron: 22.3.14 ElectronBuildId: undefined Chromium: 108.0.5359.215 Node.js: 16.17.1 V8: 10.8.168.25-electron.0 OS: Darwin arm64 22.4.0
Heres my product.json:
and here's my package.json:
@xclark-harriscomputer Nothing wrong in those files. Can you give the logs in menu View/Output
then tab Remote - SSH
?
@daiyam I don't even get that option on 1.80.2, these are what is available for the output menu: Nevermind, I was able to get it to show up by uninstalling and reinstalling the extension. Interestingly it seems like it's not spitting anything into the terminal on 1.80.2
On the window that's supposed to be a remote session:
On the window that spawns the remote session:
I do get this interesting error in the "main" tab:
2023-08-01 07:37:23.904 [error] SyntaxError: Unexpected token ']', ..."ssh",
]
}" is not valid JSON
at JSON.parse (<anonymous>)
at e.CodeApplication.updateCrashReporterEnablement (/Applications/VSCodium.app/Contents/Resources/app/out/vs/code/electron-main/main.js:89:84368)
@xclark-harriscomputer You should have log like:
[Info - 21:05:21.894] Resolving ssh remote authority 'ssh-remote+host1' (attemp #1)
[Trace - 21:05:21.907] Identity keys:
/Users/user/.ssh/host1-username ssh-rsa SHA256:xxxx=
[Info - 21:05:22.68] Trying no-auth authentication
[Info - 21:05:22.110] Trying publickey authentication: /Users/user/.ssh/host1-username ssh-rsa SHA256:xxxx=
[Trace - 21:05:22.411] Detected platform: windows, bash
[Trace - 21:05:22.416] Server install command:
# Server installation script
$TMP_DIR="$env:TEMP\$([System.IO.Path]::GetRandomFileName())"
....
@jeanp413 Do you have an idea why he doesn't have any logs?
Here are the logs I get on 1.79.1. Sorry for leaving them out, I thought I added them to the bottom of my last post.
[Info - 18:21:52.736] Resolving ssh remote authority 'ssh-remote+xclark@[REDACTED]' (attemp #1)
[Trace - 18:21:52.743] Identity keys:
/Users/work/.ssh/id_ed25519 ssh-ed25519 SHA256:[REDACTED]
/Users/work/.ssh/id_rsa ssh-rsa SHA256:[REDACTED]
[Info - 18:21:53.53] Trying no-auth authentication
[Info - 18:21:53.82] Trying publickey authentication: /Users/work/.ssh/id_ed25519 ssh-ed25519 SHA256:[REDACTED]
[Info - 18:21:53.112] Trying publickey authentication: /Users/work/.ssh/id_rsa ssh-rsa SHA256:[REDACTED]
[Trace - 18:21:53.846] Server install command:
# Server installation script
TMP_DIR="${XDG_RUNTIME_DIR:-"/tmp"}"
[...]
Back on 1.80.2: I get this from the "Extension Host" tab so it seems like the extension is loading.
2023-08-06 14:38:44.413 [info] Extension host with pid 74071 started
2023-08-06 14:38:44.413 [info] Skipping acquiring lock for /Users/work/Library/Application Support/VSCodium/User/workspaceStorage/eee0b7cdc60df04a9a451f53c57a4e57.
2023-08-06 14:38:44.416 [info] $getCanonicalURI invoked for authority (ssh-remote)
2023-08-06 14:38:44.418 [info] ExtensionService#_doActivateExtension jeanp413.open-remote-ssh, startup: false, activationEvent: 'onResolveRemoteAuthority:ssh-remote'
2023-08-06 14:38:44.434 [info] [resolveAuthority(ssh-remote,1)][1ms] activating remote resolvers [SERVER ADDR, REDACT] -> ssh-remote+xclark
2023-08-06 14:38:44.434 [info] [resolveAuthority(ssh-remote,1)][1ms] activating resolver...
2023-08-06 14:38:44.434 [info] [resolveAuthority(ssh-remote,1)][1ms] activating resolver...
2023-08-06 14:38:44.454 [info] Eager extensions activated
2023-08-06 14:39:27.662 [info] Extension host terminating: renderer closed the MessagePort
2023-08-06 14:39:27.664 [info] Extension host with pid 74071 exiting with code 0
2023-08-06 14:39:28.154 [info] Extension host with pid 74098 started
2023-08-06 14:39:28.154 [info] Skipping acquiring lock for /Users/work/Library/Application Support/VSCodium/User/workspaceStorage/eee0b7cdc60df04a9a451f53c57a4e57.
2023-08-06 14:39:28.154 [info] $getCanonicalURI invoked for authority (ssh-remote)
2023-08-06 14:39:28.160 [info] ExtensionService#_doActivateExtension jeanp413.open-remote-ssh, startup: false, activationEvent: 'onResolveRemoteAuthority:ssh-remote'
2023-08-06 14:39:28.172 [info] [resolveAuthority(ssh-remote,1)][0ms] activating remote resolvers [SERVER ADDR, REDACT] -> ssh-remote+xclark
2023-08-06 14:39:28.172 [info] [resolveAuthority(ssh-remote,1)][0ms] activating resolver...
2023-08-06 14:39:28.172 [info] [resolveAuthority(ssh-remote,1)][0ms] activating resolver...
2023-08-06 14:39:28.186 [info] Eager extensions activated
Updating to 1.81 fixed this! Unsure what it was but thank you guys for helping.
Glad to hear it's working now 🎉
Unable to connect to remote hosts on VSCodium 1.80.1.23194 on m2 macbook air (MacOS 13.3.1 (22E261)). Reverting to 1.79.1.23164 fixes the issue. Unclear if this is the fault of VSCodium/VSCode or the extension.
Extension version v0.0.39, installed from openVSX.
Error message:
Failed to connect to the remote extension host server (Error: Not an authority that can be resolved!)
UPDATE: All three of the following options don't do anything either
Error messages: