Opencode web egress URLs #6641

Open
opened 2026-02-16 18:04:50 -05:00 by yindo · 2 comments
Owner

Originally created by @casassg on GitHub (Jan 17, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Description

Trying to use opencode web on a sandbox environment. I have added models.dev egress but the opencode web UI fails when I try to open it saying errors due to certificates (likely bc its trying to download something else not on the allowlist).

What are URLs required for opencode web functionality? I put opencode to it to debug but can't seem to get the addresses (looks like it is unpkg.com ?)

Plugins

nil

OpenCode version

1.1.20

Steps to reproduce

  1. Start opencode web --port 8080 on a sandboxed enviornment (no egress aside from models.dev and provider URLs)
  2. curl localhost:8080

Screenshot and/or share link

No response

Operating System

Linux

Terminal

Web UI

Originally created by @casassg on GitHub (Jan 17, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Description Trying to use opencode web on a sandbox environment. I have added models.dev egress but the opencode web UI fails when I try to open it saying errors due to certificates (likely bc its trying to download something else not on the allowlist). What are URLs required for opencode web functionality? I put opencode to it to debug but can't seem to get the addresses (looks like it is unpkg.com ?) ### Plugins nil ### OpenCode version 1.1.20 ### Steps to reproduce 1. Start `opencode web --port 8080` on a sandboxed enviornment (no egress aside from models.dev and provider URLs) 2. `curl localhost:8080` ### Screenshot and/or share link _No response_ ### Operating System Linux ### Terminal Web UI
yindo added the bugweb labels 2026-02-16 18:04:50 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 17, 2026):

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

  • #8830: Cannot use opencode in private network (mentions models.dev not being reachable in restricted networks)
  • #9066: Failing to authenticate into web UI when username or password is set (web UI authentication issues)
  • #8833: web terminal asset load error (web terminal loading assets from external sources)

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

@github-actions[bot] commented on GitHub (Jan 17, 2026): This issue might be a duplicate of existing issues. Please check: - #8830: Cannot use opencode in private network (mentions models.dev not being reachable in restricted networks) - #9066: Failing to authenticate into web UI when username or password is set (web UI authentication issues) - #8833: web terminal asset load error (web terminal loading assets from external sources) Feel free to ignore if none of these address your specific case.
Author
Owner

@tredondo commented on GitHub (Feb 8, 2026):

I think #459 is the root of the issue.

@tredondo commented on GitHub (Feb 8, 2026): I think #459 is the root of the issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6641