Add a slash command to switch between ws and http
Resolved 💬 4 comments Opened Apr 14, 2026 by qxcnm Closed Apr 15, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What variant of Codex are you using?
cli
What feature would you like to see?
希望 /xxx 能支持ws和http模式切换
Additional information
_No response_
4 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Please describe the problem this would solve. The code in the Codex harness is designed to always use ws if it can and fall back to http if it cannot. Is this not working for you?
The CLI always show reconnecting 5 times when use WS,it's normal when it fall back to HTTP,only a detailed problem,but really need a reasonable solution
<img width="901" height="289" alt="Image" src="https://github.com/user-attachments/assets/fe8a93d3-6b9d-45de-a00b-52d7b455115e" />
If you're not able to connect with ws, that typically means that there's a network configuration issue on your system or network. If you're on a corporate network, talk to your IT team.
While Codex can work with basic http, your experience will be degraded in that mode. There are a bunch of performance benefits that ws provides.