reqwest SSL panic (library has no ciphers)

Resolved 💬 3 comments Opened Sep 2, 2025 by tonydavis629 Closed Nov 23, 2025

What version of Codex is running?

codex-cli 0.27.0

Which model were you using?

_No response_

What platform is your computer?

Linux 5.14.0-570.23.1.el9_6.x86_64 x86_64 x86_64

What steps can reproduce the bug?

npm install -g @openai/codex codex

What is the expected behavior?

Launch codex successfully

What do you see instead?

> Sign in with ChatGPT to use Codex as part of your paid plan
  or connect an API key for usage-based billing

  You’re currently using API key while your preferred method is ChatGPT.

> 1. Sign in with ChatGPT
     Usage included with Plus, Pro, and Team plans
  2. Continue using API key
     Pay for what you use

  Press Enter to continueThe application panicked (crashed).
Message:  Client::new(): reqwest::Error { kind: Builder, source: Normal(ErrorStack([Error { code: 167772321, library: "SSL routines", function: "SSL_CTX_new_ex", reason: "library has no ciphers", file: "ssl/ssl_lib.c", line: 4141 }])) }
Location: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.12.23/src/async_impl/client.rs:2409

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

Additional information

All CA certs are correct and valid in npm and system. No SSL errors in other applications.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗