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
When opencode is writing a file, the error message "error: sse read timed out" is displayed.
Plugins
nothing
OpenCode version
1.2.25
Steps to reproduce
When the opencode skill is used to brainstorm a piece of software, and then the planning-with-files skill is used to create the task_plan.md file, the message "Preparing write..." is displayed. After a while, the message "Tool execution aborted, Error: SSE read timed out" is displayed.
I had the issue with macOS, opencode 1.2.27 and followed suggestions above to bump up the timeouts. It did not help as I still ended up with a timeout error at approximately the same step each time and I decided to reboot the computer and try again.
Rebooted, started opencode entered the same prompt.
Unlike before the reboot the prompt processing was interrupted with a request to give a permission to access a directory needed for processing with possible options to allow once, always allow, deny. It was at the moment I would get a timeout before the reboot. The prompt continued and finished after I provided the necessary permission.
Based on this I think opencode might need to add some more handling when the OS asks for permissions.
Same error 1.2.27.
sometimes timeout at 5min, sometimes 5s.
'timeout' and 'chunktimeout' options didnt help,
A total nonsense in local development, with slow servers, or large research.
These continuous timeout errors make opencode totally unusable.
Had to "upgrade" to 1.2.24.
I had the same issue. Evaded it by using "opencode web" - from web it works fine
I also had this ploblem, but it doesn't work in webui. it works fine in tui. And upgrade to 1.2.24 webui also works bad, webui show it's opencode desktop version keep in 1.2.27.
@adamskrodzki the issue was caused by a default SSE chunk timeout of 5 minutes. It was disabled over a month ago. If you are facing a similar issue it is different cause than this or it is a regression.
Consider sharing your config and open a new issue if you are still facing
which maybe is a regression because I understand that once I've set "chunkTimeout": 120000 requests get retry after 2 min without response from server ?
This error was occurring for me on some high-stress workflow, many agents in parallel running requests to the same provider (MiniMax)
Activity
github-actions commentedon Mar 13, 2026
This issue might be a duplicate of existing issues. Please check:
SSE read timed outerror on version 1.2.25, with a workaround involving increasing the timeout settings inopencode.jsonpelidan commentedon Mar 13, 2026
same problem here with writing plans
for now
opencode upgrade 1.2.24that one works okayadriano-digiere commentedon Mar 13, 2026
I'm facing the same problem here when writing plans to files. Both, Windows and CLI versions.
vlat456 commentedon Mar 13, 2026
Same here, for GLM-5. for almost any task.
spooknik commentedon Mar 13, 2026
Same here. On 1.2.25 Windows.
wei-shusheng commentedon Mar 13, 2026
Same here for 1.2.25 on windows 11
dolibali commentedon Mar 13, 2026
Same here, for GLM-5, On 1.2.25 macos 26.3, for almost any task.
dhickie commentedon Mar 13, 2026
Same problem here, using 1.2.25 installed via npm on Windows 11.
I downgraded to 1.2.24 using
npm install -g opencode-ai@1.2.24and that fixed the issue for now.darkalfx commentedon Mar 13, 2026
Not sure why this started happening today but I'm getting the same now
YichaoOU commentedon Mar 13, 2026
Same problem here, using 1.2.26 on Windows 11 enterprise.
sam2de commentedon Mar 13, 2026
Same here with Qwen 3.5 through ollama on macos
Nam-SW commentedon Mar 13, 2026
I ran into the same issue on v1.2.26 (Windows 11, WSL Ubuntu 22.04).
It works fine after downgrading to v1.2.24.
29 remaining items
GitHubxsy commentedon Mar 18, 2026
The solution is:
1、Ensure the model's response time is less than 2 minutes.
2、Set a separate timeout for the provider.
vals-productions commentedon Mar 18, 2026
I had the issue with macOS, opencode 1.2.27 and followed suggestions above to bump up the timeouts. It did not help as I still ended up with a timeout error at approximately the same step each time and I decided to reboot the computer and try again.
Rebooted, started opencode entered the same prompt.
Unlike before the reboot the prompt processing was interrupted with a request to give a permission to access a directory needed for processing with possible options to allow once, always allow, deny. It was at the moment I would get a timeout before the reboot. The prompt continued and finished after I provided the necessary permission.
Based on this I think opencode might need to add some more handling when the OS asks for permissions.
NicasioSirvent commentedon Mar 19, 2026
Same error 1.2.27.
sometimes timeout at 5min, sometimes 5s.
'timeout' and 'chunktimeout' options didnt help,
A total nonsense in local development, with slow servers, or large research.
These continuous timeout errors make opencode totally unusable.
Had to "upgrade" to 1.2.24.
YandievRuslan commentedon Mar 19, 2026
I had the same issue. Evaded it by using "opencode web" - from web it works fine
exa160 commentedon Mar 21, 2026
I also had this ploblem, but it doesn't work in webui. it works fine in tui. And upgrade to 1.2.24 webui also works bad, webui show it's opencode desktop version keep in 1.2.27.
Bluefve commentedon Mar 22, 2026
This is happening a lot recently (Claud Opus)
rekram1-node commentedon Mar 23, 2026
Disabled by default on latest.
adamskrodzki commentedon Apr 27, 2026
@rekram1-node why this issue has been closed ? problem still happens on 1.14.22
rekram1-node commentedon Apr 27, 2026
@adamskrodzki the issue was caused by a default SSE chunk timeout of 5 minutes. It was disabled over a month ago. If you are facing a similar issue it is different cause than this or it is a regression.
Consider sharing your config and open a new issue if you are still facing
adamskrodzki commentedon Apr 28, 2026
Thank you for the response Problem was solved once I've set
"provider": {
"minimax": {
"options": {
"timeout": 1800000,
"chunkTimeout": 120000
},
which maybe is a regression because I understand that once I've set "chunkTimeout": 120000 requests get retry after 2 min without response from server ?
This error was occurring for me on some high-stress workflow, many agents in parallel running requests to the same provider (MiniMax)
sbe-arg commentedon Sep 14, 2026
Funny how often this happens when qwe3.8 27b takes ages to create long files...
Lamamanx commentedon Sep 15, 2026
@sbe-arg I haven't had this issue for ages, even with the new Qwen3.8 27b thinking.
Mishatopkek commentedon Sep 16, 2026
The latest version of the app, and it happens with Qwen3.8 27b
andrea-lorenzetti commentedon Oct 5, 2026
Did you guys solve this issue? I am getting sometimes the same problem with Qwen3.8 27b quantized at 8 bit