langflow flow error:”Job not found: Job queue not found for job_id:“
All flows configured in langflow report this error when buildding
Error:Job not found: Job queue not found for job_id:
I don't know if this configuration has any effect. env: LANGFLOW_NUM_WORKERS=2
langflow version:1.3.2
你好,@lianlian1212!我是一个可以帮助你解决错误、回答问题并成为贡献者的机器人。在人类维护者到达之前,我会在这里支持你。期待一起解决问题!🤖
A similar open issue was found regarding the error "No queue found for job_id" [1]. The suggested solution is to ensure that the job_id is correctly initialized and added to the _queues dictionary within the service.py file before trying to access its data. Additionally, verify that the queue service is not closed, as accessing a closed queue service will also result in an error. The cleanup process might have removed the job entry if the associated tasks were completed or cancelled.
Regarding the LANGFLOW_NUM_WORKERS environment variable, I couldn't find specific information on its role in Langflow's job processing, but it might be related to the number of workers handling job queues. You might want to experiment with different values to see if it affects the issue.
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other
@lianlian1212 Please reduce the number of workers to 1 — that should resolve the issue. It's actually a bug, but using a single worker is a temporary workaround for now.
https://github.com/langflow-ai/langflow/pull/7435
i have num_worker =1 , still i am facing the same issue "Job queue not found for job_id". please suggest some solution to it..
I have only one worker, but the same error occurs when I increase the number of replicas.
Job not found: d7da393d-3895-491d-867c-xxxxx
Error: Job queue not found for job_id: d7da393d-3895-491d-867c-xxxxx
@restato This environment variable can be added. LANGFLOW_EVENT_DELIVERY=direct
@lianlian1212 This issue was fixed in version 1.4. In the latest release, you can now use as many workers as you need.