codex - 💡(How to fix) Fix codex remote-control starts stale standalone app-server 0.132.0 while active CLI is npm-managed 0.133.0

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Starting app-server with remote control enabled... Error: Remote control is enabled on zt-dev but the connection is errored.

Root Cause

The user believes they are running Codex 0.133.0, but remote-control is actually served by 0.132.0. This can hide fixed bugs, introduce inconsistent behavior, and make debugging remote-control failures difficult.

Fix Action

Workaround

Running:

codex remote-control stop
codex remote-control start

fixed the immediate connection error:

Stopping remote control...
Remote control stopped.

Starting app-server daemon with remote control enabled...
This machine is available for remote control as zt-dev.

However, the daemon reported:

Daemon used app-server:
  path: /root/.codex/packages/standalone/current/codex
  version: 0.132.0

Code Example

codex-cli 0.133.0

---

/root/.local/lib/node_modules/@openai/codex/bin/codex.js

---

codex remote-control

---

Starting app-server with remote control enabled...
Error: Remote control is enabled on zt-dev but the connection is errored.

---

codex remote-control stop
codex remote-control start

---

Stopping remote control...
Remote control stopped.

Starting app-server daemon with remote control enabled...
This machine is available for remote control as zt-dev.

---

Daemon used app-server:
  path: /root/.codex/packages/standalone/current/codex
  version: 0.132.0

---

Active shell CLI:
  /root/.local/lib/node_modules/@openai/codex/bin/codex.js
  codex-cli 0.133.0

Remote-control app-server daemon:
  /root/.codex/packages/standalone/current/codex
  codex-cli 0.132.0

---

Warning: active CLI is 0.133.0 but remote-control app-server is 0.132.0.

---

Remote control is enabled on zt-dev but the connection is errored.

---

codex remote-control stop
  codex remote-control start
RAW_BUFFERClick to expand / collapse

Environment

  • OS: Ubuntu 22.04.5 LTS

  • Active shell CLI after npm upgrade:

    codex-cli 0.133.0
  • Active shell Codex path:

    /root/.local/lib/node_modules/@openai/codex/bin/codex.js

Observed behavior 1

Running:

codex remote-control

printed:

Starting app-server with remote control enabled...
Error: Remote control is enabled on zt-dev but the connection is errored.

Workaround

Running:

codex remote-control stop
codex remote-control start

fixed the immediate connection error:

Stopping remote control...
Remote control stopped.

Starting app-server daemon with remote control enabled...
This machine is available for remote control as zt-dev.

However, the daemon reported:

Daemon used app-server:
  path: /root/.codex/packages/standalone/current/codex
  version: 0.132.0

Expected behavior

After upgrading the active CLI to 0.133.0 via npm, codex remote-control start should either:

  1. start the app-server using the same Codex executable/version as the invoking CLI/PATH
  2. update the standalone app-server to the same version
  3. clearly explain that remote-control intentionally uses a separate standalone app-server and how to update it

Actual behavior

There is a version split:

Active shell CLI:
  /root/.local/lib/node_modules/@openai/codex/bin/codex.js
  codex-cli 0.133.0

Remote-control app-server daemon:
  /root/.codex/packages/standalone/current/codex
  codex-cli 0.132.0

Why this matters

The user believes they are running Codex 0.133.0, but remote-control is actually served by 0.132.0. This can hide fixed bugs, introduce inconsistent behavior, and make debugging remote-control failures difficult.

Questions

  • Is codex remote-control expected to follow the invoking executable / PATH?
  • Or is remote-control expected to manage a separate standalone app-server under ~/.codex/packages/standalone?
  • If the latter, what is the supported update path for that app-server?
  • Should codex remote-control start warn when the app-server version differs from the active CLI version?

Suggested fix

  • Make remote-control daemon resolution follow the invoking Codex executable when possible.

  • Or explicitly document and print that it uses a separate standalone app-server.

  • Add a version mismatch warning, for example:

    Warning: active CLI is 0.133.0 but remote-control app-server is 0.132.0.
  • Add a command or documented flow to update the remote-control app-server.

  • Improve recovery when codex remote-control reports:

    Remote control is enabled on zt-dev but the connection is errored.

    The successful workaround was:

    codex remote-control stop
    codex remote-control start

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

After upgrading the active CLI to 0.133.0 via npm, codex remote-control start should either:

  1. start the app-server using the same Codex executable/version as the invoking CLI/PATH
  2. update the standalone app-server to the same version
  3. clearly explain that remote-control intentionally uses a separate standalone app-server and how to update it

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix codex remote-control starts stale standalone app-server 0.132.0 while active CLI is npm-managed 0.133.0