Skip to content

WSL no session_created event received #4766

@orangeswim

Description

@orangeswim

Plugin Type

VSCode Extension

App Version

Version: 4.141.1 (308a947), CLI 0.18.1

Description

On a project, when creating a new agent, I'm getting the following error. Also the logs included.
[AgentManager] Pending session timed out after 30s - no session_created event received

kilo-code extension activated - {"publisher":"kilocode","name":"kilo-code","version":"4.141.1","outputChannel":"Kilo-Code"}
[Default Commands Migration] Migration already completed, skipping
Skipping migration of cline_custom_modes.json to custom_modes.json: old file not found
Skipping migration of cline_mcp_settings.json to mcp_settings.json: old file not found
No custom_modes.json found, skipping YAML migration
CloudService not ready, deferring cloud profile sync
[auth] Using WebAuthService
Auto-purge scheduler initialized
[auth] changeState: initializing -> logged-out
[DEBUG] [2026-01-03T22:01:54.246Z] [SessionManager] Initialized SessionManager
SessionManager initialized successfully
[AutoImport] No auto-import settings path specified, skipping auto-import
[SettingsSyncService] Registered 10 keys for synchronization: kilo-code.allowedCommands, kilo-code.deniedCommands, kilo-code.autoApprovalEnabled, kilo-code.fuzzyMatchThreshold, kilo-code.diffEnabled, kilo-code.directoryContextAddedContext, kilo-code.language, kilo-code.customModes, kilo-code.firstInstallCompleted, kilo-code.telemetrySetting
[SettingsSync] VS Code Settings Sync integration initialized
Kilo Code commit message generator activated
Kilo: Commit message provider registered
[AgentManager] Current git URL: git@gitlab.com:[REDACTED].git
Agent Manager panel opened
Agent Manager received message: {"type":"agentManager.webviewReady"}
Agent Manager received message: {"type":"agentManager.listBranches"}
[AgentManager] Fetched 3 remote sessions
Agent Manager received message: {"type":"agentManager.listBranches"}
Agent Manager received message: {"type":"agentManager.startSession","prompt":"lets look at 05-auth-ui-ux-review.md, evaluate our plan, then we can move on to phase 1","parallelMode":true,"versions":1,"existingBranch":"main"}
[AgentManager] Captured shell PATH (89 entries)
[AgentManager] Found local CLI installation: /home/[REDACTED]/.kilocode/cli/pkg/node_modules/.bin/kilocode
[AgentManager] Pending session timed out after 30s - no session_created event received
[AgentManager] Found Node.js at: /home/[REDACTED]/.nvm/versions/node/v22.14.0/bin/node
[AgentManager] Found npm at: /home/[REDACTED]/.nvm/versions/node/v22.14.0/bin/npm
Agent Manager received message: {"type":"agentManager.listBranches"}
Agent Manager received message: {"type":"agentManager.listBranches"}

Other features are working normally. (Codebase indexing, Code/Architect chat). Kilocode is installed and available on the wsl terminal.

Reproduction steps

  1. Click Open Agent Manager from KILO CODE extension.
  2. Type prompt, select Worktree, then a branch.
  3. It tries to create session.
  4. Timeout/error notification.

Provider

No response

Model

GLM 4.7

System Information

wsl --version
WSL version: 2.4.13.0
Kernel version: 5.15.167.4-1
WSLg version: 1.0.65
MSRDC version: 1.2.5716
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.26100.7462

cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"

12th Gen Intel(R) Core(TM) i9-12900K
32 gbram available to wsl, 64 gb total on machine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Intake

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions