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

Closed
opened 2026-02-16 17:39:47 -05:00 by yindo · 2 comments
Owner

Originally created by @mmirus on GitHub (Dec 6, 2025).

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

Originally created by @mmirus on GitHub (Dec 6, 2025). ### Description When opening the share link from OpenCode in my browser, I get a 404 response with the following content: ```json { "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 <img width="747" height="248" alt="Image" src="https://github.com/user-attachments/assets/c5df289e-c101-420f-95c4-83a1ef0b47b3" /> ### Operating System NixOS unstable ### Terminal Ghostty
yindo added the opentuibugnix labels 2026-02-16 17:39:47 -05:00
yindo closed this issue 2026-02-16 17:39:47 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 6, 2025):

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] commented on GitHub (Dec 6, 2025): 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.
Author
Owner

@mmirus commented on GitHub (Dec 11, 2025):

This seems to be working again in 1.0.146.

@mmirus commented on GitHub (Dec 11, 2025): This seems to be working again in 1.0.146.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3366