-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
A huge of fail request indexing-status when upload knowledge file #3207
Comments
Xin chào @trongnichietsu! Rất vui được gặp lại bạn trên đây. Hy vọng mọi thứ đều ổn với bạn! Based on the information you've provided and the context from similar issues, it seems like the problem might be related to the handling of parallel requests and the management of long-running operations in the Dify platform. Here are some suggestions on how to potentially resolve this issue:
These suggestions are based on common issues related to file uploads, SSE, and fetch API usage in web applications. Implementing more robust error handling, ensuring proper use of headers, and reviewing server-side processing are key steps in resolving the issue. You can refer to the web/service/base.ts file for more details. Regarding your question about the 'indexing-status' endpoint, it is designed to provide the indexing status of documents, either individually or in batches. It handles multiple parallel requests by relying on the Flask framework and its underlying Werkzeug server, which can handle multiple requests concurrently. Each request is processed in isolation, ensuring that the retrieval and calculation of document statuses do not interfere with one another. You can find more details in the api/controllers/console/datasets/datasets_document.py file. Please try these suggestions and let me know if they help resolve the issue or if you need further assistance. Sources
|
Are you using the econmy index type ? @trongnichietsu |
I used High Quality index type to use re-rank model. |
I have the same problem when I upgrade Dify from 0.5.11 to 0.6.0-fix1 |
I don't know why they can release new version 0.6,1 without checking this, I have tested again on the cloud today, but still has this issue. |
Could you please provide more details, such as provide your files and embedding models? @trongnichi |
My files are all excel files from 300 - 700 kb, I use the default embedding models from OpenAI which is text-embedded-3-small. |
Fixed: #3411 |
Self Checks
Dify version
0.6.0-fix1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Go to Knowledge -> Upload file
✔️ Expected Behavior
The knowledge file can be uploaded with success message.
❌ Actual Behavior
The text was updated successfully, but these errors were encountered: