V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  yy417168602  ›  全部回复第 1 页 / 共 1 页
回复总数  2
兄弟我找到原因了,Bun 底层的 Socket 实现与 Windows 系统中残留的第三方 Winsock LSP (分层服务提供者)发生严重冲突,导致在流式传输( SSE )读取到第 1 个包时被 LSP 强行 RST 重置( ECONNRESET / The socket connection was closed unexpectedly )。

详情看下面这个 github issue
https://github.com/anthropics/claude-code/issues/84211
看看电脑有没有装什么加速器或者抓包工具之类的

执行这个命令 netsh winsock reset 然后重启电脑就好了
兄弟你解决了吗 ,一模一样我研究了半天,发现也是这样的 221 就有问题,220 就是好的
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1099 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 9ms · UTC 23:02 · PVG 07:02 · LAX 16:02 · JFK 19:02
♥ Do have faith in what you're doing.