Skip to content

Conversation

@geminiwen
Copy link
Contributor

  • 使用 ApplicationError 返回详细错误信息到前端
  • 添加 User-Agent: codex-cli/0.91.0
  • 移除 ForceHTTP2 以兼容 HTTP 代理
  • 修复代理获取失败时静默忽略的问题
  • 500 错误时记录完整错误日志

碰见 codex 无法 auth 的问题,添加了 UA 好像修复了

geminiwen and others added 3 commits January 27, 2026 19:13
- 使用 ApplicationError 返回详细错误信息到前端
- 添加 User-Agent: codex-cli/0.91.0
- 移除 ForceHTTP2 以兼容 HTTP 代理
- 修复代理获取失败时静默忽略的问题
- 500 错误时记录完整错误日志

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Update VERSION from 0.1.46 to 0.1.61
- Remove ForceHTTP2 tests for OpenAI OAuth client (ForceHTTP2 was removed)
- Update createOpenAIReqClient test to use new single-arg signature

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Prevents panic when ErrorFrom is called in test contexts where
gin.CreateTestContext doesn't set up an HTTP request.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@zy6p
Copy link

zy6p commented Jan 27, 2026

我也遇到了,排查出来是 ForceHTTP2 的问题,它会导致请求不走代理
#369

@ranvk
Copy link

ranvk commented Jan 27, 2026

我也遇到了,排查出来是 ForceHTTP2 的问题,它会导致请求不走代理 #369

一看就是改动了什么东西导致不跑代理了

@geminiwen
Copy link
Contributor Author

不像改动什么。用Claude分析下这个,仓库就知道

  1. 只有这里有forcehttp2。
  2. 有可能是codex那边的策略换了

@Wei-Shaw
Copy link
Owner

openai的 http2 由 #343 引入的

@Wei-Shaw
Copy link
Owner

影响范围应该仅openai的

@Wei-Shaw Wei-Shaw merged commit 269a659 into Wei-Shaw:main Jan 28, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants