jcode connect fails with "Broken pipe (os error 32)" on Ubuntu while jcode run works
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 19.9k
- Forks
- 2.3k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 30
Description
Describe the bug
On Ubuntu Linux, jcode connect successfully connects to the running J-Code server, but as soon as I send a normal message, it fails with:
Error: Broken pipe (os error 32)
The server still appears to be alive, and jcode run works for the same kind of prompt.
To Reproduce
- Start the server:
jcode serve - In another terminal, run:
jcode connect - Type any normal message, for example:
quiero que veas el estado actual del proyecto y me muestres el mapa - Press Enter.
- The client exits with:
Error: Broken pipe (os error 32)
Expected behavior
jcode connect should keep the interactive session alive and process the message normally.
Actual behavior
jcode connect accepts the connection, but breaks immediately after sending the first prompt.
Works as expected
This works:
jcode run "quiero que veas el estado actual del proyecto y me muestres el mapa"
Environment
- OS: Ubuntu Linux
- jcode version:
jcode v0.44.0 (ee9476ae) - Shell: bash
- Project directory:
~/proyectos/will-cel
Additional context
I had previously cleaned an older modified local build and reinstalled jcode 0.44.0 successfully. After reinstall, jcode run works, but jcode connect consistently fails with the broken pipe error.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with jcode serve and jcode connect on Ubuntu, then compare it with the working jcode run command. Trace the first prompt sent by the interactive client and identify why the session closes with Broken pipe (os error 32). Done means jcode connect processes a normal message and keeps the interactive session alive.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100