-
Notifications
You must be signed in to change notification settings - Fork 51
Description
Description
Creating a new server fails on the "Select A Kernael from "Colab CPU" (or whatever the name of the Server was entered)
Environment
- VS Code version: 1.109.4
- Colab extension version: 0.3.0
- Jupyter extension version: 2025.9.1
- OS (Linux | Mac | Windows): Windows
Repro Steps
Open Py file
Select Kernel Colab
Select CPU
Give name
"Select a Kernal from Colab GPU TF
Error message is displayed "Unable to connect to the remote server"
Note that I am fully logged in. Have tried restarting VS Code, uninstalling, reinstalling, logging out and then in again. Always same message.
I can go to the web and connect just fine.
Expected Behaviour
TODO: A clear and concise description of what you expected to happen.
Actual Behaviour
TODO: A clear and concise description of what's happening instead.
Additional context
TODO: Optionally add any other context about the problem here.
Logs
Logs from Colab in the Output panel (View > Output, change the drop-down the upper-right of the Output panel to Colab).
[2026-02-17T09:22:43.361Z] [Info] Visual Studio Code: 1.109.4
[2026-02-17T09:22:43.361Z] [Info] Remote: N/A
[2026-02-17T09:22:43.361Z] [Info] App Host: desktop
[2026-02-17T09:22:43.361Z] [Info] Jupyter extension version: 2025.9.1
[2026-02-17T09:25:50.018Z] [Trace] tn.provideJupyterServers called with
{
"a": false,
"b": null
}
[2026-02-17T09:25:50.018Z] [Trace] tn.provideJupyterServers returned a Promise
[2026-02-17T09:25:50.018Z] [Trace] tn.provideJupyterServers Promise resolved, args and value:
{
"a": false,
"b": null
}
[]
[2026-02-17T09:25:50.020Z] [Trace] tn.provideCommands called with
undefined
{
"a": false,
"b": null
}
[2026-02-17T09:25:50.020Z] [Trace] tn.provideCommands returned a Promise
[2026-02-17T09:25:51.752Z] [Trace] tn.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."
},
{
"label": "$(accounts-view-bar-icon) Upgrade to Pro",
"description": "More machines, more quota, more Colab!"
}
]
[2026-02-17T09:25:55.899Z] [Trace] tn.handleCommand called with
{
"label": "$(add) New Colab Server",
"description": "CPU, GPU or TPU."
}
{
"a": false,
"b": null
}
[2026-02-17T09:25:55.899Z] [Trace] tn.handleCommand returned a Promise
[2026-02-17T09:26:10.465Z] [Trace] tn.provideJupyterServers called with
{
"a": false,
"b": null
}
[2026-02-17T09:26:10.465Z] [Trace] tn.provideJupyterServers returned a Promise
[2026-02-17T09:26:10.466Z] [Trace] Scheduled connection refresh for "Colab GPU T4" in 3299994ms
[2026-02-17T09:26:10.466Z] [Trace] tn.handleCommand Promise resolved, args and value:
{
"label": "$(add) New Colab Server",
"description": "CPU, GPU or TPU."
}
{
"a": false,
"b": null
}
{
"id": "a69f8ed7-ab1e-4299-9478-1efc67f9679a",
"label": "Colab GPU T4",
"variant": "GPU",
"accelerator": "T4",
"endpoint": "gpu-t4-s-ix9i6bgukejj",
"connectionInformation": {
"baseUrl": {
"$mid": 1,
"external": "https://8080-gpu-t4-s-ix9i6bgukejj-c.asia-southeast1-0.prod.colab.dev/",
"path": "/",
"scheme": "https",
"authority": "8080-gpu-t4-s-ix9i6bgukejj-c.asia-southeast1-0.prod.colab.dev"
},
"token": "eyJhbGciOiJFUzI1NiIsImtpZCI6InJHU3h3QSJ9.eyJhdWQiOiJncHUtdDQtcy1peDlpNmJndWtlamoiLCJleHAiOjE3NzEzMjM5NjksInBvcnQiOjgwODB9.L6gDbS_SnqtRPAnCymIJPLV3w8HRD9BwKc1lCclyfOh42OtW2H2tjYrcS5QObULknPWbx0uzbb3VFV3p4gu2tA",
"tokenExpiry": "2026-02-17T10:26:10.460Z",
"headers": {
"X-Colab-Runtime-Proxy-Token": "eyJhbGciOiJFUzI1NiIsImtpZCI6InJHU3h3QSJ9.eyJhdWQiOiJncHUtdDQtcy1peDlpNmJndWtlamoiLCJleHAiOjE3NzEzMjM5NjksInBvcnQiOjgwODB9.L6gDbS_SnqtRPAnCymIJPLV3w8HRD9BwKc1lCclyfOh42OtW2H2tjYrcS5QObULknPWbx0uzbb3VFV3p4gu2tA",
"X-Colab-Client-Agent": "vscode"
}
},
"dateAssigned": "2026-02-17T09:26:10.460Z"
}
[2026-02-17T09:26:10.491Z] [Trace] tn.provideJupyterServers called with
{
"a": false,
"b": null
}
[2026-02-17T09:26:10.491Z] [Trace] tn.provideJupyterServers returned a Promise
[2026-02-17T09:26:11.028Z] [Trace] tn.provideJupyterServers Promise resolved, args and value:
{
"a": false,
"b": null
}
[
{
"id": "a69f8ed7-ab1e-4299-9478-1efc67f9679a",
"label": "Colab GPU T4",
"variant": "GPU",
"accelerator": "T4",
"endpoint": "gpu-t4-s-ix9i6bgukejj",
"connectionInformation": {
"baseUrl": {
"$mid": 1,
"path": "/",
"scheme": "https",
"authority": "8080-gpu-t4-s-ix9i6bgukejj-c.asia-southeast1-0.prod.colab.dev"
},
"token": "eyJhbGciOiJFUzI1NiIsImtpZCI6InJHU3h3QSJ9.eyJhdWQiOiJncHUtdDQtcy1peDlpNmJndWtlamoiLCJleHAiOjE3NzEzMjM5NjksInBvcnQiOjgwODB9.L6gDbS_SnqtRPAnCymIJPLV3w8HRD9BwKc1lCclyfOh42OtW2H2tjYrcS5QObULknPWbx0uzbb3VFV3p4gu2tA",
"tokenExpiry": "2026-02-17T10:26:10.460Z",
"headers": {
"X-Colab-Runtime-Proxy-Token": "eyJhbGciOiJFUzI1NiIsImtpZCI6InJHU3h3QSJ9.eyJhdWQiOiJncHUtdDQtcy1peDlpNmJndWtlamoiLCJleHAiOjE3NzEzMjM5NjksInBvcnQiOjgwODB9.L6gDbS_SnqtRPAnCymIJPLV3w8HRD9BwKc1lCclyfOh42OtW2H2tjYrcS5QObULknPWbx0uzbb3VFV3p4gu2tA",
"X-Colab-Client-Agent": "vscode"
}
},
"dateAssigned": "2026-02-17T09:26:10.460Z"
}
]
[2026-02-17T09:26:11.066Z] [Trace] tn.provideJupyterServers Promise resolved, args and value:
{
"a": false,
"b": null
}
[
{
"id": "a69f8ed7-ab1e-4299-9478-1efc67f9679a",
"label": "Colab GPU T4",
"variant": "GPU",
"accelerator": "T4",
"endpoint": "gpu-t4-s-ix9i6bgukejj",
"connectionInformation": {
"baseUrl": {
"$mid": 1,
"path": "/",
"scheme": "https",
"authority": "8080-gpu-t4-s-ix9i6bgukejj-c.asia-southeast1-0.prod.colab.dev"
},
"token": "eyJhbGciOiJFUzI1NiIsImtpZCI6InJHU3h3QSJ9.eyJhdWQiOiJncHUtdDQtcy1peDlpNmJndWtlamoiLCJleHAiOjE3NzEzMjM5NjksInBvcnQiOjgwODB9.L6gDbS_SnqtRPAnCymIJPLV3w8HRD9BwKc1lCclyfOh42OtW2H2tjYrcS5QObULknPWbx0uzbb3VFV3p4gu2tA",
"tokenExpiry": "2026-02-17T10:26:10.460Z",
"headers": {
"X-Colab-Runtime-Proxy-Token": "eyJhbGciOiJFUzI1NiIsImtpZCI6InJHU3h3QSJ9.eyJhdWQiOiJncHUtdDQtcy1peDlpNmJndWtlamoiLCJleHAiOjE3NzEzMjM5NjksInBvcnQiOjgwODB9.L6gDbS_SnqtRPAnCymIJPLV3w8HRD9BwKc1lCclyfOh42OtW2H2tjYrcS5QObULknPWbx0uzbb3VFV3p4gu2tA",
"X-Colab-Client-Agent": "vscode"
}
},
"dateAssigned": "2026-02-17T09:26:10.460Z"
}
]
[2026-02-17T09:26:32.650Z] [Trace] tn.provideJupyterServers called with
{
"a": false,
"b": null
}
[2026-02-17T09:26:32.650Z] [Trace] tn.provideJupyterServers returned a Promise
[2026-02-17T09:26:33.205Z] [Trace] tn.provideJupyterServers Promise resolved, args and value:
{
"a": false,
"b": null
}
[
{
"id": "a69f8ed7-ab1e-4299-9478-1efc67f9679a",
"label": "Colab GPU T4",
"variant": "GPU",
"accelerator": "T4",
"endpoint": "gpu-t4-s-ix9i6bgukejj",
"connectionInformation": {
"baseUrl": {
"$mid": 1,
"path": "/",
"scheme": "https",
"authority": "8080-gpu-t4-s-ix9i6bgukejj-c.asia-southeast1-0.prod.colab.dev"
},
"token": "eyJhbGciOiJFUzI1NiIsImtpZCI6InJHU3h3QSJ9.eyJhdWQiOiJncHUtdDQtcy1peDlpNmJndWtlamoiLCJleHAiOjE3NzEzMjM5NjksInBvcnQiOjgwODB9.L6gDbS_SnqtRPAnCymIJPLV3w8HRD9BwKc1lCclyfOh42OtW2H2tjYrcS5QObULknPWbx0uzbb3VFV3p4gu2tA",
"tokenExpiry": "2026-02-17T10:26:10.460Z",
"headers": {
"X-Colab-Runtime-Proxy-Token": "eyJhbGciOiJFUzI1NiIsImtpZCI6InJHU3h3QSJ9.eyJhdWQiOiJncHUtdDQtcy1peDlpNmJndWtlamoiLCJleHAiOjE3NzEzMjM5NjksInBvcnQiOjgwODB9.L6gDbS_SnqtRPAnCymIJPLV3w8HRD9BwKc1lCclyfOh42OtW2H2tjYrcS5QObULknPWbx0uzbb3VFV3p4gu2tA",
"X-Colab-Client-Agent": "vscode"
}
},
"dateAssigned": "2026-02-17T09:26:10.460Z"
}
]
[2026-02-17T09:27:45.825Z] [Trace] Y1.shouldKeepAlive called with
{
"id": "a69f8ed7-ab1e-4299-9478-1efc67f9679a",
"label": "Colab GPU T4",
"variant": "GPU",
"accelerator": "T4",
"endpoint": "gpu-t4-s-ix9i6bgukejj",
"connectionInformation": {
"baseUrl": {
"$mid": 1,
"external": "https://8080-gpu-t4-s-ix9i6bgukejj-c.asia-southeast1-0.prod.colab.dev/",
"path": "/",
"scheme": "https",
"authority": "8080-gpu-t4-s-ix9i6bgukejj-c.asia-southeast1-0.prod.colab.dev"
},
"token": "eyJhbGciOiJFUzI1NiIsImtpZCI6InJHU3h3QSJ9.eyJhdWQiOiJncHUtdDQtcy1peDlpNmJndWtlamoiLCJleHAiOjE3NzEzMjM5NjksInBvcnQiOjgwODB9.L6gDbS_SnqtRPAnCymIJPLV3w8HRD9BwKc1lCclyfOh42OtW2H2tjYrcS5QObULknPWbx0uzbb3VFV3p4gu2tA",
"tokenExpiry": "2026-02-17T10:26:10.460Z",
"headers": {
"X-Colab-Runtime-Proxy-Token": "eyJhbGciOiJFUzI1NiIsImtpZCI6InJHU3h3QSJ9.eyJhdWQiOiJncHUtdDQtcy1peDlpNmJndWtlamoiLCJleHAiOjE3NzEzMjM5NjksInBvcnQiOjgwODB9.L6gDbS_SnqtRPAnCymIJPLV3w8HRD9BwKc1lCclyfOh42OtW2H2tjYrcS5QObULknPWbx0uzbb3VFV3p4gu2tA",
"X-Colab-Client-Agent": "vscode"
}
},
"dateAssigned": "2026-02-17T09:26:10.460Z"
}
[]
[2026-02-17T09:27:45.825Z] [Trace] Y1.shouldKeepAlive returned a Promise
[2026-02-17T09:27:45.826Z] [Trace] Y1.shouldKeepAlive Promise resolved, args and value:
{
"id": "a69f8ed7-ab1e-4299-9478-1efc67f9679a",
"label": "Colab GPU T4",
"variant": "GPU",
"accelerator": "T4",
"endpoint": "gpu-t4-s-ix9i6bgukejj",
"connectionInformation": {
"baseUrl": {
"$mid": 1,
"external": "https://8080-gpu-t4-s-ix9i6bgukejj-c.asia-southeast1-0.prod.colab.dev/",
"path": "/",
"scheme": "https",
"authority": "8080-gpu-t4-s-ix9i6bgukejj-c.asia-southeast1-0.prod.colab.dev"
},
"token": "eyJhbGciOiJFUzI1NiIsImtpZCI6InJHU3h3QSJ9.eyJhdWQiOiJncHUtdDQtcy1peDlpNmJndWtlamoiLCJleHAiOjE3NzEzMjM5NjksInBvcnQiOjgwODB9.L6gDbS_SnqtRPAnCymIJPLV3w8HRD9BwKc1lCclyfOh42OtW2H2tjYrcS5QObULknPWbx0uzbb3VFV3p4gu2tA",
"tokenExpiry": "2026-02-17T10:26:10.460Z",
"headers": {
"X-Colab-Runtime-Proxy-Token": "eyJhbGciOiJFUzI1NiIsImtpZCI6InJHU3h3QSJ9.eyJhdWQiOiJncHUtdDQtcy1peDlpNmJndWtlamoiLCJleHAiOjE3NzEzMjM5NjksInBvcnQiOjgwODB9.L6gDbS_SnqtRPAnCymIJPLV3w8HRD9BwKc1lCclyfOh42OtW2H2tjYrcS5QObULknPWbx0uzbb3VFV3p4gu2tA",
"X-Colab-Client-Agent": "vscode"
}
},
"dateAssigned": "2026-02-17T09:26:10.460Z"
}
[]
false
Logs from Jupyter in the Output panel (View > Output, change the drop-down the upper-right of the Output panel to Jupyter).
11:22:45.789 [info] Process Execution: ~\AppData\Local\Programs\Python\Python313\python.exe ~\.vscode\extensions\ms-toolsai.jupyter-2025.9.1-win32-x64\pythonFiles\vscode_datascience_helpers\kernel_interrupt_daemon.py --ppid 20668
> cwd: ~\.vscode\extensions\ms-toolsai.jupyter-2025.9.1-win32-x64\pythonFiles\vscode_datascience_helpers
11:22:45.923 [info] Process Execution: ~\AppData\Local\Programs\Python\Python313\python.exe -m ipykernel_launcher --f=~\AppData\Roaming\jupyter\runtime\kernel-v339317a6adaad0c73d305dbfdf98487c2ede14d3d.json
> cwd: c:\Dev\Test\Colab
11:22:47.736 [info] Kernel successfully started
11:22:47.749 [info] Process Execution: ~\AppData\Local\Programs\Python\Python313\python.exe ~\.vscode\extensions\ms-toolsai.jupyter-2025.9.1-win32-x64\pythonFiles\printJupyterDataDir.py
11:26:32.649 [error] Error fetching kernels from https://8080-gpu-t4-s-ix9i6bgukejj-c.asia-southeast1-0.prod.colab.dev/ (Colab GPU T4): [FetchError: request to https://8080-gpu-t4-s-ix9i6bgukejj-c.asia-southeast1-0.prod.colab.dev/api/kernels?1771320371070 failed, reason: connect ETIMEDOUT 34.144.254.29:443