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
fix(desktop): Desktop app fails to connect to authenticated remote server on startup #16123
When a remote server requiring authentication (username/password) is set as the default server, the desktop app fails to connect on startup with an error message.
The root cause is in packages/desktop-electron/src/main/index.ts, where the setupServerConnection() function calls checkHealthOrAskRetry(customUrl) without passing credentials. The checkHealth() function supports a password parameter, but it's not being used during the startup health check.
This is related to #16096, which has a similar issue in the CLI run --attach command path.
Plugins
None
OpenCode version
1.2.17 (Desktop app - Electron)
Steps to reproduce
Add a remote server with authentication (username + password) in the desktop app
Set this server as default using the dropdown menu ("Set as default")
Restart the desktop app
Observe connection failure error dialog
Screenshot and/or share link
No response
Operating System
macOS (also affects Windows and Linux desktop apps)
Thanks for updating the issue! It now meets our contributing guidelines — all required fields are filled in with real content. We appreciate you taking the time to provide the reproduction steps and system info.
Activity
fix(desktop): pass credentials when checking default server health on…
github-actions commentedon Mar 5, 2026
Thanks for updating the issue! It now meets our contributing guidelines — all required fields are filled in with real content. We appreciate you taking the time to provide the reproduction steps and system info.
github-actions commentedon Jul 5, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.