-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] database版知识库不能正常分块 #3623
Comments
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
@chung1912 你好!我是Dosu,一个能够帮助你解决bug、回答问题并成为贡献者的机器人。我会在等待人类维护者的时候帮助你。 I found a similar closed issue: [Bug] 上传文件分块失败. The issue was resolved by adding a layer of internal authentication during deployment, which caused the server's RPC call to fail. The specific solution involved configuring the For your specific issue with the "[TaskTimeout]: chunking task is timeout, please try again" error when uploading a PDF file, you need to increase the In the provided code, the const timeoutPromise = new Promise((_, reject) => {
setTimeout(() => {
reject({
body: { detail: 'chunking task is timeout, please try again' },
name: AsyncTaskErrorType.Timeout,
} as AsyncTaskError);
}, ASYNC_TASK_TIMEOUT);
}); To increase the timeout, locate the Here is an example of how you might change the timeout value: const ASYNC_TASK_TIMEOUT = 60000; // Increase timeout to 60 seconds Make sure to update this value in the appropriate configuration file or environment variable where |
@chung1912 能否看下你的服务端日志,超时的问题可能有两种:
|
@chung1912 Can you take a look at your server log? There may be two types of timeout issues:
|
s3是minio部署的,可以正常上传、下载、删除图片和文件 |
This issue is closed, If you have any questions, you can comment and reply. |
📦 部署环境
Docker
📌 软件版本
v1.12.20(Database版)
💻 系统环境
Other Linux
🌐 浏览器
Chrome
🐛 问题描述
database版知识库不能正常分块,上传的是pdf文件,提示超时
📷 复现步骤
No response
🚦 期望结果
No response
📝 补充信息
No response
The text was updated successfully, but these errors were encountered: