Knowledge base stays in queuing mode, nothing happens, edition 18-10-2024....
Self Checks
- [X] This is only for bug report, if you would like to ask a question, please head to Discussions.
- [X] I have searched for existing issues search for existing issues, including closed ones.
- [X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
- [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
- [X] Please do not modify this template :) and fill in all the required fields.
Dify version
0.8.3
Cloud or Self Hosted
Cloud
Steps to reproduce
Create New knowledge base and upload file (or files). File upload will segment and index will stay in Queue. also adding new files to existing knowledge base fails.... again
✔️ Expected Behavior
creating a working knowledge base, It should complete segmentation and indexing
❌ Actual Behavior
knowledgebase file segment and index stays in Queue. Dont't get completed, even with 'top-priority'. same as yesterday...... it worked for a couple of hours....
I found similar issues related to the knowledge base staying in queuing mode in Dify version 0.8.3. The problem often occurs when the rate limit for the Embedding model API key is reached [1].
Here are some steps you can take to resolve this:
-
Check Rate Limits: Ensure that the rate limit for your Embedding model API key has not been exceeded. You might need to monitor and manage your API usage more effectively [2].
-
Verify Celery Worker: Make sure the Celery worker is running correctly, as it is required for processing tasks. The
MODEenvironment variable should be set toworker[3]. -
Review Logs: Check for any specific error messages or logs that might indicate the cause of the issue. This can provide more insight into what might be going wrong.
These steps should help address the queuing issue. If the problem persists, further investigation into the logs and configuration might be necessary.
To continue talking to Dosu, mention @dosu.
Fixed again, sorry for the inconvienece, we have some issue with our redis cluster in our server.