Failed to spawn OpenCode Server. Logs: #8918

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

Originally created by @wesley974 on GitHub (Feb 9, 2026).

Originally assigned to: @rekram1-node on GitHub.

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

Originally created by @wesley974 on GitHub (Feb 9, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description Hi, I use Windows 10, and after upgrading to 1.1.53 I get this screen: <img width="924" height="282" alt="Image" src="https://github.com/user-attachments/assets/a680ff09-ab35-42bc-a6cb-57cad96badd4" /> ### 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_
yindo added the windowsbug labels 2026-02-16 18:11:10 -05:00
yindo closed this issue 2026-02-16 18:11:10 -05:00
Author
Owner

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

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?

@R44VC0RP commented on GitHub (Feb 9, 2026): 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?
Author
Owner

@Patrick-TS commented on GitHub (Feb 9, 2026):

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

@Patrick-TS commented on GitHub (Feb 9, 2026): Same here. Earlier version works fine for me. Win10 too.
Author
Owner

@wesley974 commented on GitHub (Feb 10, 2026):

@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

@wesley974 commented on GitHub (Feb 10, 2026): @R44VC0RP @Patrick-TS 1. The binary file `opencode-cli.exe` exists. <img width="672" height="139" alt="Image" src="https://github.com/user-attachments/assets/1f5f9a27-91dd-4f7c-8820-07675199ccf9" /> 2. I use Windows Defender, I even analyse it, no threat. <img width="509" height="302" alt="Image" src="https://github.com/user-attachments/assets/9b1c6fa4-5109-4b6a-b814-1e6bc7ae1dd3" /> 3. Running this `opencode serve --hostname 127.0.0.1 --port 4096`, I get the same UI issue. 4. 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.48~or 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
Author
Owner

@wesley974 commented on GitHub (Feb 10, 2026):

@R44VC0RP @Patrick-TS
And version 1.1.48 works.

@wesley974 commented on GitHub (Feb 10, 2026): @R44VC0RP @Patrick-TS And version 1.1.48 works.
Author
Owner

@Patrick-TS commented on GitHub (Feb 10, 2026):

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`
@Patrick-TS commented on GitHub (Feb 10, 2026): 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`
Author
Owner

@Patrick-TS commented on GitHub (Feb 11, 2026):

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

@Patrick-TS commented on GitHub (Feb 11, 2026): 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
Author
Owner

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

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

@adamdotdevin commented on GitHub (Feb 12, 2026): @wesley974 @Patrick-TS @palmamartin can you upgrade to latest (1.1.64) and let me know if this is resolved?
Author
Owner

@Patrick-TS commented on GitHub (Feb 12, 2026):

v1.1.64 works ! Thank you! @adamdotdevin

@Patrick-TS commented on GitHub (Feb 12, 2026): v1.1.64 works ! Thank you! @adamdotdevin
Author
Owner

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

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

@wesley974 commented on GitHub (Feb 13, 2026): I just tested, v1.1.65 works! Merci! @adamdotdevin @rekram1-node @R44VC0RP @Patrick-TS Awesome team!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8918