Skip to content

Remote server responses not updating in desktop app when multiple servers are configured #17654

Closed as not planned

Description

@oguzhanacer

Description

Hi,

I’m experiencing an issue with the OpenCode desktop app when multiple remote servers are configured.

I currently have two remote OpenCode servers added in the desktop app:
• Server 1: AlmaLinux (default server)
• Server 2: Ubuntu

The first server (AlmaLinux) works normally.

However, when I switch to the second server (Ubuntu) and send a prompt, the following happens:
• The prompt is accepted by the UI
• The server processes the request (verified)
• But no response appears in the UI

If I switch to another server and then switch back to the Ubuntu server, the response suddenly appears.

So it seems the response is actually generated but the desktop UI does not update in real-time.

I will attach a video recording showing the issue.

Additional issue on Windows

I also tested the desktop app on Windows, and I’m seeing another related problem:
• I send a prompt
• The notification sound plays, indicating a response was received
• But no response is displayed in the UI at all

So the response seems to arrive, but the UI never renders it.

Environment

OpenCode version:
1.2.26

Servers:
Server 1: AlmaLinux
Server 2: Ubuntu

Both servers are running:
opencode serve --hostname 0.0.0.0 --port 4096
Both are running as systemd services.

Example service config:

[Service]
User=root
WorkingDirectory=/root
ExecStart=/root/.opencode/bin/opencode serve --hostname 0.0.0.0 --port 4096
Restart=always

Authentication is enabled with:

OPENCODE_SERVER_USERNAME
OPENCODE_SERVER_PASSWORD

Observations
• The server does process the prompt
• The response exists and appears after switching servers
• The issue seems to be related to desktop app state / streaming / session refresh

The problem does not occur in the web interface.

Attachments

I will attach:
• Video showing the Linux issue

https://streamable.com/4aej4i

Plugins

No response

OpenCode version

1.2.26

Steps to reproduce

  1. Add two remote servers in OpenCode desktop app
  2. Make Server A the default
  3. Switch to Server B
  4. Send a prompt
  5. Observe that no response appears
  6. Switch to another server and switch back
  7. The response appears

Screenshot and/or share link

https://streamable.com/4aej4i

Operating System

Mac OS 26.3.1, Ubuntu 24.04 LTS, Almalinux 9.4

Terminal

No response

Activity

  1. hajekt2 commented on Mar 17, 2026

    @hajekt2

    I experience the same issue on Windows 11, having just Local Server and just adding one remote server triggers the issue.

  2. krodak commented on Mar 17, 2026

    @krodak

    Same issue for me, both on macOS

  3. hajekt2 commented on Mar 17, 2026

    @hajekt2

    I have a fix for this and I’m opening a PR.

  4. removed
    bugSomething isn't working
    webRelates to opencode on web / desktop
    on May 3, 2026
  5. github-actions commented on Jul 7, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions