Bug: After updating to 1.1.53 from 1.1.51, the desktop app doesn't create OpenCode server and fails to start #8737

Closed
opened 2026-02-16 18:10:42 -05:00 by yindo · 13 comments
Owner

Originally created by @Cerbers on GitHub (Feb 6, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Description

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

  1. Install version 1.1.53 or 1.1.52 of the desktop program
  2. launch it
  3. stare blankly

Screenshot and/or share link

Image

Operating System

Windows 10

Terminal

No response

Originally created by @Cerbers on GitHub (Feb 6, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Description 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 1. Install version 1.1.53 or 1.1.52 of the desktop program 2. launch it 3. stare blankly ### Screenshot and/or share link <img width="974" height="371" alt="Image" src="https://github.com/user-attachments/assets/010fd276-a0aa-47da-89e7-9c552f34ab96" /> ### Operating System Windows 10 ### Terminal _No response_
yindo added the windowsbugweb labels 2026-02-16 18:10:42 -05:00
yindo closed this issue 2026-02-16 18:10:42 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 6, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #10192: Error: Failed to spawn OpenCode Server (Windows 10, similar spawn error)
  • #8200: window install error Failed to spawn OpenCode Server (Windows spawn failure)
  • #9074: Windows 11: desktop program starts with error (Windows startup failure on recent version)

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.

@github-actions[bot] commented on GitHub (Feb 6, 2026): This issue might be a duplicate of existing issues. Please check: - #10192: Error: Failed to spawn OpenCode Server (Windows 10, similar spawn error) - #8200: window install error Failed to spawn OpenCode Server (Windows spawn failure) - #9074: Windows 11: desktop program starts with error (Windows startup failure on recent version) 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.
Author
Owner

@lcq7748 commented on GitHub (Feb 9, 2026):

I also encountered this situation

@lcq7748 commented on GitHub (Feb 9, 2026): I also encountered this situation
Author
Owner

@Cerbers commented on GitHub (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:

at castError (http://tauri.localhost/assets/bindings-BpGTC5wg.js:1:10353)
at http://tauri.localhost/assets/bindings-BpGTC5wg.js:1:3246
@Cerbers commented on GitHub (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: at castError (http://tauri.localhost/assets/bindings-BpGTC5wg.js:1:10353) at http://tauri.localhost/assets/bindings-BpGTC5wg.js:1:3246
Author
Owner

@Cerbers commented on GitHub (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 commented on GitHub (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
Author
Owner

@Cerbers commented on GitHub (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 commented on GitHub (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
Author
Owner

@Cerbers commented on GitHub (Feb 12, 2026):

v1.1.60

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
@Cerbers commented on GitHub (Feb 12, 2026): v1.1.60 ``` 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 ```
Author
Owner

@FountainChan commented on GitHub (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

@FountainChan commented on GitHub (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
Author
Owner

@tahatariq19 commented on GitHub (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.

@tahatariq19 commented on GitHub (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.
Author
Owner

@adamdotdevin commented on GitHub (Feb 12, 2026):

@tahatariq19 @Cerbers @lcq7748 @R00tedbrain can you upgrade to latest (1.1.64) and let me know if this is resolved?

@adamdotdevin commented on GitHub (Feb 12, 2026): @tahatariq19 @Cerbers @lcq7748 @R00tedbrain can you upgrade to latest (1.1.64) and let me know if this is resolved?
Author
Owner

@Cerbers commented on GitHub (Feb 12, 2026):

v1.1.63

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

@adamdotdevin

i would add that also trying to turn on the cli version crashes instantly as well so may be connected

Image
@Cerbers commented on GitHub (Feb 12, 2026): v1.1.63 ``` 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 ``` @adamdotdevin i would add that also trying to turn on the cli version crashes instantly as well so may be connected <img width="996" height="613" alt="Image" src="https://github.com/user-attachments/assets/d2096e81-a239-43d6-a644-a070535cfa72" />
Author
Owner

@bzbetty commented on GitHub (Feb 12, 2026):

Was getting this with a invalid opencode.json (missing comma) the cli showed me the real error

@bzbetty commented on GitHub (Feb 12, 2026): Was getting this with a invalid opencode.json (missing comma) the cli showed me the real error
Author
Owner

@adamdotdevin commented on GitHub (Feb 12, 2026):

v1.1.63

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

@adamdotdevin

i would add that also trying to turn on the cli version crashes instantly as well so may be connected

Image

Sorry, fix is actually in 1.1.64

@adamdotdevin commented on GitHub (Feb 12, 2026): > v1.1.63 > > ``` > 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 > ``` > > [@adamdotdevin](https://github.com/adamdotdevin) > > i would add that also trying to turn on the cli version crashes instantly as well so may be connected > > <img alt="Image" width="996" height="613" src="https://private-user-images.githubusercontent.com/49960894/549045864-d2096e81-a239-43d6-a644-a070535cfa72.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzA5NDE1MTgsIm5iZiI6MTc3MDk0MTIxOCwicGF0aCI6Ii80OTk2MDg5NC81NDkwNDU4NjQtZDIwOTZlODEtYTIzOS00M2Q2LWE2NDQtYTA3MDUzNWNmYTcyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMjEzVDAwMDY1OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ1ZjY2OGU5ZTk4MGI2MGNjMTdmOTk4NDQyNTI3ZTMwZjBhN2VlMDI5YWFjYWZjODI3ZWYzN2U1MjUwNGE0NWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.oHvM2AOYs5UksL4mAGmWO1eHcLhrWmTVTB2qmPaeeKg"> Sorry, fix is actually in 1.1.64
Author
Owner

@Cerbers commented on GitHub (Feb 13, 2026):

Issue fixed, no longer present in 1.1.64.

@Cerbers commented on GitHub (Feb 13, 2026): Issue fixed, no longer present in 1.1.64.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8737