[BUG] FebBox驱动无法正常使用
请确认以下事项
-
[x] 我已确认阅读并同意 AGPL-3.0 第15条 。 本程序不提供任何明示或暗示的担保,使用风险由您自行承担。
-
[x] 我已确认阅读并同意 AGPL-3.0 第16条 。 无论何种情况,版权持有人或其他分发者均不对使用本程序所造成的任何损失承担责任。
-
[x] 我确认我的描述清晰,语法礼貌,能帮助开发者快速定位问题,并符合社区规则。
-
[x] 我已确认阅读了OpenList文档。
-
[x] 我已确认没有重复的问题或讨论。
-
[x] 我已确认是
OpenList的问题,而不是其他原因(例如 网络 ,依赖或操作)。 -
[x] 我认为此问题必须由
OpenList处理,而非第三方。 -
[x] 我已确认这个问题在最新版本中没有被修复。
OpenList 版本(必填)
v4.1.7
使用的存储驱动(必填)
FebBox
问题描述(必填)
添加FebBox时遇到问题
日志(必填)
管理后台报错提示
Failed init storage: Post "https://api.febbox.com/oauth/token": tls: failed to verify certificate: x509: certificate signed by unknown authority
前台报错提示
failed get objs: failed to list objs: Post "https://api.febbox.com/oauth/token": context canceled
配置文件内容(必填)
注:本API密钥已吊销
复现链接(可选)
https://oplist.hanze.icu/FebBox
部署在NorthFlank,开了CF小黄云
感谢您联系OpenList。我们会尽快回复您。 Thanks for contacting OpenList. We will reply to you as soon as possible.
无法复现此问题,请确认ca-certificates包状态。
我在爪云环境部署 openlist 时也遇到了类似的问题,报错信息如下: Failed init storage: Post "https://api.febbox.com/oauth/token": tls: failed to verify certificate: x509: certificate signed by unknown authority 使用latest-lite-aio镜像 v4.1.7 (Commit: ee2c77a) - Frontend: v4.1.7 - Build at: 2025-11-10 11:47:11 +0000 排查过程:
- 容器基于 Alpine,默认
ca-certificates缺少 SSL.com TLS Transit ECC CA R2 中间证书。 - 我手动下载并导入该证书到
/usr/local/share/ca-certificates/,运行update-ca-certificates后,curl测试已经可以正常验证 TLS。 - 但是 openlist 程序内部依然报错,说明它没有使用系统的 CA 库,或者依赖的 Go/HTTP 客户端没有正确加载更新后的证书。
推测:
- openlist 的构建镜像里可能缺少
ca-certificates包,或者 Go 程序打包时使用了独立的证书链。
以上为AI整理 本人没啥能力debug,只是按照ai回答做,仅供参考,如果有问题以实际为准
问题解决 最后我切换使用alist,爪云默认旧版本v3.41.0,正常运行 然后我切换使用alist 最新版本xhofe/alist:v3.55.0-ffmpeg,出现一样报错:Failed load storage: failed init storage: Post "https://api.febbox.com/oauth/token": tls: failed to verify certificate: x509: certificate signed by unknown authority