8000 Extension activation failure. · Issue #405 · googlecolab/colab-vscode · GitHub
[go: up one dir, main page]

Skip to content
< 7FFF link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/fz-4625459279202f71.js" fetchpriority="low" />

Extension activation failure. #405

Open

Description

@Saqlain-ch

I have a Mac Mini and a MacBook. On both of these, when I installed it the first time, it didn't sign in. I had to delete the extension and reinstall it to sign in. After using it for a day, it's not connecting anymore and isn't giving any error. I've attached the screen recording for reference.

Screen.Recording.2026-02-09.at.2.35.23.PM.mov

Activity

  1. mounikasomisetty commented on Feb 9, 2026

    @mounikasomisetty
    Collaborator

    Hi @Saqlain-ch, sorry to hear that you are dealing with this - could you ensure the logging level is set to trace in the Colab user settings and share the resulting Colab logs here? The additional information captured by the trace logs will help us to better troubleshoot the issue. Thanks!

  2. Saqlain-ch commented on Feb 9, 2026

    @Saqlain-ch
    Author

    Hi @mounikasomisetty, I've atteched screenshot and text of the output.

    [2026-02-09T19:54:56.976Z] [Info] Visual Studio Code: 1.109.0
    [2026-02-09T19:54:56.976Z] [Info] Remote: N/A
    [2026-02-09T19:54:56.976Z] [Info] App Host: desktop
    [2026-02-09T19:54:56.976Z] [Info] Jupyter extension version: 2025.9.1
    [2026-02-09T19:55:01.191Z] [Error] Unable to refresh access token
    Error: request to https://oauth2.googleapis.com/token failed, reason:
    at es._request (/Users/saqlainch/.vscode/extensions/google.colab-0.2.1/out/extension.js:12:3578)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async t.refreshTokenNoCache (/Users/saqlainch/.vscode/extensions/google.colab-0.2.1/out/extension.js:24:10713)
    at async t.refreshAccessTokenAsync (/Users/saqlainch/.vscode/extensions/google.colab-0.2.1/out/extension.js:24:11428)
    at async oo.initialize (/Users/saqlainch/.vscode/extensions/google.colab-0.2.1/out/extension.js:70:1889)
    at async XR (/Users/saqlainch/.vscode/extensions/google.colab-0.2.1/out/extension.js:72:69217)
    at async cA.n (file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:116:13398)
    at async cA.m (file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:116:13361)
    at async cA.l (file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:116:12817)

    Image
  3. Saqlain-ch commented on Feb 9, 2026

    @Saqlain-ch
    Author

    Hi @mounikasomisetty, I've changes logining access to trace and now this is the output logs

    [2026-02-09T20:04:44.048Z] [Trace] Qr.provideJupyterServers called with
    {
    "a": false,
    "b": null
    }
    [2026-02-09T20:04:44.048Z] [Trace] Qr.provideJupyterServers returned (sync)
    []
    [2026-02-09T20:04:44.048Z] [Trace] Qr.provideCommands called with
    undefined
    {
    "a": false,
    "b": null
    }
    [2026-02-09T20:04:44.048Z] [Trace] Qr.provideCommands returned a Promise
    [2026-02-09T20:04:44.049Z] [Trace] Qr.provideCommands Promise resolved, args and value:
    undefined
    {
    "a": false,
    "b": null
    }
    [
    {
    "label": "$(symbol-event) Auto Connect",
    "description": "1-click connect! Most recently created server, or a new one."
    },
    {
    "label": "$(add) New Colab Server",
    "description": "CPU, GPU or TPU."
    },
    {
    "label": "$(link-external) Open Colab Web",
    "description": "Open Colab web."
    }
    ]
    [2026-02-09T20:04:48.371Z] [Trace] Qr.handleCommand called with
    {
    "label": "$(add) New Colab Server",
    "description": "CPU, GPU or TPU."
    }
    {
    "a": false,
    "b": null
    }
    [2026-02-09T20:04:48.371Z] [Trace] Qr.handleCommand returned a Promise
    [2026-02-09T20:04:53.405Z] [Trace] Qr.handleCommand Promise rejected, args and error:
    {
    "label": "$(add) New Colab Server",
    "description": "CPU, GPU or TPU."
    }
    {
    "a": false,
    "b": null
    }
    Error: Timed out waiting for authentication provider 'google' to register.
    at xXe.G (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:607:73789)
    at async xXe.getSessions (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:607:70806)
    at async _di.I (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:607:79065)
    at async _di.$getSession (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:607:80930)

  4. mounikasomisetty commented on Feb 10, 2026

    @mounikasomisetty
    Collaborator

    Thank you for providing that @Saqlain-ch ! Could you also confirm what version of the Colab extension you are using?

  5. Saqlain-ch commented on Feb 10, 2026

    @Saqlain-ch
    Author

    Hi @mounikasomisetty, The version of the Cloab extension is the latest one as I've deleted and installed it multiple times. To be specific, it's 0.2.1, and VS Code 1.109.0, both are on their latest version.

  6. mounikasomisetty commented on Feb 11, 2026

    @mounikasomisetty
    Collaborator

    Thank you for confirming that @Saqlain-ch - I'm not fully sure why this is happening but my guess would be that the authentication pop up is getting blocked, there is a network issue or a corrupted cache. We are still looking into it though.

  7. kevineger commented on Feb 23, 2026

    @kevineger
    Member

    Sorry your hitting an issue. From the logs, the two relevant pieces are:

    1. Error: request to https://oauth2.googleapis.com/token failed
    2. Error: Timed out waiting for authentication provider 'google' to register.

    The google authentication provider will only fail if the extension fails to activate. Activation failures will appear in Output > Extension Host (or Output > Extension Host (Remote), if connected to a remote VS Code server). Can you pass those along?

  8. changed the title [-]Can't not connect to server[/-] [+]Extension activation failure.[/+] on Feb 23, 2026
  9. lasse-meixner commented on Mar 4, 2026

    @lasse-meixner

    I have exactly the same issue.

  10. kevineger commented on Mar 4, 2026

    @kevineger
    Member

    As above, mind passing along your Extension Host logs @lasse-meixner?

  11. lasse-meixner commented on Mar 4, 2026

    @lasse-meixner

    @kevineger Sure! When I try to select a new Colab server, it triggers these lines in Output > Extension Host
    Let me know if I can provide any other diagnostics or try something.

    2026-03-03 17:38:03.444 [error] Error: Timed out waiting for authentication provider 'google' to register.
        at lYe.G (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:607:73789)
        at async lYe.getSessions (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:607:70806)
        at async zui.I (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:607:79065)
        at async zui.$getSession (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:607:80930) jupyter.kernel.selectJupyterServerKernel {"value":"ms-toolsai.jupyter","_lower":"ms-toolsai.jupyter"}
    2026-03-03 17:38:03.444 [error] Error: Timed out waiting for authentication provider 'google' to register.
        at lYe.G (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:607:73789)
        at async lYe.getSessions (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:607:70806)
        at async zui.I (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:607:79065)
        at async zui.$getSession (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:607:80930) jupyter.kernel.selectJupyterServerKernel undefined
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneed more infoNeed some more info to further help out!

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0