Skip to content

Desktop crashes when opening project after attach to remote server #6835

@HoYiShui

Description

@HoYiShui

Description

When using OpenCode Desktop (beta) to attach to a remote opencode serve instance over a private network (Tailscale), the Desktop app crashes with an UnknownError: No such file or directory after clicking/selecting the project directory in the UI.

The remote server is running correctly, and the project directory does exist on the remote server.
The same remote server works reliably when accessed via OpenCode CLI, both locally on the server and from a local machine using opencode attach.

This strongly suggests the issue is specific to OpenCode Desktop (beta), rather than the server, network, or project setup.

Plugins

No response

OpenCode version

No response

Steps to reproduce

  1. On a remote Linux server (EC2, Ubuntu), start opencode server from a valid project directory:

    cd
    opencode serve --hostname --port

  2. On local machine, open OpenCode Desktop (beta).

  3. Attach to the remote server using:
    http://:

  4. In the Desktop UI, click/select the project directory shown in the interface.

  5. The app immediately throws an error and becomes unstable.

Screenshot and/or share link

Image Image Image

Operating System

No response

Terminal

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates to opencode on web / desktop

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions