# Bug 上报:WSL Remote 模式下无法登录,AI 扩展加载失败
## 问题描述
在 Windows 端通过 Qoder 连接 WSL(Connect to WSL)打开工程后:
1. **无法登录**:连接 WSL 后提示未登录,点击登录失败,报告错误;Windows 本地模式下登录正常。
2. **AI 扩展加载失败**:远端扩展宿主报错,AI 补全/Agent 功能不可用。
3. **连接不稳定**:Management 连接约每 40 秒断开重连一次。
## 环境信息
- Windows: 10.0.26200.9168 (25H2)
- Qoder: Windows 桌面版(最新版本)
- WSL: 2.7.11.0,内核 6.18.33.2-microsoft-standard-WSL2
- 发行版: Ubuntu 26.04 LTS (WSL2)
- 打开方式: Connect to WSL,文件夹 `vscode-remote://wsl+ubuntu/home/rudy/repos/stock-ai`
## 关键错误日志(远端 ~/.qoder-server/data/logs)
```
[error] No bundle location found for extension aicoding.aicoding-agent
[error] No bundle location found for extension aicoding.aicoding-deeplink
[error] No bundle location found for extension aicoding.aicoding-completion
[error] Error: read ECONNRESET
[error] Error: user not logged in
[warn] Failed to get process path for pid 994: ENOENT: readlink ‘/proc/994/exe’
[error] [MachineInfoService] Failed to parse machine info output as JSON:
Unexpected non-whitespace character after JSON at position 4
[info] [WikiNotifyStatusHandler] status=INITIALIZING_FAILED,
project_path=/home/rudy/repos/stock-ai
```
server 主日志显示 Management 连接反复断开重连(约 40 秒一次):
```
[23:01:28] ManagementConnection New connection established.
[23:02:23] ManagementConnection The client has reconnected.
[23:03:52] ManagementConnection The client has reconnected.
…
[23:17:46] Extension Host Process exited with code: 0
```
## 已尝试的处理
- 磁盘空间充足(937G 可用),排除解压空间不足;
- 删除 `~/.qoder-server` 后重新连接(临时缓解,问题疑似与版本更新相关)。
## 附件
- qoder-server-main.log(server 主日志)
- qoder-server-errors.log(扩展宿主错误日志)
