-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Open
Labels
CLIIssues related to the Codex CLIIssues related to the Codex CLIbugSomething isn't workingSomething isn't working
Description
Description
I am encountering an issue where configuring:
supports_websockets = falsein config.toml does not take effect.
Specifically, the model_providers.openai provider appears to be immutable or internally defined in a way that prevents overriding transport capabilities. As a result, Codex CLI continues attempting to establish WebSocket connections even when explicitly disabled in configuration.
Observed Behavior
- Codex CLI attempts WebSocket transport by default.
- Even after setting
supports_websockets = false, WebSocket connections are still attempted. - There appears to be no reliable way to force HTTPS-only transport via configuration.
Expected Behavior
One of the following should be possible:
supports_websockets = falseshould correctly disable WebSocket usage formodel_providers.openai, or- A CLI flag should exist to explicitly force HTTPS transport as the preferred (or exclusive) transport method.
For example:
codex --transport httpsor
codex --prefer-httpsEnvironment
- OS: Linux
- Codex CLI version: 0.106.0
- Network: Proxy environment (HTTP / SOCKS / Reality-based proxy)
- Issue reproducible: Yes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
CLIIssues related to the Codex CLIIssues related to the Codex CLIbugSomething isn't workingSomething isn't working