codex icon indicating copy to clipboard operation
codex copied to clipboard

macOS: internal service DNS and process inspection unavailable in Dot main chat

Open zhulijin1991 opened this issue 2 weeks ago • 4 comments

这是 ChatGPT Dots 的问题:在 macOS 上,通过 Dots 主聊天操作已连接 Mac 时,执行的命令无法解析一个企业内部服务,且 /bin/ps 返回 operation not permitted;同一台 Mac 的独立 Codex 任务能够连接该服务并完成流程。希望明确 Dots 执行环境中的这些限制是否符合预期,以及如何申请必要的、范围受限的访问权限。

zhulijin1991 avatar Nov 14 '26 02:11 zhulijin1991

English translation:

On macOS, commands run through the main ChatGPT 宝儿 chat cannot resolve an internal enterprise service, and /bin/ps returns operation not permitted; a standalone Codex task on the same Mac can connect to that service and complete the workflow. I would like clarification on whether these restrictions are expected and how to request the necessary, narrowly scoped access permissions.

github-actions[bot] avatar Nov 14 '26 02:11 github-actions[bot]

Follow-up from a November 14, 2026 retest. I ran the same read-only GET requests against two internal API endpoints on the same Mac.

  • A normal local process on the Mac received HTTP 200 from both endpoints.
  • In the ChatGPT Dots main chat, I used the connected Mac’s local command executor and its built-in loopback proxy. I tested each endpoint separately. Both returned the executor error Network access to "<redacted>" was blocked by policy.

How can I identify the policy that blocked these requests, and is there a supported way to allow only these two destinations for the Dots local executor?

zhulijin1991 avatar Nov 14 '26 05:11 zhulijin1991

Follow-up: this is a ChatGPT Dots local command execution issue, and the latest diagnostics suggest it is not limited to internal domains.

On the connected macOS computer, Python socket.getaddrinfo failed with gaierror errno 8 for several public domains, including Apple, Baidu, GitHub, Feishu and ChatGPT, as well as the internal service domains. Node.js dns.lookup also returned ENOTFOUND with syscall=getaddrinfo for public domains. dscacheutil returned exit code 0 but no results for tested public domains; scutil --nwi returned nwi_state: registration failed (9). localhost resolved, but that does not demonstrate external DNS resolution.

The Mac has DNS configuration. Browser-based queries on the same computer have previously worked, and the local Feishu CLI recently succeeded in reading and writing; we have not verified which network path the CLI used. The failing Python client calls http.client.HTTPConnection and system resolution directly; it does not automatically use environment HTTP proxy variables.

Could the team clarify whether the Dots local command environment restricts access to macOS system resolver or network-state services, and whether there is a supported user-authorized way to use the Mac's system DNS and network normally? We have not established which specific layer or policy causes the failures, and do not want to bypass security controls.

zhulijin1991 avatar Nov 14 '26 16:11 zhulijin1991

Following up with a fresh retest on November 19, 2026: this is still reproducible when running commands on the connected Mac from the main ChatGPT Dots chat, without switching to a standalone Codex thread.

  • Python socket.getaddrinfo returned gaierror (errno 8) for chatgpt.com, github.com, open.feishu.cn, and two internal service hostnames (redacted).
  • The two actual read-only GET requests failed at DNS resolution, before receiving an HTTP response.
  • /bin/ps still returned operation not permitted.

This continues to block the affected workflow from running in the Dot main chat. Could a maintainer please triage this and route it to the team that owns Dots local execution? It would help to know whether these restrictions are expected and whether there is a supported, narrowly scoped way to grant access. The retest confirms the symptoms, not the underlying cause.

zhulijin1991 avatar Nov 19 '26 10:11 zhulijin1991