Skip to content

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

Closed

Description

@Cerbers

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

Activity

  1. github-actions commented on Feb 6, 2026

    @github-actions
    Contributor

    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.

  2. R00tedbrain commented on Feb 8, 2026

    @R00tedbrain

    same here and not fixed

  3. lcq7748 commented on Feb 9, 2026

    @lcq7748

    I also encountered this situation

  4. Cerbers commented on Feb 11, 2026

    @Cerbers
    Author

    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
    
  5. Cerbers commented on Feb 11, 2026

    @Cerbers
    Author

    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

  6. Cerbers commented on Feb 11, 2026

    @Cerbers
    Author

    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

  7. Cerbers commented on Feb 12, 2026

    @Cerbers
    Author

    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
    
  8. FountainChan commented on Feb 12, 2026

    @FountainChan

    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

  9. greythx commented on Feb 12, 2026

    @greythx

    Can confirm same issue.
    On a sandy bridge cpu running win 10 installed via npm.
    1.1.51 is the last version that works.

  10. adamdotdevin commented on Feb 12, 2026

    @adamdotdevin
    Member

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

  11. Cerbers commented on Feb 12, 2026

    @Cerbers
    Author

    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
  12. bzbetty commented on Feb 13, 2026

    @bzbetty

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

  13. adamdotdevin commented on Feb 13, 2026

    @adamdotdevin
    Member

    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

  14. Cerbers commented on Feb 13, 2026

    @Cerbers
    Author

    Issue fixed, no longer present in 1.1.64.

  15. Fabio-Zeus-Soft commented on Mar 5, 2026

    @Fabio-Zeus-Soft

    still happening on 1.2.17 on arm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates to opencode on web / desktopwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions