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
Image generation tasks cause sustained upload saturation, network slowdown, and connection drops (Broken pipe / WebSocket fallback) #19643
What terminal emulator and version are you using (if applicable)?
Linux terminal
What issue are you seeing?
When running image generation or image-related tasks via Codex, the network becomes extremely slow and unstable.
Observed behavior:
Upload traffic continues indefinitely and does not complete
Upstream bandwidth becomes saturated, affecting all other network activity
WebSocket connection frequently drops and falls back to HTTPS
Eventually results in errors such as:
"Falling back from WebSockets to HTTPS transport. stream disconnected before completion: failed to send websocket request: IO error: Broken pipe (os error 32)"
The session is often interrupted before task completion
System observation:
Monitoring tools show continuous upstream traffic during the issue
Immediately after stopping the Codex task, network usage returns to normal
This issue occurs frequently when working with image generation.
What steps can reproduce the bug?
Run a Codex task involving:
image generation
image analysis
or referencing images in prompts
Observe network behavior:
upstream traffic continuously increases
network becomes unresponsive
WebSocket disconnect occurs
Eventually, the session fails with a transport error (Broken pipe)
What is the expected behavior?
Network usage should remain bounded and not saturate upstream bandwidth
Large directories should not be scanned or uploaded unless explicitly required
Image uploads or analysis should be controlled and limited
The connection (WebSocket) should remain stable during task execution
Tasks should complete without causing global network degradation
Additional information
Likely causes (hypothesis):
Recursive scanning of large directories (models, outputs, node_modules)
Automatic upload or synchronization of large files
Excessive handling of image data without size or scope limits
Impact:
Makes image-related workflows nearly unusable
Causes repeated task interruption
Severely degrades overall system usability
Suggested improvements:
Ability to exclude directories from scanning (e.g., models/, output/)
Limit upload size and bandwidth usage
Explicit control over image upload/analysis behavior
Better visibility into what files are being processed or uploaded
This issue is highly reproducible in environments with large AI/ML assets.
Getting this in regular prompts, no images as well, a few times a day.
"stream disconnected before completion: failed to send websocket request: IO error: Broken pipe (os error 32)".
Activity
JulyIghor commentedon May 8, 2026
Getting this in regular prompts, no images as well, a few times a day.
"stream disconnected before completion: failed to send websocket request: IO error: Broken pipe (os error 32)".