【已解决】Codex远程压缩一直报错 解决经验

error running remote compact task: stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/respons...
【已解决】Codex远程压缩一直报错 解决经验
【已解决】Codex远程压缩一直报错 解决经验
error running remote compact task: stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses/compact)

之前我一直允许都在报这个错误,只要对话一大就会报错(现象是30-50秒的压缩随便过,再长就会循环)

折磨我十几天,我只能不断开新对话。

然后我找了各种方法啊,甚至是先中转再接中转,都不能解决

当时找到的帖子和github:

codex遇到compact error问题 - 开发调优 - LINUX DO

codex with plus ,compact 没成功过,你们遇到吗 怎么解决的 - 开发调优 - LINUX DO

Error running remote compact task · Issue #14860 · openai/codex

最终是一个github帖子点醒了我:

Diagnostic for remote compaction stream disconnects: test long-idle HTTPS path with slee.pt >90s · Issue #22798 · openai/codex

然后我让ai照着这个思路对现在clash进行了测试:

image

发现我之前一直用的japan节点就是60秒静默会直接切断的那一类

然后——换了个节点——问题就这么无痛解决

唉,找对方法果然很重要

3 个帖子 - 3 位参与者

阅读完整话题

来源: LinuxDo 最新话题查看原文