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] Error: could not connect to server #6015
@adamdotdevin said "If you run into this issue, you need to open task manager and kill all bun/opencode processes, then reinstall the desktop app."
My observations: if the reinstallation didn't help (as it did for me), then most likely some application is already using the port that OpenCode needs to work.
Are you guys running the OpenCode TUI/server before starting the desktop app? This error indicates your server is out of date. The desktop app also ships a server with it, you may have to reinstall the app.
Activity
ArmDaniel commentedon Dec 23, 2025
I have exactly the same error. It seems to open in the browser at that exact port and it works there, but the desktop app is not
adamdotdevin commentedon Dec 23, 2025
Are you guys running the OpenCode TUI/server before starting the desktop app? This error indicates your server is out of date. The desktop app also ships a server with it, you may have to reinstall the app.
zitongcharliedeng commentedon Dec 23, 2025
+1
adamdotdevin commentedon Dec 23, 2025
If you run into this issue, you need to open task manager and kill all bun/opencode processes, then reinstall the desktop app.
[-]Upgraded from v1.0.190 to v1.0.191 and it gives an error[/-][+][Desktop] Error: could not connect to server[/+]Domanffe commentedon Dec 23, 2025
reinstalling the app helped me, but it's still weird.