Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

git commit -m "fix: clarify MinIO endpoint format error message

ChenRusselld89e5db0f677
diff --git a/internal/handler/system.go b/internal/handler/system.go
index fdd0f666f..affc8f601 100644
--- a/internal/handler/system.go
+++ b/internal/handler/system.go
@@ -613,6 +613,8 @@ var cosFieldPattern = regexp.MustCompile(`^[a-zA-Z0-9][a-zA-Z0-9._-]{0,62}$`)
func sanitizeStorageCheckError(err error) string {
msg := err.Error()
switch {
+ case strings.Contains(msg, "Endpoint url cannot have fully qualified paths"):
+ return "Endpoint 地址格式错误:请去除 http:// 或 https:// 前缀,只填写域名或 IP 地址和端口(例如:minio.example.com:9000)"
case strings.Contains(msg, "no such host"):
return "DNS 解析失败,请检查地址是否正确"
case strings.Contains(msg, "connection refused"):