Skip to content

Installing extensions from vsix tries to query marketplace #2355

Closed
@Leletir

Description

@Leletir

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 !

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingupstreamNeeds to be fixed upstream

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions