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
Bug: After updating to 1.1.53 from 1.1.51, the desktop app doesn't create OpenCode server and fails to start #12521
After I updated OpenCode desktop app to newest version (1.1.53), I got hit by "Failed to spawn opencode server" message with no extra info around. I reinstalled the program and the problem persisted, then I reverted to 1.1.52 version which faced the same issue, only after coming back to 1.1.51 it was able to 'spawn' server and program runs normally.
Bug occurred on Windows 10.
Plugins
No response
OpenCode version
1.1.53
Steps to reproduce
Install version 1.1.53 or 1.1.52 of the desktop program
launch it
stare blankly
Screenshot and/or share link
Operating System
Windows 10
Terminal
No response
Reacted by Adz1DoubleD, Matthew Utin, lcq7748, MohaidYouness and EFEX
These issues all describe the same 'Failed to spawn OpenCode Server' error on Windows systems. Feel free to ignore if your case is different from these.
Version 1.1.56 of Desktop app provides more context to this persisting issue now:
Error: Failed to spawn OpenCode Server. Logs:
at castError (http://tauri.localhost/assets/bindings-BpGTC5wg.js:1:10353)
at http://tauri.localhost/assets/bindings-BpGTC5wg.js:1:3246
Error: Failed to spawn OpenCode Server (Sidecar terminated before becoming healthy (code=Some(-1073741795) signal=None)). Logs:
2026-02-12T11:02:57.912673Z INFO opencode_lib: Initializing app
2026-02-12T11:02:57.912816Z INFO opencode_lib: Main and loading windows created
2026-02-12T11:02:57.913286Z INFO opencode_lib::cli: No CLI installation found, skipping sync
2026-02-12T11:02:57.915794Z INFO opencode_lib: Setting up server connection
2026-02-12T11:03:03.004682Z INFO opencode_lib: Attempting server connection custom_url=None
2026-02-12T11:03:05.455953Z INFO opencode_lib: Spawning new local server
2026-02-12T11:03:05.455970Z INFO opencode_lib::cli: Spawning sidecar port=63719
2026-02-12T11:03:07.533977Z INFO sidecar: Sidecar terminated code=Some(-1073741795) signal=None
at castError (http://tauri.localhost/assets/bindings-1WF0pzRq.js:1:10353)
at http://tauri.localhost/assets/bindings-1WF0pzRq.js:1:3246
Error: Failed to spawn OpenCode Server (Sidecar terminated before becoming healthy (code=Some(-1073741795) signal=None)). Logs:
2026-02-12T20:00:24.439481Z INFO opencode_lib: Initializing app
2026-02-12T20:00:24.442339Z INFO opencode_lib: Main and loading windows created
2026-02-12T20:00:24.442509Z INFO opencode_lib::cli: No CLI installation found, skipping sync
2026-02-12T20:00:24.456417Z INFO opencode_lib: Setting up server connection
2026-02-12T20:00:29.438974Z INFO opencode_lib: Attempting server connection custom_url=None
2026-02-12T20:00:31.855665Z INFO opencode_lib: Spawning new local server
2026-02-12T20:00:31.855680Z INFO opencode_lib::cli: Spawning sidecar port=61864
2026-02-12T20:00:31.862997Z INFO opencode_lib: Server connection setup
2026-02-12T20:00:31.863003Z INFO opencode_lib: server connection started
2026-02-12T20:00:35.196116Z INFO sidecar: opencode_lib::cli: Sidecar terminated code=Some(-1073741795) signal=None
at castError (http://tauri.localhost/assets/bindings-BHHEEz0a.js:1:10353)
at http://tauri.localhost/assets/bindings-BHHEEz0a.js:1:3246
Error: Failed to spawn OpenCode Server (Sidecar terminated before becoming healthy (code=Some(-1073741795) signal=None)). Logs:
2026-02-12T20:00:24.439481Z INFO opencode_lib: Initializing app
2026-02-12T20:00:24.442339Z INFO opencode_lib: Main and loading windows created
2026-02-12T20:00:24.442509Z INFO opencode_lib::cli: No CLI installation found, skipping sync
2026-02-12T20:00:24.456417Z INFO opencode_lib: Setting up server connection
2026-02-12T20:00:29.438974Z INFO opencode_lib: Attempting server connection custom_url=None
2026-02-12T20:00:31.855665Z INFO opencode_lib: Spawning new local server
2026-02-12T20:00:31.855680Z INFO opencode_lib::cli: Spawning sidecar port=61864
2026-02-12T20:00:31.862997Z INFO opencode_lib: Server connection setup
2026-02-12T20:00:31.863003Z INFO opencode_lib: server connection started
2026-02-12T20:00:35.196116Z INFO sidecar: opencode_lib::cli: Sidecar terminated code=Some(-1073741795) signal=None
at castError (http://tauri.localhost/assets/bindings-BHHEEz0a.js:1:10353)
at http://tauri.localhost/assets/bindings-BHHEEz0a.js:1:3246
Activity
github-actions commentedon Feb 6, 2026
This issue might be a duplicate of existing issues. Please check:
These issues all describe the same 'Failed to spawn OpenCode Server' error on Windows systems. Feel free to ignore if your case is different from these.
R00tedbrain commentedon Feb 8, 2026
same here and not fixed
lcq7748 commentedon Feb 9, 2026
I also encountered this situation
Cerbers commentedon Feb 11, 2026
Version 1.1.56 of Desktop app provides more context to this persisting issue now:
Error: Failed to spawn OpenCode Server. Logs:
Cerbers commentedon Feb 11, 2026
State of 1.1.58.
Error: Failed to spawn OpenCode Server (Health check timed out). Logs:
2026-02-11T15:29:09.642759Z INFO opencode_lib: Initializing app
2026-02-11T15:29:09.642879Z INFO opencode_lib: Main and loading windows created
2026-02-11T15:29:09.642985Z INFO opencode_lib::cli: No CLI installation found, skipping sync
2026-02-11T15:29:09.645115Z INFO opencode_lib: Setting up server connection
2026-02-11T15:30:26.133482Z INFO opencode_lib: Attempting server connection custom_url=None
2026-02-11T15:30:28.175040Z INFO opencode_lib: Spawning new local server
2026-02-11T15:30:28.175056Z INFO opencode_lib::cli: Spawning sidecar port=61947
2026-02-11T15:30:58.202229Z INFO sidecar: Sidecar terminated code=Some(1) signal=None
at castError (http://tauri.localhost/assets/bindings-B4RAy_HV.js:1:10353)
at http://tauri.localhost/assets/bindings-B4RAy_HV.js:1:3246
find it curious that it doesn't find CLI installation even though it's in same folder with desktop app
Cerbers commentedon Feb 11, 2026
v1.1.59
Error: Failed to spawn OpenCode Server (Health check timed out). Logs:
2026-02-11T15:41:48.731675Z INFO opencode_lib: Initializing app
2026-02-11T15:41:48.731812Z INFO opencode_lib: Main and loading windows created
2026-02-11T15:41:48.731943Z INFO opencode_lib::cli: No CLI installation found, skipping sync
2026-02-11T15:41:48.734319Z INFO opencode_lib: Setting up server connection
2026-02-11T15:43:06.317767Z INFO opencode_lib: Attempting server connection custom_url=None
2026-02-11T15:43:08.364247Z INFO opencode_lib: Spawning new local server
2026-02-11T15:43:08.364262Z INFO opencode_lib::cli: Spawning sidecar port=62155
2026-02-11T15:43:38.389506Z INFO sidecar: Sidecar terminated code=Some(1) signal=None
at castError (http://tauri.localhost/assets/bindings-1WF0pzRq.js:1:10353)
at http://tauri.localhost/assets/bindings-1WF0pzRq.js:1:3246
Cerbers commentedon Feb 12, 2026
v1.1.60
FountainChan commentedon Feb 12, 2026
Bug still happen in version 1.1.62.when open the windows app by double click, the wait for a long time(over than 30s). Then throw follows exception logs:
Error: Failed to spawn OpenCode Server (Health check timed out). Logs:
2026-02-12T18:33:24.707574Z INFO opencode_lib: Initializing app
2026-02-12T18:33:24.708157Z INFO opencode_lib: Main and loading windows created
2026-02-12T18:33:24.708281Z INFO opencode_lib::cli: No CLI installation found, skipping sync
2026-02-12T18:33:24.752492Z INFO opencode_lib: Setting up server connection
2026-02-12T18:34:12.031211Z INFO opencode_lib: Attempting server connection custom_url=None
2026-02-12T18:34:14.088922Z INFO opencode_lib: Spawning new local server
2026-02-12T18:34:14.088935Z INFO opencode_lib::cli: Spawning sidecar port=60172
2026-02-12T18:34:14.097046Z INFO opencode_lib: Server connection setup
2026-02-12T18:34:14.097054Z INFO opencode_lib: server connection started
at castError (http://tauri.localhost/assets/bindings-BHHEEz0a.js:1:10353)
at http://tauri.localhost/assets/bindings-BHHEEz0a.js:1:3246
greythx commentedon Feb 12, 2026
Can confirm same issue.
On a sandy bridge cpu running win 10 installed via npm.
1.1.51 is the last version that works.
adamdotdevin commentedon Feb 12, 2026
@tahatariq19 @Cerbers @lcq7748 @R00tedbrain can you upgrade to latest (1.1.64) and let me know if this is resolved?
Cerbers commentedon Feb 12, 2026
v1.1.63
@adamdotdevin
i would add that also trying to turn on the cli version crashes instantly as well so may be connected
bzbetty commentedon Feb 13, 2026
Was getting this with a invalid opencode.json (missing comma) the cli showed me the real error
adamdotdevin commentedon Feb 13, 2026
Sorry, fix is actually in 1.1.64
Cerbers commentedon Feb 13, 2026
Issue fixed, no longer present in 1.1.64.
Fabio-Zeus-Soft commentedon Mar 5, 2026
still happening on 1.2.17 on arm