codex - 💡(How to fix) Fix Disconnected when using custom provider and no ability to switch providers or profiles [1 participants]

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…
GitHub stats
openai/codex#22483Fetched 2026-05-14 03:35:13
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Timeline (top)
labeled ×4

Error Message

[projects."/Users/rafikbelkadi/Documents/Codex/2026-05-12/i-got-this-error-on-codex"] [projects."/Users/rafikbelkadi/Documents/Codex/2026-05-12/i-got-this-error-in-codex"]

Code Example

model = "gpt-5.5"
model_provider= "azure"
model_reasoning_effort = "medium"
personality = "pragmatic"

[model_providers.azure]
name = "Azure"
base_url = "https://y-ai-resource.cognitiveservices.azure.com/openai"
env_key = "AZURE_OPENAI_API_KEY"
query_params = { api-version = "2025-04-01-preview" }
wire_api = "responses"

[profiles.azure]
model_provider = "azure"
model = "gpt-5.5"
model_reasoning_effort = "medium"

[marketplaces.openai-bundled]
last_updated = "2026-05-12T16:15:23Z"
source_type = "local"
source = "/Users/rafikbelkadi/.codex/.tmp/bundled-marketplaces/openai-bundled"

[marketplaces.openai-primary-runtime]
last_updated = "2026-05-11T10:47:11Z"
source_type = "local"
source = "/Users/rafikbelkadi/.cache/codex-runtimes/codex-primary-runtime/plugins/openai-primary-runtime"

[plugins."canva@openai-curated"]
enabled = true

[plugins."github@openai-curated"]
enabled = true

[plugins."documents@openai-primary-runtime"]
enabled = true

[plugins."spreadsheets@openai-primary-runtime"]
enabled = true

[plugins."presentations@openai-primary-runtime"]
enabled = true

[plugins."vercel@openai-curated"]
enabled = true

[plugins."sentry@openai-curated"]
enabled = true

[plugins."build-web-apps@openai-curated"]
enabled = true

[plugins."expo@openai-curated"]
enabled = true

[plugins."browser-use@openai-bundled"]
enabled = true

[hooks.state]

[hooks.state."/Users/rafikbelkadi/.codex/hooks.json:pre_tool_use:0:0"]
trusted_hash = "sha256:e1f92718413c2ee2fbce2d71262c7db44a9e289f6c67e3c1ffd65eba58063407"

[projects."/Users/rafikbelkadi/Desktop/Y/Y"]
trust_level = "trusted"

[projects."/Users/rafikbelkadi/Documents/Codex/2026-05-12/i-got-this-error-on-codex"]
trust_level = "trusted"

[projects."/Users/rafikbelkadi/Documents/Codex/2026-05-12/dans-l-application-codex-comment-je"]
trust_level = "trusted"

[projects."/Users/rafikbelkadi/Documents/Codex/2026-05-12/i-got-this-error-in-codex"]
trust_level = "trusted"

[features]
hooks = true
terminal_resize_reflow = true
memories = true
external_migration = true
goals = true
prevent_idle_sleep = true

[tui.model_availability_nux]
"gpt-5.5" = 1

[notice.external_config_migration_prompts.project_last_prompted_at]
"/Users/rafikbelkadi" = 1778594421
RAW_BUFFERClick to expand / collapse

What version of the Codex App are you using (From “About Codex” dialog)?

Version 26.506.31421 (2620)

What subscription do you have?

Free

What platform is your computer?

Darwin 24.6.0 arm64 arm

What issue are you seeing?

I just wired up my hosted models from openai on Azure.

But i have multiple issues : 1- I am no longer connected to openai/chatgpt , can't access plugins / profile 2- i cannot choose between different profiles / providers, switch back to openai or back to azure, it's just stuck on azure.

here is my config.tml:

model = "gpt-5.5"
model_provider= "azure"
model_reasoning_effort = "medium"
personality = "pragmatic"

[model_providers.azure]
name = "Azure"
base_url = "https://y-ai-resource.cognitiveservices.azure.com/openai"
env_key = "AZURE_OPENAI_API_KEY"
query_params = { api-version = "2025-04-01-preview" }
wire_api = "responses"

[profiles.azure]
model_provider = "azure"
model = "gpt-5.5"
model_reasoning_effort = "medium"

[marketplaces.openai-bundled]
last_updated = "2026-05-12T16:15:23Z"
source_type = "local"
source = "/Users/rafikbelkadi/.codex/.tmp/bundled-marketplaces/openai-bundled"

[marketplaces.openai-primary-runtime]
last_updated = "2026-05-11T10:47:11Z"
source_type = "local"
source = "/Users/rafikbelkadi/.cache/codex-runtimes/codex-primary-runtime/plugins/openai-primary-runtime"

[plugins."canva@openai-curated"]
enabled = true

[plugins."github@openai-curated"]
enabled = true

[plugins."documents@openai-primary-runtime"]
enabled = true

[plugins."spreadsheets@openai-primary-runtime"]
enabled = true

[plugins."presentations@openai-primary-runtime"]
enabled = true

[plugins."vercel@openai-curated"]
enabled = true

[plugins."sentry@openai-curated"]
enabled = true

[plugins."build-web-apps@openai-curated"]
enabled = true

[plugins."expo@openai-curated"]
enabled = true

[plugins."browser-use@openai-bundled"]
enabled = true

[hooks.state]

[hooks.state."/Users/rafikbelkadi/.codex/hooks.json:pre_tool_use:0:0"]
trusted_hash = "sha256:e1f92718413c2ee2fbce2d71262c7db44a9e289f6c67e3c1ffd65eba58063407"

[projects."/Users/rafikbelkadi/Desktop/Y/Y"]
trust_level = "trusted"

[projects."/Users/rafikbelkadi/Documents/Codex/2026-05-12/i-got-this-error-on-codex"]
trust_level = "trusted"

[projects."/Users/rafikbelkadi/Documents/Codex/2026-05-12/dans-l-application-codex-comment-je"]
trust_level = "trusted"

[projects."/Users/rafikbelkadi/Documents/Codex/2026-05-12/i-got-this-error-in-codex"]
trust_level = "trusted"

[features]
hooks = true
terminal_resize_reflow = true
memories = true
external_migration = true
goals = true
prevent_idle_sleep = true

[tui.model_availability_nux]
"gpt-5.5" = 1

[notice.external_config_migration_prompts.project_last_prompted_at]
"/Users/rafikbelkadi" = 1778594421
<img width="1728" height="1082" alt="Image" src="https://github.com/user-attachments/assets/0c31c57c-f8aa-4791-ac4b-b8f23a71f229" />

What steps can reproduce the bug?

try to edit config.tml and add a custom provider as the default

What is the expected behavior?

No response

Additional information

No response

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…

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 Disconnected when using custom provider and no ability to switch providers or profiles [1 participants]