question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installing extensions from vsix tries to query marketplace

See original GitHub issue

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:

#9 28.35 Installing extensions...
#9 28.94 Extension 'eamodio.gitlens-11.0.2.vsix' was successfully installed.
#9 28.95 error vscode getaddrinfo ENOTFOUND extensions.coder.com
#9 28.95 error vscode Error: getaddrinfo ENOTFOUND extensions.coder.com

Here is the install process (via Docker):

RUN yum install -y /tmp/code-server-${CODE_SERVER_VERSION}-amd64.rpm \
    && mkdir -p ${CODE_SERVER_EXTENSIONS_DIRPATH} \
    && chmod -R 755 ${CODE_SERVER_EXTENSIONS_DIRPATH} \
# Install Extensions
    && code-server --extensions-dir ${CODE_SERVER_EXTENSIONS_DIRPATH} --install-extension /tmp/extensions/eamodio.gitlens-11.0.2.vsix 
  • Remote OS: Rhel 7.6
  • Remote Architecture: amd64
  • code-server --version: 3.7.2

It 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 !

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:17 (6 by maintainers)

github_iconTop GitHub Comments

4reactions
code-ashercommented, Dec 2, 2020

Seems it’s fixed upstream, just need to wait for the next release so we can pull it in: https://github.com/microsoft/vscode/issues/110574

3reactions
code-ashercommented, Nov 30, 2020

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing extensions from vsix tries to query marketplace #2355
I am trying to install extensions with local .vsix files downloaded for Microsoft marketplace since my build servers cannot access internet ...
Read more >
Managing Extensions in Visual Studio Code
To install an extension, select the Install button. ... Select the Install button, and VS Code will download and install the extension from...
Read more >
Install extensions - Azure DevOps | Microsoft Learn
Install an extension to your organization by doing the following steps. ... Select the shopping bag icon, and then select Browse Marketplace.
Read more >
Install Outdated Extensions | Visual Studio Guide - YouTube
Well, while things may not work exactly as expected, you can edit VSIX Extension installers to install on newer versions of Visual Studio....
Read more >
VSCode: How to create your own Extension Pack - Medium
Select Extensions (Ctrl + Shift + X) · Open “More Action” menu(ellipsis on the top) and click “Install from VSIX…” · Locate VSIX...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found