stream disconnected before completion: URL error: TLS support not compiled in
Resolved 💬 6 comments Opened Jan 23, 2026 by gregkonush Closed Jan 25, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor)
responded on this thread — see the highlighted reply below.
What version of Codex is running?
0.89.0
What subscription do you have?
pro
Which model were you using?
gpt-5.2-codex
What platform is your computer?
macos
What terminal emulator and version are you using (if applicable)?
ghostty
What issue are you seeing?
stream disconnected before completion: URL error: TLS support not compiled in
What steps can reproduce the bug?
issue one prompt
What is the expected behavior?
prompt works
Additional information
_No response_
6 Comments
Are you using any non-standard configuration settings? In particular, do you have the "responses_websockets" feature enabled? This feature is still under development. Disabling this feature should make the problem go away.
ah yes, I turned off
responses_websocketsfeature and it works now, thanksUnfortunately, I am experiencing the same issue, but the workaround mentioned above doesn't apply to my case.
I have confirmed that
responses_websocketsis not enabled. I even performed a clean reset by removing the ~/.codex directory and re-logging in, but the "TLS support not compiled in" error persists.Furthermore, I have tested this using both the npm and Homebrew versions to rule out distribution-specific issues, but the result remains the same.
Environment:
@DanSnow, does the problem go away if you downgrade to an earlier version (0.88 or 0.87)? If so, what is the first version where you started to see this?
Yes, I tried 0.87, and it works. I got the same error with 0.88 as well.
Sorry, I just found the issue. It's
responses_websockets. I just found it's enabled within the project-level codex config. After turning it off, the 0.89.0 version works again