Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[Linux][Desktop] No response with Clash system proxy, CLI works; TUN or launching with an explicit proxy restores functionality

Open
#52,378 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
22/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
electron, linux, rust
Domain
desktop, devtools

Research direction

The bug is in the desktop app's proxy handling on native Linux, where the Clash system proxy works for the CLI but not for local desktop conversations. The payload names no source files, so the first step is to locate where the desktop build reads proxy settings, including Chromium's --proxy-server flag and the upper- and lower-case HTTP_PROXY variables. Done means the desktop conversation completes through the system proxy without TUN, which needs a reproduction on Linux with Clash Verge.

Written by the indexing model from the issue text.

Description

app bug connectivity Linux
What version of the Codex App are you using (From “About Codex” dialog)?

ChatGPT 桌面安装包版本 26.930.61225(从本机安装包元数据读取),自带 Codex 0.160.1。这里报告的是 Codex 本地桌面对话。验证日期:2026-10-08。

What subscription do you have?

Pro

What platform is your computer?

Ubuntu 24.04.5 LTS,原生 Linux,不是 WSL。

Linux 7.0.0-34-generic x86_64 x86_64
What issue are you seeing?

我使用 Clash Verge,HTTP/mixed 端口是 127.0.0.1:7897。只开系统代理、关掉 TUN 时,CLI 可以正常回复,但桌面本地对话一直等待,没有输出;打开 TUN 才恢复。有时从原版菜单启动还会出现登录界面。因为还需要使用内网 VPN,不希望一直开着 TUN。

What steps can reproduce the bug?
  1. 开启 Clash Verge 系统代理,关闭 TUN。
  2. 保存任务,完全退出桌面程序,再从原版菜单启动。
  3. 在本地 Codex 对话里发送一条消息。我这边一直等待,没有回复。
  4. 同一网络状态下,CLI 可以正常回复。
  5. 打开 TUN 后,桌面对话恢复。
  6. 完全退出桌面程序,关闭 TUN,再用显式代理启动器启动;本地桌面对话也恢复。
What is the expected behavior?

桌面程序能够使用系统代理,或者提供明确的代理配置入口,不需要依赖 TUN 才能完成本地对话。

Additional information

目前有效的临时办法是同时传入大小写两套 HTTP_PROXY、HTTPS_PROXY、ALL_PROXY,并添加 Chromium 的 --proxy-server=http://127.0.0.1:7897。完整配置和安装方式放在独立项目:chatgpt-clash-linux。

关闭 TUN 后,命令重启的真实本地桌面对话已成功,实际后台 TCP 连接经过 Clash 端口。怀疑不同桌面组件的代理配置没有一致生效,但尚未确认准确根因。独立菜单冷启动的登录稳定性尚未完整验证,云端 durable 连接仍有 ETIMEDOUT / 1006,不声称这个办法解决了全部问题。

相关报告:#16079 的主帖连 CLI 也失败;#49921 和 #34955 是 macOS 桌面代理问题;#49829 涉及 durable 云端连接。本报告补充原生 Linux 的本地桌面对话对照结果。

Dominant language
Rust
Stars
129k
Forks
20.3k
Avg merge
1m
Merged PRs (30d)
998

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.