openai / openai/codex

helper_unknown_error: setup refresh had errors

Open
#44,309 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app bug tool-calls windows-os
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

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

GPT-6 Astra

What subscription do you have?

Agent shell commands fail before execution with helper_unknown_error: setup refresh had errors. Restarting did not resolve it. The task’s workspace is C:\AI_Class_Sale. Git, Node.js, Prisma, and Docker work in external PowerShell.

What platform is your computer?

Windows 11

What issue are you seeing?

Agent shell commands fail before execution with helper_unknown_error: setup refresh had errors. Restarting did not resolve it. The task’s workspace is C:\AI_Class_Sale. Git, Node.js, Prisma, and Docker work in external PowerShell.

windows sandbox failed: helper_unknown_error: setup refresh had errors

What steps can reproduce the bug?

Use ChatGPT Codex and create a project and implement it - we will have the error after we create a first project with GPT 5 and a second project with GPT 6

The wok-around is to use Codex's PowerShell through approved -execution
The default sandbox runner fails

What is the expected behavior?

Should be able to access the files (R, W, E) in the project directoryproject

Additional information

The helper of GPT 5 worked partially.

Contributor guide

Open the contributing guide

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.

Research direction

The report names no source file, test, or entry point. First reproduce the default Windows sandbox failure in C:\AI_Class_Sale and compare it with the approved-execution PowerShell workaround, focusing on the helper_unknown_error and setup refresh failure. Done means sandbox shell commands can read, write, and execute in the project directory.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, rust
Domain
operating-systems, security, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.