[Bug]: 环境存在 socks5 代理(ALL_PROXY)时 ov 命令报 unsupported scheme socks5,且配置向导隐藏真实错误
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 58/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 領域
- cli, networking
調査の方向性
Start by tracing how the Rust CLI builds its HTTP client and reads ALL_PROXY and NO_PROXY, then follow the ov config add validation path that turns connection failures into user-facing errors. Reproduce with ALL_PROXY=socks5://127.0.0.1:10808 against a reachable server. Done when supported proxy handling or the documented fallback works and the config flow exposes the actionable error.
索引モデルが issue の本文から書いたものです。
説明
Issue Origin
Observed or reproduced in a real environment
Bug Description
而同一台机器上浏览器、curl访问同一个服务端均正常,但使用 ov config 添加配置时报错 「无法连接服务器。请检查 URL 和网络连接。」
Steps to Reproduce
-
准备 socks5 代理环境:
export ALL_PROXY=socks5://127.0.0.1:10808 -
服务端可直连,自部署地址为
http://private-server:1933,用 curl 验证正常:curl -s http://private-server:1933/health # {"status":"ok","healthy":true,"version":"v0.5.5","auth_mode":"api_key"} -
用 CLI 写入配置:
printf '%s' "$KEY" | ov config add custom --name home \ --url http://private-server:1933 --api-key-stdin --activate -
执行健康检查:
ov health
Expected Behavior
- 正常通过 socks5 代理访问服务端;
- 遇到不支持的代理 scheme 时,忽略该代理(回退直连)并给出警告,而不是让所有请求失败;
- 至少把真实错误(
unsupported scheme socks5)透出到ov config/ 向导界面上,并提示检查ALL_PROXY/NO_PROXY。
Actual Behavior
ov health(含详情):
OPENVIKING 健康检查
╭─ 连接错误 ───────────────────────────────────────────────────────────╮
│ 无法连接 OpenViking。请先查看详情,再确认服务器是否运行、URL │
│ 是否正确。 详情:HTTP request failed: error sending request for url │
│ (http://private-server:1933/health): client error (Connect): │
│ unsupported scheme socks5 │
╰──────────────────────────────────────────────────────────────────────╯
ov config add custom / 配置向导(向导界面上只剩一句通用文案):
Error [validation_failed] Could not reach the custom server. HTTP request failed:
error sending request for url (http://private-server:1933/health):
client error (Connect): unsupported scheme socks5
Minimal Reproducible Example
Error Logs
OpenViking Version
0.5.5
Python Version
Rust CLI
Operating System
macOS
Model Backend
OpenAI
Additional Context
No response
- 主要言語
- Python
- スター
- 42.3k
- フォーク
- 3.5k
- 平均マージ
- 16時間 23分
- マージ済み PR(30日)
- 555
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
volcengine/OpenViking のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
volcengine/OpenViking#7732 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
volcengine/OpenViking#7622 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
volcengine/OpenViking#7620 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: auto-recall with peer_scope=actor adds the same memories twice対応中かも @wcy12378 が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
volcengine/OpenViking#7485 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
volcengine/OpenViking#7210 ·
メンテナーはふだん 1 日以内に返信
volcengine/OpenViking の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
Deltares/numba_celltree#100 · コメント 1 件 ·
-
auto-reported bug
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
メンテナーはふだん 1 日以内に返信
-
soup airgap-bundle --bundle-size-cap nan, inf or a cap above ~1.67e299 GiB stops with an internal ValueError/OverflowError (exit 1) instead of a usage error対応中かも @Keshemir が今日担当しました。 オープンbug claimed difficulty:2
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
MakazhanAlpamys/Soup#3045 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
dagster-io/skills#80 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信