“socket is not connected” on POST /session/{id}/message when project root contains .git; removing .git avoids the error (Windows 10, Bun 1.3.0, opencode 0.15.3)
Any project with a .git folder returns “socket is not connected” on POST /session/{id}/message ; removing .git makes it succeed.
I have tried multiple attempts given in the issue dialogue, but have not been able to resolve it.
Logs with .git folder: 2025-10-16T093229.log
Logs without .git folder: 2025-10-16T093329.log
This issue might be a duplicate of existing issues. Please check:
- #2304: Same exact issue - socket connection error with .git folder presence on macOS, renaming .git folder fixes it
- #2365: Not working in git project directories but works in non-git directories
- #3142: "Failed to send message" error when doing any type of prompt (Windows-specific messaging issues)
Feel free to ignore if none of these address your specific case.
same for me
Edit: downgrading to 0.14.7 solves the issue temporally
Ill look into that
Seems to be due to bun 1.3, both of you are on windows right
Seems to be due to bun 1.3, both of you are on windows right
Yes, I'm on windows also
I am also seeing this on macOS 15.7.1
hm good to know...
@sollie is it without fail always happening? Is the git project really big or something?
hm good to know...
@sollie is it without fail always happening? Is the git project really big or something?
The first repo I had it happen to had less than 10 commits across 5-10 files total in the repo.
weird hm okay thanks
After upgrading to version 0.15.18, I got a more precise error message, which points to this location: src/file/ripgrep.ts:217:27
Ahh okay that's helpful
Can confirm the same as the other folks. Downgrading works as a temporary solution.
The issue was still present in version v1.0.15, but it has been resolved after updating to v1.0.18.
amazing, going to close and if anyone else has this issue on v1 lmk and we will reopen