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

"Failed to connect to the remote extension host server (Error: Too many authentication failures)" connection error in Kiro (desktop) (SSH) Editor after sign in with Google account

XMLWordPrintable

    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • Release Notes
    • Hide
      = Kiro desktop: Authentication failure with Google accounts

      You might encounter a "Failed to connect to the remote extension host server" error when attempting to connect to a workspace via Kiro after you sign in with a Google account. The error message indicates "Too many authentication failures", and Developer Tools logs show that all configured authentication methods failed.

      .Workaround

      Sign in to the Kiro desktop application by using an *AWS Builder ID* instead of a Google account.
      Show
      = Kiro desktop: Authentication failure with Google accounts You might encounter a "Failed to connect to the remote extension host server" error when attempting to connect to a workspace via Kiro after you sign in with a Google account. The error message indicates "Too many authentication failures", and Developer Tools logs show that all configured authentication methods failed. .Workaround Sign in to the Kiro desktop application by using an *AWS Builder ID* instead of a Google account.
    • Known Issue
    • Proposed
    • Workaround Exists
    • Hide

      Sign in to the Kiro desktop application by using an AWS Builder ID instead of a Google account.

      Show
      Sign in to the Kiro desktop application by using an AWS Builder ID instead of a Google account.

      Description of problem:

      Workaround: Sign in to the Kiro using AWS Builder ID.

      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 DS 3.26.0-RC.02.04
      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:

      After sign in with Google into Kiro I faced "Failed to connect to the remote extension host server (Error: Too many authentication failures)" error:

      Developer Tools logs
      workbench.desktop.main.js:34   ERR [LocalProcess0][resolveAuthority(ssh-remote,1)][10829ms] returned an error Object
      error @ workbench.desktop.main.js:34
      workbench.desktop.main.js:34   ERR resolveAuthority(ssh-remote) returned an error after 10831 ms CodeExpectedError: All configured authentication methods failed
          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: All configured authentication methods failed
          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: All configured authentication methods failed
          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: All configured authentication methods failed
          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: All configured authentication methods failed
          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: All configured authentication methods failed
          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: All configured authentication methods failed
          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. All configured authentication methods failed
      error @ workbench.desktop.main.js:34
      workbench.desktop.main.js:11480 Failed to connect to the remote extension host server (Error: All configured authentication methods failed)
      c @ workbench.desktop.main.js:11480
      2workbench.desktop.main.js:34   ERR CodeExpectedError: All configured authentication methods failed
          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: All configured authentication methods failed
          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 All configured authentication methods failed: CodeExpectedError: All configured authentication methods failed
          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: All configured authentication methods failed
          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 All configured authentication methods failed: CodeExpectedError: All configured authentication methods failed
          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
      error @ workbench.desktop.main.js:34
      error @ workbench.desktop.main.js:11483
      pc @ workbench.desktop.main.js:11480
      (anonymous) @ workbench.desktop.main.js:11480
      onUnexpectedError @ workbench.desktop.main.js:7
      bt @ workbench.desktop.main.js:7
      (anonymous) @ workbench.desktop.main.js:11480
      

      Expected results:

      Successful connection to the remote server and the project is available.

      Reproducibility (Always/Intermittent/Only Once):

      Always.

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

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

      Kiro

      Version: 0.8.206
      VSCode Version: 1.103.2
      Commit: da6c579ea1737894ba223fe5009168b66b6a8847
      Date: 2026-01-28T22:37:08.971Z
      Electron: 37.10.2
      ElectronBuildId: undefined
      Chromium: 138.0.7204.251
      Node.js: 22.21.1
      V8: 13.8.258.32-electron.0
      OS: Linux x64 6.0.12-100.fc35.x86_64

       

       *

        1. kiro-ds-3.26.0-rc.02.04-connection-error.png
          54 kB
          Dmytro Nochevnov
        2. screen-capture (45).webm
          10.19 MB
          Dmytro Nochevnov
        3. Screenshot from 2026-02-05 01-59-37.png
          77 kB
          Dmytro Nochevnov
        4. Screenshot from 2026-02-05 02-12-38.png
          246 kB
          Dmytro Nochevnov

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

                Created:
                Updated: