The session has been destroyed

未关闭
#814 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
活跃
技术栈
node.js
领域
cli, networking

调研方向

首先跟踪 Node.js/undici 堆栈中 ClientHttp2Session.request、requestStream 和 writeH2 周围的请求路径,然后检查 Command Code 如何管理 HTTP/2 会话。尝试在 macOS 上使用版本 1.50.0 捕获该随机故障;当会话已被销毁时请求不再崩溃,即表示完成。

由索引模型根据 Issue 内容生成。

描述

Summary

✖ CRITICAL: Uncaught Exception!
This is an unexpected error. Please file a bug report at https://github.com/CommandCodeAI/command-code/issues/new
✖ ERROR → Error
ℹ REASON → The session has been destroyed
ℹ ERROR STACK ↓
Error [ERR_HTTP2_INVALID_SESSION]: The session has been destroyed
at ClientHttp2Session.request (node:internal/http2/core:1813:13)
at requestStream (node:internal/deps/undici/undici:8763:26)
at writeH2 (node:internal/deps/undici/undici:8883:16)
at Object.write (node:internal/deps/undici/undici:8355:18)
at _resume (node:internal/deps/undici/undici:9749:54)
at resume (node:internal/deps/undici/undici:9682:7)
at node:internal/deps/undici/undici:9503:32

Trace ID: 25be7b1ac5c17e2a496f3eb5ac1c61d1

Expected Behavior

Command Code coding.

Actual Behavior

Command Code crashing.

Steps to reproduce the issue

nil. Happens randomly

Command Code Version

1.50.0

Operating System

macOS

Terminal/IDE

vscode

Shell

powershell

Session file (optional)

No response

Fix prompt (optional)

No response

Additional context

No response

主要语言
没有语言数据
星标
4k
派生
350
PR 合并指标
30 天内没有已合并 PR

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CommandCodeAI/command-code 的其他 Issue

查看 CommandCodeAI/command-code 的全部 Issue

相似的 Issue

更多 CLI Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。