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
Desktop crashes on restart: "Notification server not found: wsl:Ubuntu" #37171
Error: Notification server not found: wsl:Ubuntu
at ensure (oc://renderer/assets/main-BM2W0EK3.js:86341:24)
at selected (oc://renderer/assets/main-BM2W0EK3.js:86373:28)
at Object.ready (oc://renderer/assets/main-BM2W0EK3.js:86375:20)
at Object.fn (oc://renderer/assets/main-BM2W0EK3.js:159881:23)
at runComputation (oc://renderer/assets/main-BM2W0EK3.js:487:22)
at updateComputation (oc://renderer/assets/main-BM2W0EK3.js:470:3)
at runTop (oc://renderer/assets/main-BM2W0EK3.js:566:7)
at runUserEffects (oc://renderer/assets/main-BM2W0EK3.js:660:39)
at oc://renderer/assets/main-BM2W0EK3.js:634:35
at runUpdates (oc://renderer/assets/main-BM2W0EK3.js:583:17)
at completeUpdates (oc://renderer/assets/main-BM2W0EK3.js:634:18)
at runUpdates (oc://renderer/assets/main-BM2W0EK3.js:584:5)
at completeLoad (oc://renderer/assets/main-BM2W0EK3.js:167:5)
at loadEnd (oc://renderer/assets/main-BM2W0EK3.js:162:14)
at oc://renderer/assets/main-BM2W0EK3.js:232:28
Plugins
No response
OpenCode version
1.18.2
Steps to reproduce
Open OpenCode Desktop on Windows
Connect to a WSL2 Ubuntu server (opencode serve --hostname 0.0.0.0 --port 7692)
Use the app normally (send a message in a WSL project)
Close the Desktop app
Re-open the Desktop app
Crash: Error: Notification server not found: wsl:Ubuntu
Screenshot and/or share link
No response
Operating System
Windows 11 Pro (Build 26200), WSL2 Ubuntu
Terminal
Windows Terminal → bash (WSL2)
Reacted by izumi, Dave, Yu Jun Tham, 鸿蒙机器人 and Victor Emanuel Elias Cuello
Steps to reproduce: not provided — please describe what you were doing when the crash occurred (e.g. restarting the desktop app with a WSL server configured)
Terminal: not provided
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
Thank you for updating the issue! All the required information is now present — the error message, steps to reproduce, OpenCode version, OS, and terminal details are all filled in. The compliance flag has been removed. We'll take a look!
Error: Notification server not found: wsl:Ubuntu
at ensure (oc://renderer/assets/main-BM2W0EK3.js:86341:24)
at selected (oc://renderer/assets/main-BM2W0EK3.js:86373:28)
at Object.ready (oc://renderer/assets/main-BM2W0EK3.js:86375:20)
at Object.fn (oc://renderer/assets/main-BM2W0EK3.js:159881:23)
at runComputation (oc://renderer/assets/main-BM2W0EK3.js:487:22)
at updateComputation (oc://renderer/assets/main-BM2W0EK3.js:470:3)
at runTop (oc://renderer/assets/main-BM2W0EK3.js:566:7)
at runUserEffects (oc://renderer/assets/main-BM2W0EK3.js:660:39)
at oc://renderer/assets/main-BM2W0EK3.js:634:35
at runUpdates (oc://renderer/assets/main-BM2W0EK3.js:583:17)
at completeUpdates (oc://renderer/assets/main-BM2W0EK3.js:634:18)
at runUpdates (oc://renderer/assets/main-BM2W0EK3.js:584:5)
at completeLoad (oc://renderer/assets/main-BM2W0EK3.js:167:5)
at loadEnd (oc://renderer/assets/main-BM2W0EK3.js:162:14)
at oc://renderer/assets/main-BM2W0EK3.js:232:28
I'm working on v1.18.2, set the server WSL to default, then update and reboot.
Start up and show the error as follows:
Error: Notification server not found: wsl:Ubuntu
at ensure (oc://renderer/assets/main-hem2imez.js:86345:24)
at selected (oc://renderer/assets/main-hem2imez.js:86377:28)
at Object.ready (oc://renderer/assets/main-hem2imez.js:86379:20)
at Object.fn (oc://renderer/assets/main-hem2imez.js:159925:23)
at runComputation (oc://renderer/assets/main-hem2imez.js:487:22)
at updateComputation (oc://renderer/assets/main-hem2imez.js:470:3)
at runTop (oc://renderer/assets/main-hem2imez.js:566:7)
at runUserEffects (oc://renderer/assets/main-hem2imez.js:660:39)
at oc://renderer/assets/main-hem2imez.js:634:35
at runUpdates (oc://renderer/assets/main-hem2imez.js:583:17)
at completeUpdates (oc://renderer/assets/main-hem2imez.js:634:18)
at runUpdates (oc://renderer/assets/main-hem2imez.js:584:5)
at completeLoad (oc://renderer/assets/main-hem2imez.js:167:5)
at loadEnd (oc://renderer/assets/main-hem2imez.js:162:14)
at oc://renderer/assets/main-hem2imez.js:232:28
@huoyujia081 I tried deleting the opencode.settings file and restarting OpenCode Desktop, but it still shows the error: Notification server not found: wsl:Ubuntu. The new opencode.settings file doesn't even contain a WSL server entry.
I delete %appdata%\ai.opencode.desktop directory and reinstall OpenCode Desktop, it works well now.
I've been using it for a while, but it still throws the same error after a restart.😮
in %APPDATA%\ai.opencode.desktop\opencode.settings.
The exported debug logs show a startup race:
12:23:39.683 WSL sidecar starting
12:23:40.362 renderer fatal: Notification server not found: wsl:Ubuntu-26.04
12:23:41.365 WSL sidecar ready
So the renderer selects the configured default WSL server about one second before it is registered as ready. Clearing only defaultServerUrl while keeping the WSL server entry let the app start using the local sidecar.
Suggested fix: defer/default-route notification-server selection until the selected sidecar is available, rather than calling ensure() fatally during initialization.
Activity
github-actions commentedon Jul 15, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
Error: Notification server not found: http://[server-ip]:4096#35686: Same "Notification server not found" crash on Desktop startup — identical error and stack trace, triggered by a stale/missing server key in persisted stateIf you believe this was flagged incorrectly, please let a maintainer know.
github-actions commentedon Jul 15, 2026
Thank you for updating the issue! All the required information is now present — the error message, steps to reproduce, OpenCode version, OS, and terminal details are all filled in. The compliance flag has been removed. We'll take a look!
Vidar-50rr commentedon Jul 15, 2026
Same issue for me
BadLemon5267 commentedon Jul 17, 2026
The same as version 1.18.3
I'm working on v1.18.2, set the server WSL to default, then update and reboot.
Start up and show the error as follows:
Error: Notification server not found: wsl:Ubuntu
at ensure (oc://renderer/assets/main-hem2imez.js:86345:24)
at selected (oc://renderer/assets/main-hem2imez.js:86377:28)
at Object.ready (oc://renderer/assets/main-hem2imez.js:86379:20)
at Object.fn (oc://renderer/assets/main-hem2imez.js:159925:23)
at runComputation (oc://renderer/assets/main-hem2imez.js:487:22)
at updateComputation (oc://renderer/assets/main-hem2imez.js:470:3)
at runTop (oc://renderer/assets/main-hem2imez.js:566:7)
at runUserEffects (oc://renderer/assets/main-hem2imez.js:660:39)
at oc://renderer/assets/main-hem2imez.js:634:35
at runUpdates (oc://renderer/assets/main-hem2imez.js:583:17)
at completeUpdates (oc://renderer/assets/main-hem2imez.js:634:18)
at runUpdates (oc://renderer/assets/main-hem2imez.js:584:5)
at completeLoad (oc://renderer/assets/main-hem2imez.js:167:5)
at loadEnd (oc://renderer/assets/main-hem2imez.js:162:14)
at oc://renderer/assets/main-hem2imez.js:232:28
Here are exported logs.
opencode-debug-20260717T032538.zip
huoyujia081 commentedon Jul 17, 2026
My current temporary workaround is:
opencode.settingsfile in the%appdata%\ai.opencode.desktopdirectoryBadLemon5267 commentedon Jul 17, 2026
@huoyujia081 I tried deleting the
opencode.settingsfile and restarting OpenCode Desktop, but it still shows the error:Notification server not found: wsl:Ubuntu. The newopencode.settingsfile doesn't even contain a WSL server entry.I delete
%appdata%\ai.opencode.desktopdirectory and reinstall OpenCode Desktop, it works well now.I've been using it for a while, but it still throws the same error after a restart.😮
Aziteee commentedon Jul 17, 2026
Same issue here. I hope the app to still start up even if one of the servers is down.
fermumen commentedon Jul 20, 2026
Additional confirmed repro on OpenCode Desktop 1.18.3 (Windows 11 + WSL2, distro
Ubuntu-26.04).This was unrelated to plugins. Desktop persisted:
{ "wslServers": { "servers": [{ "id": "wsl:Ubuntu-26.04", "distro": "Ubuntu-26.04" }] }, "defaultServerUrl": "wsl:Ubuntu-26.04" }in
%APPDATA%\ai.opencode.desktop\opencode.settings.The exported debug logs show a startup race:
12:23:39.683WSL sidecar starting12:23:40.362renderer fatal:Notification server not found: wsl:Ubuntu-26.0412:23:41.365WSL sidecar readySo the renderer selects the configured default WSL server about one second before it is registered as ready. Clearing only
defaultServerUrlwhile keeping the WSL server entry let the app start using the local sidecar.Suggested fix: defer/default-route notification-server selection until the selected sidecar is available, rather than calling
ensure()fatally during initialization.opencode-agent commentedon Jul 20, 2026
Fixed by #37890.