Skip to content

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

Closed as not planned

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

Activity

  1. github-actions commented on Jan 4, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  2. HoYiShui commented on Jan 5, 2026

    @HoYiShui
    Author

    The three related issues suggested by the action bot are all related to the TUI client.

    In my case, the issue is triggered exclusively in the OpenCode Desktop app.
    I confirmed that the same remote server and project directory work correctly when accessed via the OpenCode CLI.

    This makes me believe the issue is Desktop-specific rather than a duplicate of the existing TUI-related issues.

  3. remixer-dec commented on Feb 17, 2026

    @remixer-dec

    And there is no way to select a remote directory in the desktop app, it always suggests to open local resources
    The only available workspace is /

  4. KyleGobel commented on Mar 15, 2026

    @KyleGobel

    Desktop app just fundamentally doesn't work with remote servers at this point? Am I understanding this right -- i have not been able to get it to function anyway.

    If someone has a workaround i'd take that too

  5. removed
    bugSomething isn't working
    webRelates to opencode on web / desktop
    on May 3, 2026
  6. github-actions commented on Jul 3, 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