Skip to content

Failed to spawn OpenCode Server. Logs: #12857

Closed

Description

@wesley974

Description

Hi,

I use Windows 10, and after upgrading to 1.1.53 I get this screen:
Image

Plugins

No response

OpenCode version

1.1.53

Steps to reproduce

Just run it.

Screenshot and/or share link

No response

Operating System

Windows 10

Terminal

No response

Activity

  1. R44VC0RP commented on Feb 9, 2026

    @R44VC0RP
    Contributor

    Can you share the actual logs? The screenshot shows "Failed to spawn OpenCode Server. Logs:" but the logs section appears empty.

    A few things to check:

    1. Does the sidecar binary exist? Look for opencode-cli.exe in your installation directory (usually %LOCALAPPDATA%\OpenCode or wherever you installed it)
    2. Antivirus/Windows Defender: Check if it's blocking the binary
    3. Run from terminal: Try running opencode serve --hostname 127.0.0.1 --port 4096 from cmd/PowerShell and see if you get any error messages
    4. Logs: Check %LOCALAPPDATA%\opencode\logs or %APPDATA%\opencode\logs for log files

    Also — did 1.1.52 (or earlier) work for you, or is this a fresh install?

  2. Patrick-TS commented on Feb 10, 2026

    @Patrick-TS

    Same here. Earlier version works fine for me. Win10 too.

  3. wesley974 commented on Feb 10, 2026

    @wesley974
    Author

    @R44VC0RP @Patrick-TS

    1. The binary file opencode-cli.exe exists.
    Image
    1. I use Windows Defender, I even analyse it, no threat.
    Image
    1. Running this opencode serve --hostname 127.0.0.1 --port 4096, I get the same UI issue.

    2. No logs in %LOCALAPPDATA%\opencode\logs and %APPDATA%\opencode doesn't exist.

    I also tried 1.1.52, same issue.
    I was running (ok), I think the version was 1.1.48or 1.1.43, after the upgrade to 1.1.53, I get this issue.
    I uninstall it. Try to reinstall with 1.1.53 or 1.1.52 => issue

  4. wesley974 commented on Feb 10, 2026

    @wesley974
    Author

    @R44VC0RP @Patrick-TS
    And version 1.1.48 works.

  5. Patrick-TS commented on Feb 11, 2026

    @Patrick-TS

    I tried 1.1.56 today. Still not working.

    ` 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`
    
  6. Patrick-TS commented on Feb 12, 2026

    @Patrick-TS

    Well, glad to see a new version today. However, it dosen't work neither.

    Error: Failed to spawn OpenCode Server (Health check timed out). Logs:
    2026-02-12T00:35:50.835183Z INFO opencode_lib: Initializing app
    2026-02-12T00:35:50.835284Z INFO opencode_lib: Main and loading windows created
    2026-02-12T00:35:50.846326Z INFO opencode_lib::cli: No CLI installation found, skipping sync
    2026-02-12T00:35:50.848195Z INFO opencode_lib: Setting up server connection
    2026-02-12T00:37:02.262932Z INFO opencode_lib: Attempting server connection custom_url=None
    2026-02-12T00:37:04.318866Z INFO opencode_lib: Spawning new local server
    2026-02-12T00:37:04.318882Z INFO opencode_lib::cli: Spawning sidecar port=55639
    at castError (http://tauri.localhost/assets/bindings-1WF0pzRq.js:1:10353)
    at http://tauri.localhost/assets/bindings-1WF0pzRq.js:1:3246

  7. adamdotdevin commented on Feb 12, 2026

    @adamdotdevin
    Member

    @wesley974 @Patrick-TS @palmamartin can you upgrade to latest (1.1.64) and let me know if this is resolved?

  8. Patrick-TS commented on Feb 13, 2026

    @Patrick-TS

    v1.1.64 works ! Thank you! @adamdotdevin

  9. wesley974 commented on Feb 13, 2026

    @wesley974
    Author

    I just tested, v1.1.65 works! Merci! @adamdotdevin @rekram1-node @R44VC0RP @Patrick-TS
    Awesome team!

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 workingwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions