收起左侧

github因fn自签问题无法正常下载

1
回复
77
查看
[ 复制链接 ]

8

主题

5

回帖

0

牛值

江湖小虾

2025-9-29 21:00:59 显示全部楼层 阅读模式

设备环境:物理机

BUG现象:root@nas:/vol1/1000/配置/astrbot/AstrBot# echo -n | openssl s_client -connect github.com:443 -showcerts | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /usr/local/share/ca-certificates/fnos.crt
depth=0 O = fnOS, CN = fnOS
verify return:1
DONE
root@nas:/vol1/1000/配置/astrbot/AstrBot# uv run main.py
warning: VIRTUAL_ENV=/root/pipx-venv does not match the project environment path .venv and will be ignored; use --active to target the active environment instead
error: Request failed after 3 retries
Caused by: Failed to download https://github.com/astral-sh/python-build-standalone/releases/download/20250918/cpython-3.10.18%2B20250918-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
Caused by: error sending request for url (https://github.com/astral-sh/python-build-standalone/releases/download/20250918/cpython-3.10.18%2B20250918-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz)
Caused by: client error (Connect)
Caused by: invalid peer certificate: UnknownIssuer

尝试访问github会因证书原因访问不上,然后我用openssl看了下,发现是fn自签的,导致github无法正常下载

收藏
送赞
分享

107

主题

1万

回帖

0

牛值

管理员

2025-10-11 17:21:51 显示全部楼层
感谢反馈,我们跟进一下
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则