Skip to main content
Version: Current

Common Errors

现象 → 可能原因 → 处理 排列。

网站打不开 / 502 Bad Gateway

可能原因处理
Open WebUI 容器未运行docker pscd /root/openwebui && docker compose up -d
端口不是 3002docker port openwebui;修正 Nginx proxy_pass
Nginx 配置错误sudo nginx -t

能打开页面,但所有模型报错

可能原因处理
LiteLLM 未运行docker ps | grep litellmbash /root/litellm/operation.sh
Open WebUI Connections 未配或 Key 错误核对 Base URL、LITELLM_MASTER_KEY
厂商 Key 失效/欠费docker logs litellm;用 curl 单独测 /v1/chat/completions;欠费则用 bucssatech@gmail.com 登录厂商充值,见 API 充值

流式输出卡顿、整段跳出

可能原因处理
Nginx 缓冲开启确认 proxy_buffering off
超时过短增大 proxy_read_timeout
模型侧限流换模型或稍后重试

LiteLLM 启动后立刻退出

可能原因处理
config.yaml 语法错误docker logs litellm;本地 YAML 校验
缺少 env确认 api_keys.env 存在且挂载
端口占用ss -lntp | grep 4001

改 config 不生效

可能原因处理
只 restart 未 recreate运行 bash /root/litellm/operation.sh
Open WebUI 缓存模型列表管理后台刷新 Models

备份失败邮件

可能原因处理
rclone 认证过期rclone ls remote:bucket
磁盘满df -h;检查 retention_local
Docker 卷名变更核对 OPENWEBUI_VOLUME

曾出现的 Neon 常驻连接

若 LiteLLM 配置了 database_url / DATABASE_URL,会连接云 Postgres。当前架构 应删除 这两项,仅保留 master_key。详见 Introduction