8000 Timed out waiting for authentication provider 'redhat-account-auth' to register on code-server 4.109.2 · Issue #7673 · coder/code-server · GitHub
[go: up one dir, main page]

Skip to content

Timed out waiting for authentication provider 'redhat-account-auth' to register on code-server 4.109.2 #7673

@TamiTakamiya

Description

@TamiTakamiya

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Chrome
  • Local OS: Fedora Linux 42
  • Remote OS: Fedora Linux 42
  • Remote Architecture: x86_64
  • code-server --version: 4.109.2 9184b64 with Code 1.109.2

Steps to Reproduce

  1. Open code-server in Chrome
  2. Install extension "Red Hat Authentication" (v0.2.0) and "Ansible" (v26.1.3)
  3. Click the Ansible icon ("A" in a circle) on the toolbar --> "Loading..." is displayed in the ANSIBLE LIGHTSPEED section, but the loading never completes.
  4. Open Command Pallete, issue "Developer: Show Logs" command and select "Extension Host (Remote)"
    --> Errors are found in the log like:
2026-02-18 12:57:59.030 [error] Error: Timed out waiting for authentication provider 'redhat-account-auth' to register.
    at oXe.G (http://localhost:8080/stable-9184b645cc7aa41b750e2f2ef956f2896512dd84/static/out/vs/code/browser/workbench/workbench.js:607:67656)
    at async oXe.getSessions (http://localhost:8080/stable-9184b645cc7aa41b750e2f2ef956f2896512dd84/static/out/vs/code/browser/workbench/workbench.js:607:64673)
    at async Yci.I (http://localhost:8080/stable-9184b645cc7aa41b750e2f2ef956f2896512dd84/static/out/vs/code/browser/workbench/workbench.js:607:72932)
    at async Yci.$getSession (http://localhost:8080/stable-9184b645cc7aa41b750e2f2ef956f2896512dd84/static/out/vs/code/browser/workbench/workbench.js:607:74797)

Note

  1. The same error occurs on code-server 4.109.0, but the error does not occur on code-server 4.108.2.
  2. The error does not occur on the locally installed VS Code 4.109.2.
  3. An issue was opened against the Red Hat Authentication as well

Expected

The "Connect" button shows up in the "ANSIBILE LIGHTSPEED" section with no error logged.

Actual

The "Loading..." message stays and error message are logged.

Logs

2026-02-18 12:56:28.942 [info] Extension host with pid 166109 started
2026-02-18 12:56:29.026 [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github'
2026-02-18 12:56:29.026 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage'
2026-02-18 12:56:29.081 [info] ExtensionService#_doActivateExtension vscode.configuration-editing, startup: false, activationEvent: 'onLanguage:json'
2026-02-18 12:56:29.081 [info] ExtensionService#_doActivateExtension vscode.extension-editing, startup: false, activationEvent: 'onLanguage:json'
2026-02-18 12:56:29.082 [info] ExtensionService#_doActivateExtension vscode.json-language-features, startup: false, activationEvent: 'onLanguage:json'
2026-02-18 12:56:29.082 [info] ExtensionService#_doActivateExtension vscode.npm, startup: false, activationEvent: 'onLanguage:json'
2026-02-18 12:56:29.201 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: '*', root cause: vscode.git
2026-02-18 12:56:29.244 [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*'
2026-02-18 12:56:29.244 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*'
2026-02-18 12:56:29.343 [info] Eager extensions activated
2026-02-18 12:56:29.343 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished'
2026-02-18 12:56:29.343 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished'
2026-02-18 12:57:51.688 [info] ExtensionService#_doActivateExtension ms-python.python, startup: false, activationEvent: 'onView:ansible-home', root cause: redhat.ansible
2026-02-18 12:57:51.688 [info] ExtensionService#_doActivateExtension redhat.vscode-yaml, startup: false, activationEvent: 'onView:ansible-home', root cause: redhat.ansible
2026-02-18 12:57:52.016 [info] ExtensionService#_doActivateExtension redhat.ansible, startup: false, activationEvent: 'onView:ansible-home'
2026-02-18 12:57:52.957 [info] ExtensionService#_doActivateExtension vscode.terminal-suggest, startup: false, activationEvent: 'onTerminalShellIntegration:*'
2026-02-18 12:57:59.030 [error] Error: Timed out waiting for authentication provider 'redhat-account-auth' to register.
    at oXe.G (http://localhost:8080/stable-9184b645cc7aa41b750e2f2ef956f2896512dd84/static/out/vs/code/browser/workbench/workbench.js:607:67656)
    at async oXe.getSessions (http://localhost:8080/stable-9184b645cc7aa41b750e2f2ef956f2896512dd84/static/out/vs/code/browser/workbench/workbench.js:607:64673)
    at async Yci.I (http://localhost:8080/stable-9184b645cc7aa41b750e2f2ef956f2896512dd84/static/out/vs/code/browser/workbench/workbench.js:607:72932)
    at async Yci.$getSession (http://localhost:8080/stable-9184b645cc7aa41b750e2f2ef956f2896512dd84/static/out/vs/code/browser/workbench/workbench.js:607:74797)
2026-02-18 12:57:59.030 [error] Error: Timed out waiting for authentication provider 'redhat-account-auth' to register.
    at oXe.G (http://localhost:8080/stable-9184b645cc7aa41b750e2f2ef956f2896512dd84/static/out/vs/code/browser/workbench/workbench.js:607:67656)
    at async oXe.getSessions (http://localhost:8080/stable-9184b645cc7aa41b750e2f2ef956f2896512dd84/static/out/vs/code/browser/workbench/workbench.js:607:64673)
    at async Yci.I (http://localhost:8080/stable-9184b645cc7aa41b750e2f2ef956f2896512dd84/static/out/vs/code/browser/workbench/workbench.js:607:72932)
    at async Yci.$getSession (http://localhost:8080/stable-9184b645cc7aa41b750e2f2ef956f2896512dd84/static/out/vs/code/browser/workbench/workbench.js:607:74797)
2026-02-18 12:59:02.803 [error] Error: Timed out waiting for authentication provider 'redhat-account-auth' to register.
    at oXe.G (http://localhost:8080/stable-9184b645cc7aa41b750e2f2ef956f2896512dd84/static/out/vs/code/browser/workbench/workbench.js:607:67656)
    at async oXe.getSessions (http://localhost:8080/stable-9184b645cc7aa41b750e2f2ef956f2896512dd84/static/out/vs/code/browser/workbench/workbench.js:607:64673)
    at async Yci.I (http://localhost:8080/stable-9184b645cc7aa41b750e2f2ef956f2896512dd84/static/out/vs/code/browser/workbench/workbench.js:607:72932)
    at async Yci.$getSession (http://localhost:8080/stable-9184b645cc7aa41b750e2f2ef956f2896512dd84/static/out/vs/code/browser/workbench/workbench.js:607:74797)
2026-02-18 12:59:02.803 [error] Error: Timed out waiting for authentication provider 'redhat-account-auth' to register.
    at oXe.G (http://localhost:8080/stable-9184b645cc7aa41b750e2f2ef956f2896512dd84/static/out/vs/code/browser/workbench/workbench.js:607:67656)
    at async oXe.getSessions (http://localhost:8080/stable-9184b645cc7aa41b750e2f2ef956f2896512dd84/static/out/vs/code/browser/workbench/workbench.js:607:64673)
    at async Yci.I (http://localhost:8080/stable-9184b645cc7aa41b750e2f2ef956f2896512dd84/static/out/vs/code/browser/workbench/workbench.js:607:72932)
    at async Yci.$getSession (http://localhost:8080/stable-9184b645cc7aa41b750e2f2ef956f2896512dd84/static/out/vs/code/browser/workbench/workbench.js:607:74797)
2026-02-18 12:59:02.803 [error] Error: Timed out waiting for authentication provider 'redhat-account-auth' to register.
    at oXe.G (http://localhost:8080/stable-9184b645cc7aa41b750e2f2ef956f2896512dd84/static/out/vs/code/browser/workbench/workbench.js:607:67656)
    at async oXe.getSessions (http://localhost:8080/stable-9184b645cc7aa41b750e2f2ef956f2896512dd84/static/out/vs/code/browser/workbench/workbench.js:607:64673)
    at async Yci.I (http://localhost:8080/stable-9184b645cc7aa41b750e2f2ef956f2896512dd84/static/out/vs/code/browser/workbench/workbench.js:607:72932)
    at async Yci.$getSession (http://localhost:8080/stable-9184b645cc7aa41b750e2f2ef956f2896512dd84/static/out/vs/code/browser/workbench/workbench.js:607:74797)

Screenshot/Video

Image

Does this bug reproduce in native VS Code?

No, this works as expected in native VS Code

Does this bug reproduce in VS Code web?

This cannot be tested in VS Code web

Does this bug reproduce in GitHub Codespaces?

Yes, this is also broken in GitHub Codespaces

Are you accessing code-server over a secure context?

  • I am using a secure context.

Notes

I could recreate the issue using GitHub Codespaces, which uses Code 1.109.4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageThis issue needs to be triaged by a maintainerwaiting-for-infoWaiting for more information from submitter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0