Description
OpenCode version OpenCode Desktop v1.16.2
Operating System Windows 11 Pro 25H2
Terminal OpenCode Desktop Client (Electron)
Steps to reproduce
- Launch the OpenCode Desktop client.
- Select project
- Select any available model from the dropdown.
- Send a standard prompt (e.g., "Hello, how are you?").
- Observe the error "terminated" in 30-60 seconds.
Additional Context
- Which model: I tried with multiple models, but the
terminated error occurs regardless of the selected model.
- Recent changes: "I recently updated the OpenCode app and changed my network"
- Observations: Looking closely at the attached logs, there is a
TimeoutError when trying to fetch models.dev, followed by an undici terminated error. It seems like a network connectivity issue, a strict timeout, or a dropped TCP connection from the desktop client side. My general internet connection is otherwise stable.
I have a GO subscription. Today, in the OpenCode desktop client, I'm getting a "terminated" error for all requests to any model. I'm attaching the logs.
opencode-debug-20260608T083649.zip
ERROR 2026-06-08T08:29:33 +10411ms service=default cause={"_id":"Cause","failures":[{"_tag":"Fail","error":{"_tag":"TimeoutError","~effect/Cause/TimeoutError":"~effect/Cause/TimeoutError"}}]} Failed to fetch models.dev
ERROR 2026-06-08T08:30:58 +84319ms service=session.processor session.id=ses_159e0320cffeve7Roku88CQtVC messageID=msg_ea65a2395001QfBicalx61h9GY error=terminated stack=TypeError: terminated
at Fetch.onAborted (node:internal/deps/undici/undici:13602:53)
at Fetch.emit (node:events:508:28)
at Fetch.terminate (node:internal/deps/undici/undici:12732:14)
at Object.onError (node:internal/deps/undici/undici:13728:38)
at Request.onError (node:internal/deps/undici/undici:3073:31)
at Object.errorRequest (node:internal/deps/undici/undici:1932:17)
at TLSSocket.onHttpSocketClose (node:internal/deps/undici/undici:7726:14)
at TLSSocket.emit (node:events:520:35)
at node:net:346:12
at TCP.done (node:internal/tls/wrap:671:7) process
Plugins
No response
OpenCode version
No response
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response
Description
OpenCode version OpenCode Desktop v1.16.2
Operating System Windows 11 Pro 25H2
Terminal OpenCode Desktop Client (Electron)
Steps to reproduce
Additional Context
terminatederror occurs regardless of the selected model.TimeoutErrorwhen trying to fetchmodels.dev, followed by anundiciterminatederror. It seems like a network connectivity issue, a strict timeout, or a dropped TCP connection from the desktop client side. My general internet connection is otherwise stable.I have a GO subscription. Today, in the OpenCode desktop client, I'm getting a "terminated" error for all requests to any model. I'm attaching the logs.
opencode-debug-20260608T083649.zip
ERROR 2026-06-08T08:29:33 +10411ms service=default cause={"_id":"Cause","failures":[{"_tag":"Fail","error":{"_tag":"TimeoutError","~effect/Cause/TimeoutError":"~effect/Cause/TimeoutError"}}]} Failed to fetch models.dev
ERROR 2026-06-08T08:30:58 +84319ms service=session.processor session.id=ses_159e0320cffeve7Roku88CQtVC messageID=msg_ea65a2395001QfBicalx61h9GY error=terminated stack=TypeError: terminated
at Fetch.onAborted (node:internal/deps/undici/undici:13602:53)
at Fetch.emit (node:events:508:28)
at Fetch.terminate (node:internal/deps/undici/undici:12732:14)
at Object.onError (node:internal/deps/undici/undici:13728:38)
at Request.onError (node:internal/deps/undici/undici:3073:31)
at Object.errorRequest (node:internal/deps/undici/undici:1932:17)
at TLSSocket.onHttpSocketClose (node:internal/deps/undici/undici:7726:14)
at TLSSocket.emit (node:events:520:35)
at node:net:346:12
at TCP.done (node:internal/tls/wrap:671:7) process
Plugins
No response
OpenCode version
No response
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response