Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-10113

[airgap] Failed to connect to the remote extension host server (Error: Couldn't install vscode server on remote server, install script returned non-zero exit status)

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Release Notes
    • Known Issue
    • Proposed

      Description of problem:

      Workaround

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. Download and install Kiro 0.8.206
      2. Sign in to the Kiro using Google account
      3. Install Dev Spaces 3.26.0-RC.02.04 on an airgap OCP 4.20
      4. Go to User Dashboard
      5. Create and start sample workspace using Kiro (desktop) (SSH) Editor
      6. After workspace started try to connect to the remote server following instructions from the landing page:

      Actual results:

      Kiro Editor failed to connect to the remote Kiro server.

      Failed to connect to the remote extension host server (Error: Couldn't install vscode server on remote server, install script returned non-zero exit status)
      

      Developer Tools log
      INFO [LocalProcess0][resolveAuthority(ssh-remote,1)][4489ms] waiting...
      workbench.desktop.main.js:34   ERR [LocalProcess0][resolveAuthority(ssh-remote,1)][4895ms] returned an error Object
      error @ workbench.desktop.main.js:34
      workbench.desktop.main.js:34   ERR resolveAuthority(ssh-remote) returned an error after 4896 ms CodeExpectedError: Couldn't install vscode server on remote server, install script returned non-zero exit status
          at qIt.sb (workbench.desktop.main.js:11508:15716)
          at async qIt.rb (workbench.desktop.main.js:11508:15082)
          at async qIt.fc (workbench.desktop.main.js:11514:3612)
          at async workbench.desktop.main.js:30:82904
      error @ workbench.desktop.main.js:34
      workbench.desktop.main.js:34   ERR Error received from starting extension host (kind: Remote)
      error @ workbench.desktop.main.js:34
      workbench.desktop.main.js:34   ERR CodeExpectedError: Couldn't install vscode server on remote server, install script returned non-zero exit status
          at qIt.sb (workbench.desktop.main.js:11508:15716)
          at async qIt.rb (workbench.desktop.main.js:11508:15082)
          at async qIt.fc (workbench.desktop.main.js:11514:3612)
          at async workbench.desktop.main.js:30:82904
      error @ workbench.desktop.main.js:34
      workbench.desktop.main.js:34   ERR [remote-connection][attempt 1] An error occurred in initial connection! Will retry... Error:
      error @ workbench.desktop.main.js:34
      workbench.desktop.main.js:34   ERR CodeExpectedError: Couldn't install vscode server on remote server, install script returned non-zero exit status
          at qIt.sb (workbench.desktop.main.js:11508:15716)
          at async qIt.rb (workbench.desktop.main.js:11508:15082)
          at async qIt.fc (workbench.desktop.main.js:11514:3612)
          at async workbench.desktop.main.js:30:82904
      error @ workbench.desktop.main.js:34
      workbench.desktop.main.js:34   ERR [remote-connection][attempt 2] An error occurred in initial connection! Will retry... Error:
      error @ workbench.desktop.main.js:34
      workbench.desktop.main.js:34   ERR CodeExpectedError: Couldn't install vscode server on remote server, install script returned non-zero exit status
          at qIt.sb (workbench.desktop.main.js:11508:15716)
          at async qIt.rb (workbench.desktop.main.js:11508:15082)
          at async qIt.fc (workbench.desktop.main.js:11514:3612)
          at async workbench.desktop.main.js:30:82904
      error @ workbench.desktop.main.js:34
      workbench.desktop.main.js:34   ERR [remote-connection][attempt 3] An error occurred in initial connection! Will retry... Error:
      error @ workbench.desktop.main.js:34
      workbench.desktop.main.js:34   ERR CodeExpectedError: Couldn't install vscode server on remote server, install script returned non-zero exit status
          at qIt.sb (workbench.desktop.main.js:11508:15716)
          at async qIt.rb (workbench.desktop.main.js:11508:15082)
          at async qIt.fc (workbench.desktop.main.js:11514:3612)
          at async workbench.desktop.main.js:30:82904
      error @ workbench.desktop.main.js:34
      workbench.desktop.main.js:34   ERR [remote-connection][attempt 4] An error occurred in initial connection! Will retry... Error:
      error @ workbench.desktop.main.js:34
      workbench.desktop.main.js:34   ERR CodeExpectedError: Couldn't install vscode server on remote server, install script returned non-zero exit status
          at qIt.sb (workbench.desktop.main.js:11508:15716)
          at async qIt.rb (workbench.desktop.main.js:11508:15082)
          at async qIt.fc (workbench.desktop.main.js:11514:3612)
          at async workbench.desktop.main.js:30:82904
      error @ workbench.desktop.main.js:34
      workbench.desktop.main.js:34   ERR [remote-connection][attempt 5]  An error occurred in initial connection! It will be treated as a permanent error. Error:
      error @ workbench.desktop.main.js:34
      2workbench.desktop.main.js:34   ERR CodeExpectedError: Couldn't install vscode server on remote server, install script returned non-zero exit status
          at qIt.sb (workbench.desktop.main.js:11508:15716)
          at async qIt.rb (workbench.desktop.main.js:11508:15082)
          at async qIt.fc (workbench.desktop.main.js:11514:3612)
          at async workbench.desktop.main.js:30:82904
      error @ workbench.desktop.main.js:34
      workbench.desktop.main.js:34   ERR Cannot register remote filesystem provider. Error while fetching remote environment. Couldn't install vscode server on remote server, install script returned non-zero exit status
      error @ workbench.desktop.main.js:34
      workbench.desktop.main.js:11480 Failed to connect to the remote extension host server (Error: Couldn't install vscode server on remote server, install script returned non-zero exit status)
      c @ workbench.desktop.main.js:11480
      2workbench.desktop.main.js:34   ERR CodeExpectedError: Couldn't install vscode server on remote server, install script returned non-zero exit status
          at qIt.sb (workbench.desktop.main.js:11508:15716)
          at async qIt.rb (workbench.desktop.main.js:11508:15082)
          at async qIt.fc (workbench.desktop.main.js:11514:3612)
          at async workbench.desktop.main.js:30:82904
      error @ workbench.desktop.main.js:34
      workbench.desktop.main.js:2378 Got token path with schema file and path /home/ndp/.aws/sso/cache/kiro-auth-token.json
      workbench.desktop.main.js:34   ERR CodeExpectedError: Couldn't install vscode server on remote server, install script returned non-zero exit status
          at qIt.sb (workbench.desktop.main.js:11508:15716)
          at async qIt.rb (workbench.desktop.main.js:11508:15082)
          at async qIt.fc (workbench.desktop.main.js:11514:3612)
          at async workbench.desktop.main.js:30:82904
      error @ workbench.desktop.main.js:34
      workbench.desktop.main.js:34   ERR Couldn't install vscode server on remote server, install script returned non-zero exit status: CodeExpectedError: Couldn't install vscode server on remote server, install script returned non-zero exit status
          at qIt.sb (vscode-file://vscode-app/home/ndp/ide/kiro-ide-0.8.206-stable-linux-x64/Kiro/resources/app/out/vs/workbench/workbench.desktop.main.js:11508:15716)
          at async qIt.rb (vscode-file://vscode-app/home/ndp/ide/kiro-ide-0.8.206-stable-linux-x64/Kiro/resources/app/out/vs/workbench/workbench.desktop.main.js:11508:15082)
          at async qIt.fc (vscode-file://vscode-app/home/ndp/ide/kiro-ide-0.8.206-stable-linux-x64/Kiro/resources/app/out/vs/workbench/workbench.desktop.main.js:11514:3612)
          at async vscode-file://vscode-app/home/ndp/ide/kiro-ide-0.8.206-stable-linux-x64/Kiro/resources/app/out/vs/workbench/workbench.desktop.main.js:30:82904
      error @ workbench.desktop.main.js:34
      workbench.desktop.main.js:34   ERR CodeExpectedError: Couldn't install vscode server on remote server, install script returned non-zero exit status
          at qIt.sb (workbench.desktop.main.js:11508:15716)
          at async qIt.rb (workbench.desktop.main.js:11508:15082)
          at async qIt.fc (workbench.desktop.main.js:11514:3612)
          at async workbench.desktop.main.js:30:82904
      error @ workbench.desktop.main.js:34
      workbench.desktop.main.js:34   ERR Timed out waiting for authentication provider 'kiro' to register.: Error: Timed out waiting for authentication provider 'kiro' to register.
          at J_e.F (vscode-file://vscode-app/home/ndp/ide/kiro-ide-0.8.206-stable-linux-x64/Kiro/resources/app/out/vs/workbench/workbench.desktop.main.js:586:70708)
          at async J_e.getSessions (vscode-file://vscode-app/home/ndp/ide/kiro-ide-0.8.206-stable-linux-x64/Kiro/resources/app/out/vs/workbench/workbench.desktop.main.js:586:68463)
          at async Rve.Cb (vscode-file://vscode-app/home/ndp/ide/kiro-ide-0.8.206-stable-linux-x64/Kiro/resources/app/out/vs/workbench/workbench.desktop.main.js:1171:15376)
          at async Rve.Db (vscode-file://vscode-app/home/ndp/ide/kiro-ide-0.8.206-stable-linux-x64/Kiro/resources/app/out/vs/workbench/workbench.desktop.main.js:1171:15700)
          at async vscode-file://vscode-app/home/ndp/ide/kiro-ide-0.8.206-stable-linux-x64/Kiro/resources/app/out/vs/workbench/workbench.desktop.main.js:1171:15326
      error @ workbench.desktop.main.js:34
      workbench.desktop.main.js:34   ERR Couldn't install vscode server on remote server, install script returned non-zero exit status: CodeExpectedError: Couldn't install vscode server on remote server, install script returned non-zero exit status
          at qIt.sb (vscode-file://vscode-app/home/ndp/ide/kiro-ide-0.8.206-stable-linux-x64/Kiro/resources/app/out/vs/workbench/workbench.desktop.main.js:11508:15716)
          at async qIt.rb (vscode-file://vscode-app/home/ndp/ide/kiro-ide-0.8.206-stable-linux-x64/Kiro/resources/app/out/vs/workbench/workbench.desktop.main.js:11508:15082)
          at async qIt.fc (vscode-file://vscode-app/home/ndp/ide/kiro-ide-0.8.206-stable-linux-x64/Kiro/resources/app/out/vs/workbench/workbench.desktop.main.js:11514:3612)
          at async vscode-file://vscode-app/home/ndp/ide/kiro-ide-0.8.206-stable-linux-x64/Kiro/resources/app/out/vs/workbench/workbench.desktop.main.js:30:82904
      

      Expected results:

      User connected to the remote Kiro server without errors.

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Acceptance criteria: 

       
      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

      It was possible to connect to another remote editor: the Visual Studio Code (desktop) (SSH) server on the same Dev Spaces instance from the local VS Code editor.
       

       *

        1. Screenshot from 2026-02-07 16-44-47.png
          66 kB
          Dmytro Nochevnov
        2. Screenshot from 2026-02-07 19-35-28.png
          284 kB
          Dmytro Nochevnov
        3. kiro-remote-download-template.png
          54 kB
          Roland Grunberg

              rgrunber@redhat.com Roland Grunberg
              dnochevn Dmytro Nochevnov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: