增加vpn后无法启动 #3489

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

Originally created by @chaojiget on GitHub (Dec 11, 2025).

Description

排查是opencode 和git 联动的问题

OpenCode version

1.0.150

Steps to reproduce

只保留 HTTPS(大/小写都留无所谓)

                                  export HTTPS_PROXY=http://20.60.5.195:10811
                                  export https_proxy=http://20.60.5.195:10811

                                  # 再试
                                  opencode

^[[I^[[I^[[I[object Object]

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @chaojiget on GitHub (Dec 11, 2025). ### Description 排查是opencode 和git 联动的问题 ### OpenCode version 1.0.150 ### Steps to reproduce # 只保留 HTTPS(大/小写都留无所谓) export HTTPS_PROXY=http://20.60.5.195:10811 export https_proxy=http://20.60.5.195:10811 # 再试 opencode ^[[I^[[I^[[I[object Object] ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the opentuibug labels 2026-02-16 17:40:19 -05:00
yindo closed this issue 2026-02-16 17:40:19 -05:00
Author
Owner

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

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

  • #4823: v1.0.119: nothing to see in an environment with a proxy - Similar black screen issue in v1.0.x with proxy environments
  • #4284: socket connection error with ProxyChains from v1.0.0 - ProxyChains connection failures since v1.0.0
  • #531: Support HTTP_PROXY & HTTPS_PROXY for users behind firewalls/proxies - General proxy support request
  • #4959: Add option to disable models.dev fetch for corporate proxy environments - Discusses models.dev network call issues in proxy environments

All of these are related to proxy/VPN configuration issues introduced in v1.0.x. Feel free to ignore if your specific case differs, but these may provide helpful context or workarounds.

@github-actions[bot] commented on GitHub (Dec 11, 2025): This issue might be a duplicate of existing issues. Please check: - #4823: v1.0.119: nothing to see in an environment with a proxy - Similar black screen issue in v1.0.x with proxy environments - #4284: socket connection error with ProxyChains from v1.0.0 - ProxyChains connection failures since v1.0.0 - #531: Support HTTP_PROXY & HTTPS_PROXY for users behind firewalls/proxies - General proxy support request - #4959: Add option to disable models.dev fetch for corporate proxy environments - Discusses models.dev network call issues in proxy environments All of these are related to proxy/VPN configuration issues introduced in v1.0.x. Feel free to ignore if your specific case differs, but these may provide helpful context or workarounds.
Author
Owner

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

NO_PROXY=localhost,127.0.0.1 增加这个就可以了 https://github.com/sst/opencode/issues/531#issuecomment-3625346459

@chaojiget commented on GitHub (Dec 11, 2025): NO_PROXY=localhost,127.0.0.1 增加这个就可以了 https://github.com/sst/opencode/issues/531#issuecomment-3625346459
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3489