[Bug]: 环境存在 socks5 代理(ALL_PROXY)时 ov 命令报 unsupported scheme socks5,且配置向导隐藏真实错误
I maintainer di solito rispondono entro 1 giorno
@fancyboi999 ci sta già lavorando.
Dal 17/11/2026.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 58/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Ambito
- cli, networking
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Python
- Stelle
- 42.3k
- Fork
- 3.5k
- Merge medio
- 16h 23m
- PR unite (30g)
- 555
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di volcengine/OpenViking
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
volcengine/OpenViking#7732 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
volcengine/OpenViking#7622 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
volcengine/OpenViking#7620 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: auto-recall with peer_scope=actor adds the same memories twiceForse già presa @wcy12378 l’ha presa 1 giorno fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
volcengine/OpenViking#7485 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
volcengine/OpenViking#7210 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di volcengine/OpenViking
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
Deltares/numba_celltree#100 · 1 commento ·
-
auto-reported bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
I maintainer di solito rispondono entro 1 giorno
-
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 errorForse già presa @Keshemir l’ha presa oggi. Apertabug claimed difficulty:2
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
MakazhanAlpamys/Soup#3045 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
dagster-io/skills#80 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno