Skip to content

[Windows Desktop] Plugin sync failure exits app-server and reloads UI; plugins=false prevents restarts #47778

Open

Description

@XiyuePeng

Summary

On Windows Codex Desktop, a failure in the plugin synchronization path can terminate the local Codex app-server/CLI process. The Desktop UI then reloads and shows the startup splash/logo again, and the currently running task/turn is interrupted.

Disabling plugins with:

[features]
plugins = false

has completely stopped the unexpected Desktop restarts in repeated use.

Environment

  • Platform: Windows x64
  • Windows build reported by Codex: 10.0.26100
  • Codex Desktop package: 26.917.9434.0
  • Local app-server version: 0.155.0-alpha.16
  • Local app-server executable observed in logs: ~/.codex/plugins/.plugin-appserver/codex.exe

Symptoms

While a Codex task is running:

  1. The whole Codex Desktop UI suddenly returns to the initial startup/splash logo.
  2. The current task stops.
  3. Codex attempts to reinitialize the local app-server.
  4. The UI eventually becomes usable again, but the active task has already been interrupted.

This is different from the separate network "Reconnect" behavior. I had this Desktop-restart issue before configuring explicit proxy environment variables. The proxy configuration fixed the repeated Reconnect problem, but did not fix this Desktop restart. Disabling plugins did.

Relevant log sequence

Immediately before the app-server exits:

Request failed ... read remote plugin details:
failed to send remote plugin catalog request to
https://chatgpt.com/backend-api/ps/plugins/...

chatgpt_pubsub_transport_closed
chatgpt_pubsub_reconnect_scheduled

remote installed plugin bundle sync failed
failed to send remote plugin catalog request to
https://chatgpt.com/backend-api/ps/plugins/installed?limit=200&includeDownloadUrls=true

Then:

app_server_connection.closed code=1
app_server_connection.state_changed ... next=error
Codex CLI process exited classifiedAsExpected=false code=1
fatal_error_broadcasted

Codex then immediately tries to restart the app-server.

There are also repeated plugin reconciliation warnings later in the same session:

bundled_plugins_reconcile_failed
errorCode=EPERM
errorMessage="EPERM: operation not permitted, unlink
'...\\.codex\\plugins\\.plugin-appserver\\codex.exe'"

Reproduction / isolation

With plugins enabled/default:

  1. Launch Codex Desktop on Windows.
  2. Start a normal coding task.
  3. During use, plugin sync can fail.
  4. The local app-server exits with code 1.
  5. Desktop reloads to the startup logo and the active task stops.

With:

[features]
plugins = false

the Desktop has remained stable and the unexpected reload/restart has stopped.

Expected behavior

A plugin catalog/synchronization/network failure should be isolated from the core app-server lifecycle. It should fail gracefully, retry, or temporarily disable the affected plugin functionality without terminating the Codex app-server or interrupting the user's active coding task.

The EPERM file-lock failure while reconciling .plugin-appserver/codex.exe may also be relevant to the Windows-specific failure path.

Additional note

Please do not treat the proxy environment configuration as the cause of this crash. The Desktop restart behavior existed beforehand. Explicit proxy configuration only resolved a separate repeated-Reconnect issue; plugins = false is what eliminated the Desktop restart.

Activity

  1. added
    bug
    app
    windows-os
    skills
    app-server
    on Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appapp-serverbugskillswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions