LangBot icon indicating copy to clipboard operation
LangBot copied to clipboard

[Bug]: langbot 部署在内网,需要使用代理服务器,且公司使用了中间人私有证书

Open truezxd opened this issue 8 months ago • 1 comments

运行环境

docker

异常情况

[Lark] [2025-04-22 16:54:42,605] [ERROR] connect failed, err: HTTPSConnectionPool(host='open.feishu.cn', port=443): Max retries exceeded with url: /callback/ws/endpoint (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1007)')))

我已经在docker 容器内安装了私有证书且信任,但仍然报错!

复现步骤

使用 docker exec -it langbot /bin/bash 进入容器,安装了私有证书且信任后,docker commit 创建了新的镜像,再次启动进入,安装 curl ,且执行 curl --cacert /usr/local/share/ca-certificates/xxx_pem.crt https://open.feishu.cn/callback/ws/endpoint 404 page not foundroot@6ad624291c3b 说明私有证书有效,但 logs 中始终报错 certificate verify failed: self-signed certificate in certificate chain

启用的插件

No response

truezxd avatar Apr 22 '25 09:04 truezxd

参考一下这个?https://github.com/langgenius/dify/issues/6575

RockChinQ avatar Apr 23 '25 06:04 RockChinQ