Problem entry · machine-readable · 技能管理

/plugin install 报 fatal: Failed to connect to github.com port 443

本页嵌入 #trove-entity JSON(本条目全量结构化数据);全库数据见 /agent/trove.json。

元数据

idsuperpowers-1收录2026-08-29
问题域技能管理主题分组网络与镜像
适用工具superpowers

症状

Claude Code 中执行 `/plugin install superpowers@claude-plugins-official` 或 `@superpowers-marketplace` 报:

```

fatal: unable to access 'https://github.com/obra/superpowers.git/': Failed to connect to github.com port 443 after 2045 ms

```

应用内配了全局代理也不通(未开 TUN 时 git 子进程不走代理)。

原因

上游 Claude Code 插件市场的安装路径 = git clone GitHub 仓库(市场网站不提供 zip 下载);国内网络直连 github.com:443 不稳定/被阻断;应用级代理不覆盖 git 子进程(除非 TUN/透明代理或给 git 显式配代理)。

解法

1. 先探路再选路:`curl -sI https://codeload.github.com/obra/superpowers/tar.gz/refs/tags/v6.3.0`——codeload 可达就走 tarball 直装(命令见「本市场实测」一节,本环境 1.7~1.9s)。

2. 给 git 显式配代理后重试:`git config --global http.proxy http://127.0.0.1:<端口>`;或开 TUN/透明代理。

3. 走加速:gh-proxy 类加速(2026-08-28 实测可用,7.8s),或用国内镜像站下载 zip 后离线安装(见症状 2)。

4. 离线兜底:按「症状 6」的本地路径方式接入。

验证证据

- 网页案例:[CSDN m0_58528895/161265224](https://blog.csdn.net/m0_58528895/article/details/161265224)(2026-05)——443 案例全文:`@claude-plugins-official` / `@superpowers-marketplace` 均失败,全局代理不通、未试 TUN。

- 本市场实测 2026-08-28:GitHub 源码下载 200 / 1.91s(站内文档;2026-08-27 基线 1.73s);raw.githubusercontent.com 超时(非安装路径,避免使用)。

- 本市场实测安装:codeload tarball 544K / 2.1s → PASS(实测记录(本地留存))。

来源与证据

素材来源:本站实测沉淀(2026-08-28)

验证证据:site docs#1;local repro log