vscode+windows(非wsl)+codex扩展V26.325.31654对sandbox: elevated有明显bug
- 内容介绍
- 文章标签
- 相关推荐
如题vscode+windows(非wsl)+codex扩展V26.325.31654对sandbox: elevated有明显bug
包括但不限于,编辑apply_patch被拒绝,时好时坏的并行命令,execution error: Io(Custom { kind: Other, error: “windows sandbox: helper_firewall_rule_create_or_add_failed: SetRemoteAddresses failed: Error { code: HRESULT(0x80070057), message: "参数错误。" }” }),pwsh配置文件设置网络端口导致codex在sandbox: elevated报错[2026-03-28 21:28:18.486 codex.exe] sandbox setup required: offline firewall settings changed (stored_ports=, desired_ports=[7890], stored_allow_local_binding=false, desired_allow_local_binding=false)
我直接回退到26.325.21211就没事了,上面估计是关于sandbox的最新改动导致的
网友解答:--【壹】--:
之前用的是elevated,新版本就会报错,
一定要用新版本的话,就只能把
config里面 windows的沙箱权限改成
[windows]
sandbox ="unelevated"
--【贰】--:
改成unelevated可以了,问了gpt,看到最近的更新这一块确实有改动。
如题vscode+windows(非wsl)+codex扩展V26.325.31654对sandbox: elevated有明显bug
包括但不限于,编辑apply_patch被拒绝,时好时坏的并行命令,execution error: Io(Custom { kind: Other, error: “windows sandbox: helper_firewall_rule_create_or_add_failed: SetRemoteAddresses failed: Error { code: HRESULT(0x80070057), message: "参数错误。" }” }),pwsh配置文件设置网络端口导致codex在sandbox: elevated报错[2026-03-28 21:28:18.486 codex.exe] sandbox setup required: offline firewall settings changed (stored_ports=, desired_ports=[7890], stored_allow_local_binding=false, desired_allow_local_binding=false)
我直接回退到26.325.21211就没事了,上面估计是关于sandbox的最新改动导致的
网友解答:--【壹】--:
之前用的是elevated,新版本就会报错,
一定要用新版本的话,就只能把
config里面 windows的沙箱权限改成
[windows]
sandbox ="unelevated"
--【贰】--:
改成unelevated可以了,问了gpt,看到最近的更新这一块确实有改动。

