Skip to content

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

@wenzihong99-alt

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions