opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Sharing does not work - "Cannot find any route matching [GET] https://dev.opencode.ai/s/<share id>"

Open mmirus opened this issue 1 month ago • 1 comments

Description

When opening the share link from OpenCode in my browser, I get a 404 response with the following content:

{
 "status": 404,
 "message": "Cannot find any route matching [GET] https://dev.opencode.ai/s/<share ID redacted>"
}

This could be due to a nix packaging issue, e.g., perhaps it results in a dev build. I'm on NixOS unstable, and verified this with the version from nixpkgs (1.0.133) and with the version built from the flake in this repo (currently 1.0.134).

OpenCode version

1.0.134

Steps to reproduce

  1. Start opencode
  2. Have the agent do some work
  3. /share
  4. Open copied link in browser

Screenshot and/or share link

Image

Operating System

NixOS unstable

Terminal

Ghostty

mmirus avatar Dec 07 '25 00:12 mmirus

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

  • #192: Sharing link not working - Also reports broken share links with 404 errors
  • #326: interactive /share - Related share functionality discussions

The issue appears to be related to share links being directed to dev.opencode.ai instead of the production domain. Feel free to ignore if your specific case differs from these issues.

github-actions[bot] avatar Dec 07 '25 00:12 github-actions[bot]

This seems to be working again in 1.0.146.

mmirus avatar Dec 11 '25 21:12 mmirus