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 client connected to remote server: AI model does not respond, stuck on "thinking" #17976
When connecting the OpenCode desktop client to a remote OpenCode server, sending messages results in the AI model not responding. The UI shows "thinking..." indefinitely, but the server logs show no incoming requests.
Environment
Server: OpenCode running on Linux (fnOS), started via systemd service on port 4097
Desktop Client: OpenCode desktop app on Windows, connected to http://192.168.50.222:4097
Network: Same LAN, desktop client shows green connection indicator
API Providers: Configured both opencode and deepseek providers on the server
Steps to Reproduce
Start OpenCode server on remote machine: opencode web --hostname 0.0.0.0 --port 4097
Open OpenCode desktop client
Connect to remote server: http://<server-ip>:4097
Connection shows as successful (green indicator)
Project directories are visible in the sidebar
Send a message to AI
UI shows "thinking..." indefinitely, no response
Expected Behavior
AI should respond using the server's configured API providers.
Actual Behavior
Desktop client: stuck on "thinking..."
Server logs: no incoming request logged
Server WebUI (browser): works correctly, AI responds normally
Desktop client local mode (no remote connection): works correctly
Workaround
Using the server's WebUI via browser works correctly.
Additional Notes
It appears that when the desktop client connects to a remote server, API requests are not being routed through the server's configuration. The desktop client seems to attempt using local configuration, but since it's connected to a remote server, the requests fail silently.
Plugins
None
OpenCode version
v.1.2.27
Steps to reproduce
Start OpenCode server on remote Linux machine: opencode web --hostname 0.0.0.0 --port 4097
Open OpenCode desktop client on Windows
Connect to remote server: http://<server-ip>:4097
Connection shows as successful (green indicator)
Project directories are visible in the sidebar
Send a message to AI
UI shows "thinking..." indefinitely, no response
Screenshot and/or share link
N/A - Issue is about remote connection, cannot use /share from server when desktop client is stuck
Operating System
Server: Linux (fnOS, Debian-based) ,Desktop Client: Windows
Activity
github-actions commentedon Jul 3, 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.