-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Installing extensions from vsix tries to query marketplace #2355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm not sure; apparently even installing extensions locally tries to
ping the extension marketplace. Maybe it's to get metadata or see if
it's the latest version? I've been meaning to look into it but I haven't
had a chance yet.
|
Okay thank you for your feedback, but before 3.7.2 it does not make the installation failed |
Oh interesting! Sounds like it could be a bug with the new version then. |
Yes it could, I just verified with the versions 3.5.0, 3.6.2, 3.7.1, and it works with all these ones |
With v3.7.3 and v3.7.2, Installing an extension using command Installing extensions...
Extension 'xyz' was successfully installed.
error vscode Server returned 500
error vscode Error: Server returned 500
at Object.t.asJson (/opt/code-server/lib/vscode/out/vs/server/entry.js:373:933)
at j.queryGallery (/opt/code-server/lib/vscode/out/vs/server/entry.js:393:695)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async j.query (/opt/code-server/lib/vscode/out/vs/server/entry.js:392:642)
at async j.getExtensions (/opt/code-server/lib/vscode/out/vs/server/entry.js:390:251)
at async /opt/code-server/lib/vscode/out/vs/server/entry.js:541:148
at async Promise.all (index 0)
at async J.getGalleryExtensions (/opt/code-server/lib/vscode/out/vs/server/entry.js:541:117)
at async Promise.all (index 0)
at async J.installExtensions (/opt/code-server/lib/vscode/out/vs/server/entry.js:540:13)
at async J.run (/opt/code-server/lib/vscode/out/vs/server/entry.js:538:205)
at async /opt/code-server/lib/vscode/out/vs/server/entry.js:545:678
at async process.<anonymous> (/opt/code-server/lib/vscode/out/vs/server/entry.js:553:669) This error does not occur with v3.7.1, though. |
@benz0li @code-asher I confirm that installing extensions from |
I am having the same issue with 3.7.3. Downgrading to 3.7.1 and everything is up and running
|
I'll be looking into this soon. Just as an FYI, it's best to avoid
3.7.1: https://github.com/cdr/code-server/releases/tag/v3.7.2
|
Workaround for code-server --install-extension xyz.vsix || true
|
Seems it's fixed upstream, just need to wait for the next release so we can pull it in: microsoft/vscode#110574 |
any news on that ? does 3.7.4 works with extensions ? |
Not yet, but the bug is resolved in VSCode |
Mostly just hash and line updates, but also: - A new doStore was added, needed to update to return a promise. - GoHomeContributor was removed. It's probably registered in some other way now. - The about dialog content moved to another file. - createTrustedScriptURL was removed, trustedTypesPolicy was added - Remove added logLevel, we've always had that. Fixes #2355.
Mostly just hash and line updates, but also: - The maximum Node version was increased but since we're following the VS Code allowed version range now to prevent bugs, remove the comments code there instead of updating it. - A new doStore was added, needed to update to return a promise. - GoHomeContributor was removed. It's probably registered in some other way now. - The about dialog content moved to another file. - createTrustedScriptURL was removed, trustedTypesPolicy was added - Remove added logLevel, we've always had that. Fixes #2355.
was this fixed? does 3.7.4 works with extensions? |
No, this was fixed in version 1.52.0 of VS Code which we haven't updated
to yet.
|
Did this get fixed by the latest release? |
Hello, I've tested in 3.9.0 and the issue it's resolved ! |
Ah yup should be resolved now. |
Hello,
First of all thank you for your work !
I am trying to install extensions with local
.vsix
files downloaded for Microsoft marketplace since my build servers cannot access internet (company policies).Since 3.7.2, I cannot install extensions without this error:
Here is the install process (via Docker):
code-server --version
: 3.7.2It seems that the extensions install process is trying to contact extensions.coder.com which is denied on my servers.
Is it a bug or I'm missing something on the extension's install process ?
Thank in advance for your answers.
Have a good day !
The text was updated successfully, but these errors were encountered: