GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Plugin installation fails: "fetch() proxy.url must be a non-empty string" even with proxy disabled · Issue #21327 · anomalyco/opencode

Plugin installation fails: "fetch() proxy.url must be a non-empty string" even with proxy disabled #21327

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
Plugin installation fails: "fetch() proxy.url must be a non-empty string" even with proxy disabled#21327
Copy link
Assignees
nexxeln

Description

@wenzihong99-alt
wenzihong99-alt
opened on Apr 7, 2026
Issue body actions

Description

Description

OpenCode Desktop fails to install plugins with the error:
fetch() proxy.url must be a non-empty string

This happens even when:

  • Windows system proxy is disabled (ProxyEnable = 0)
  • VPN software is turned off
  • WinHTTP proxy shows "Direct access (no proxy server)"

Environment

  • OS: Windows 10/11
  • OpenCode Desktop version: 1.3.17
  • Proxy: Disabled

Log excerpt

ERROR service=plugin pkg=oh-my-opencode version=latest error=request to https://registry.npmjs.org/oh-my-opencode failed, reason: fetch() proxy.url must be a non-empty string failed to install plugin

Plugins

No response

OpenCode version

No response

Steps to reproduce

Steps to reproduce

  1. Install OpenCode Desktop on Windows
  2. Configure plugins in opencode.json
  3. Disable all proxy settings in Windows
  4. Restart OpenCode Desktop
  5. Check logs - plugins fail to load

Expected behavior

Plugins should install successfully when proxy is disabled.

Actual behavior

All plugins fail with proxy.url error regardless of proxy configuration.

Workaround

Using OpenCode CLI works fine.

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Reacted by johnsonsleo and Rammiah

Activity

  1. wenzihong99-alt
    added
    bugSomething isn't working
    on Apr 7, 2026
  2. github-actions
    assigned
    nexxeln
    on Apr 7, 2026
  3. github-actions
    added
    webRelates to opencode on web / desktop
    windows
    on Apr 7, 2026
  4. github-actions commented on Apr 7, 2026

    @github-actions
    github-actionsBot
    on Apr 7, 2026 – with GitHub Actions
    Contributor
    More actions

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

    • Plugin install via npm fails behind proxy with 'fetch() proxy.url must be a non-empty string' #21098: Same error message (fetch() proxy.url must be a non-empty string) during plugin installation via npm — the root cause appears to be the same proxy handling bug in OpenCode's plugin install path, even though your issue occurs with proxy disabled (Windows) vs. proxy env vars set (Linux/WSL).
  5. yu-zou
    added a commit that references this issue on Apr 7, 2026

    fix(npm): sanitize empty proxy env vars to prevent Bun fetch errors

    This issue will close once commit fcb4711 is merged into the 'dev' branch.
    fcb4711
  6. thdxr
    removed
    bugSomething isn't working
    windows
    webRelates to opencode on web / desktop
    on May 3, 2026
  7. github-actions commented on Jul 6, 2026

    @github-actions
    github-actionsBot
    on Jul 6, 2026 – with GitHub Actions
    Contributor
    More actions

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

  8. github-actions
    closed this as not plannedon Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @nexxeln
    nexxeln

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

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.