You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codex Voice on macOS disconnects after 15–20s with Connection reset by peer (os error 54) while text task continues #35474
appIssues related to the Codex desktop appbugSomething isn't workingconnectivityIssues involving networking or endpoint connectivity problems (disconnections)
Codex Voice in the ChatGPT macOS desktop app consistently disconnects after approximately 15–20 seconds with a WebSocket read failure, while the underlying text conversation and Codex task continue running normally.
Exact error
Voice chat error: stream disconnected before completion:
failed to read websocket message:
IO error: Connection reset by peer (os error 54)
Reproduction
Open a Codex conversation in the ChatGPT macOS app.
Start Voice chat.
Voice connects successfully.
The assistant starts responding and the Codex task begins normally.
After approximately 15–20 seconds, Voice disconnects with the error above.
The text conversation and Codex task continue working after the Voice failure.
Frequency
Reproduces consistently across multiple Codex conversations.
Confirmed occurrences on July 26, 2026 at approximately:
10:45 Europe/Moscow
15:16 Europe/Moscow
15:55 Europe/Moscow
Environment / controls
Platform: macOS
Surface: ChatGPT desktop app / Codex Voice
Web version works reliably on the same account and network.
Restarting the macOS app did not help.
Text mode remains functional after Voice disconnects.
VPN is required for OpenAI access from the user's location and cannot be disabled. Different VPN exit servers/protocols can be tested if needed.
Multiple open issues describe macOS Codex WebSocket instability and reconnect loops.
Expected behavior
Voice should remain connected for the duration of the session, or recover gracefully from a transient WebSocket interruption without terminating the Voice experience.
Actual behavior
Voice terminates after approximately 15–20 seconds, while the text task continues.
Request
Please investigate the server-side Realtime/WebSocket logs for these timestamps and confirm whether this is a known Voice transport or infrastructure issue. A client fallback/reconnect path would also prevent a transient transport reset from killing the Voice session.
Screenshots with the exact error and timestamps are available.
I am also facing this issue in macOS latest codex app. Seeing error "Voice chat couldn’t start
stream disconnected before completion: realtime call response missing Location"
appIssues related to the Codex desktop appbugSomething isn't workingconnectivityIssues involving networking or endpoint connectivity problems (disconnections)
Activity
vimoxshah commentedon Jul 31, 2026
I am also facing this issue in macOS latest codex app. Seeing error "Voice chat couldn’t start
stream disconnected before completion: realtime call response missing Location"
stardustx8 commentedon Aug 2, 2026
Same issue here. Occurs only after user + assistant are silent for about 1-2min (earlier it occurred like after 20sec of bilateral silence).