Skip to content

[Bug]: failed to refresh available models #1239

@qwlp

Description

@qwlp

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/desktop

Steps to reproduce

  1. Opened app
  2. Send a prompt in either plan/chat mode
  3. Gives this error: ERROR codex_core::models_manager::manager: failed to refresh available models: timeout waiting for child process to exit
  4. However, the app works as intended, but some buttons are broken, like the stop button

There was another issue that is similar, but had no replies
#431

Expected behavior

Should work without erroring out.

Actual behavior

  1. Gives this error: ERROR codex_core::models_manager::manager: failed to refresh available models: timeout waiting for child process to exit
Image
  1. However, the app works as intended, but some buttons are broken, like the stop button
Image

Impact

Major degradation or frequent failure

Version or commit

0.0.13 (2a237c2)

Environment

Arch Linux , with Codex installed and authed

Logs or stack traces

❯ grep -irn "child process to exit"
grep: userdata/state.sqlite: binary file matches
grep: userdata/state.sqlite-wal: binary file matches
userdata/logs/provider/ac3a5140-6515-4b92-b256-cac30ff2865f.log:2:[2026-03-20T14:44:51.759Z] NTIVE: {"id":"d850682e-8634-4363-8dad-6627810b2a41","kind":"error","provider":"codex","threadId":"ac3a5140-6515-4b92-b256-cac30ff2865f","createdAt":"2026-03-20T14:44:51.759Z","method":"process/stderr","message":"2026-03-20T14:44:51.758229Z ERROR codex_core::models_manager::manager: failed to refresh available models: timeout waiting for child process to exit"}
userdata/logs/provider/ac3a5140-6515-4b92-b256-cac30ff2865f.log:4:[2026-03-20T14:44:56.825Z] NTIVE: {"id":"d37e8afa-b4ec-46ca-a852-49f64c0782af","kind":"error","provider":"codex","threadId":"ac3a5140-6515-4b92-b256-cac30ff2865f","createdAt":"2026-03-20T14:44:56.824Z","method":"process/stderr","message":"2026-03-20T14:44:56.823750Z ERROR codex_core::models_manager::manager: failed to refresh available models: timeout waiting for child process to exit"}

Screenshots, recordings, or supporting files

No response

Workaround

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions