Im run into this issue, were its trying to reconnect
Open 💬 6 comments Opened Apr 9, 2026 by JenuelDev
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of the Codex App are you using (From “About Codex” dialog)?
26.325.31654
What subscription do you have?
Go
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
im always seeing this reconnecting stuff. Although internet is really good.
<img width="395" height="290" alt="Image" src="https://github.com/user-attachments/assets/08c12f68-f98b-4874-a2fd-e6dc40996501" />
What steps can reproduce the bug?
Prompting to edit files.
What is the expected behavior?
_No response_
Additional information
_No response_
6 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
If you're able to repro, please use
/feedbackto upload logs and session details, then post the thread ID here.I have this exact same issue on debian + vscode +
vscode codex IDE extension(v 0.119.0-alpha.11) andcodex-cli(v 0.118.0)This only happens on new tasks. Once codex gets past this reconnecting issue it works completely fine.
thread ID:
019d76d3-0559-7330-a5e3-a83ef3283710Remediations tried without success:
pkill -f codex~/.codex/auth.jsonand logged back in with chatGPT login in the pluginEDIT: same issue when using
codex-cli(v 0.118.0)I ran the codex-tui.log through Codex (heh), and it pointed out this pattern that is perhaps related:
During startup, Codex gets 403 Forbidden responses on plugin/apps/discoverable-tools bootstrap requests, including Cloudflare challenge HTML for /backend-api//connectors/directory/list, then the responses websocket warmup starts and closes after 15.0s.Current failure mode is not a normal auth failure: startup requests to chatgpt.com/backend-api/plugins/featured and /backend-api//connectors/directory/list receive 403 Forbidden with Cloudflare challenge HTML ("Enable JavaScript and cookies to continue"), followed by the responses websocket warmup timing out after 15.0s.
Double slashes (/backend-api//connectors/) are not a typo.
Observed CF ray IDs include 9e9c15fa8b958d95, 9e9c16017b20b8cb, and 9e9c16611c769a02.
As other similar issues have noted, this issue seems ipv6 related.
So adding this to
/etc/hostsis a blunt workaround for now.Additional deterministic Windows reproduction, still present on a current build:
019faeb4-bd7f-7351-b491-6e3bf24309daReproduction:
test.Reconnecting... 1/5to5/5, then eventually succeeds.What I ruled out:
wsl --shutdown, thenwsl -e true; no change.thread/startsucceeding in about 380 ms andturn/startin about 17 ms, so local thread creation completes before the reconnect loop.errors=[]andread ACL run completed.Proxy setup (possibly relevant):
7897, but its system proxy toggle is disabled and it is not the active system proxy.7892.%USERPROFILE%\.codex\.envfile explicitly settingHTTP_PROXY/HTTPS_PROXYfor Codex.One secondary observation:
CreateProcessWithLogonW failed: 1056. Later sandbox commands work, and the reconnect symptom happens on the first plain response before any tool invocation, so this may be unrelated.This matches the report above exactly: only new tasks trigger the reconnect loop; once Codex gets past it, the thread works normally.