-
-
Notifications
You must be signed in to change notification settings - Fork 2k
[Bug]强制启用https无需配置证书导致报错关闭 #7058
Copy link
Copy link
Closed
Labels
area:webuiThe bug / feature is about webui(dashboard) of astrbot.The bug / feature is about webui(dashboard) of astrbot.bugSomething isn't workingSomething isn't working
Metadata
Metadata
Assignees
Labels
area:webuiThe bug / feature is about webui(dashboard) of astrbot.The bug / feature is about webui(dashboard) of astrbot.bugSomething isn't workingSomething isn't working
What happened / 发生了什么
系统配置启用https后,若未配置证书则容器会在启动后立即报错关闭,无法进入webui
Reproduce / 如何复现?
系统配置启用https且未配置证书
AstrBot version, deployment method (e.g., Windows Docker Desktop deployment), provider used, and messaging platform used. / AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器
docker部署
OS
Linux
Logs / 报错日志
raise ValueError(
ValueError: dashboard.ssl.enable 为 true 时,必须配置 cert_file 和 key_file。
sys:1: RuntimeWarning: coroutine 'AstrBotCoreLifecycle.start' was never awaited
Are you willing to submit a PR? / 你愿意提交 PR 吗?
Code of Conduct