Closed whistle003 closed 2 months ago
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
📦 Deployment environment
Docker
1.15.13
Windows
Chrome
When uploading files other than images, the error message appears as shown in the figure. The model is gpt-4o-mini+DALL `E3
No response
No response
No response
👀 @whistle003
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
I found a similar unsolved discussion that might be relevant to your issue: 数据库服务端部署时对接阿里云oss服务上传文件出错,求解决!!! [1].
To resolve the "Invalid key length" error when uploading files (other than images) using Docker Compose on Windows with Chrome, you need to switch to a server-side deployment or use the LobeChat Cloud service. The current deployment mode does not support uploading non-image files.
{
"upload": {
"fileOnlySupportInServerMode": "當前部署模式不支持上傳非圖片文件,如需上傳 {{ext}} 格式,請切換到伺服器端資料庫部署或使用 LobeChat Cloud 服務"
}
}
To continue talking to Dosu, mention @dosu.
因为你的 KeyVault 不对吧,建议检查下
✅ @whistle003
This issue is closed, If you have any questions, you can comment and reply.\ 此问题已经关闭。如果您有任何问题,可以留言并回复。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Because your KeyVault is wrong, I suggest you check it.
因为你的 KeyVault 不对吧,建议检查下
大佬,这个在哪儿检查?
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Because your KeyVault is wrong, I suggest you check it.
Sir, where can I check this?
因为你的 KeyVault 不对吧,建议检查下
我是用base32随机生成的32位数
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Because your KeyVault is wrong, I suggest you check it.
I randomly generated 32 digits using base32
因为你的 KeyVault 不对吧,建议检查下
已经解决了,确实是KeyVault的问题,感谢大佬
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Because your KeyVault is wrong, I suggest you check it.
It has been solved. It is indeed a problem with KeyVault. Thank you.
请教一下
遇到过上传卡住的情况么? 我f12 查看 报错的是这个 ,但是我的minio 是按照 配置操作的。 唯一怀疑的就是 我的代理地址 不知道有没有填对。 docker配置文件 'MINIO_DOMAIN=lobe-s3-api.example.xyz'
[ { "error": { "json": { "message": "S3 environment variables are not set completely, please check your env", "code": -32603, "data": { "code": "INTERNAL_SERVER_ERROR", "httpStatus": 500, "path": "upload.createS3PreSignedUrl" } } } } ]
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Ask for advice
Have you ever encountered an upload stuck? When I checked with f12, this is the error reported, but my minio operates according to the configuration. The only thing I doubt is whether my proxy address is correct. docker configuration file 'MINIO_DOMAIN=lobe-s3-api.example.xyz'
[ { "error": { "json": { "message": "S3 environment variables are not set completely, please check your env", "code": -32603, "data": { "code": "INTERNAL_SERVER_ERROR", "httpStatus": 500, "path": "upload.createS3PreSignedUrl" } } } } ]
📦 部署环境
Docker
📌 软件版本
1.15.13
💻 系统环境
Windows
🌐 浏览器
Chrome
🐛 问题描述
上传除了图片以外的文件都提示失败,报错如图。模型是gpt-4o-mini+DALL `E3 我直接在文件管理界面是可以上传文件的,对话框上传就提示如上图
📷 复现步骤
No response
🚦 期望结果
No response
📝 补充信息
No response