Skip to content

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

Closed as not planned

Description

@wenzihong99-alt

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

Activity

  1. github-actions commented on Apr 7, 2026

    @github-actions
    Contributor

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

  2. added a commit that references this issue on Apr 7, 2026
    fcb4711
  3. removed
    bugSomething isn't working
    webRelates to opencode on web / desktop
    on May 3, 2026
  4. github-actions commented on Jul 6, 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