what happen? #19496

Closed
opened 2026-02-21 20:00:29 -05:00 by yindo · 0 comments
Owner

Originally created by @cheatofrom on GitHub (Oct 16, 2025).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

latest

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

Image

✔️ Expected Behavior


2025-10-17 03:40:12.671 INFO [GraphWorker-0] [vector_factory.py:186] - start embedding 16 texts 1760672412.671639
2025-10-17 03:40:12.672 INFO [GraphWorker-0] [vector_factory.py:192] - Processing batch 1/1015 (16 texts)
2025-10-17 03:40:15.736 INFO [GraphWorker-0] [vector_factory.py:194] - Embedding batch 1/1015 took 3.0646300315856934 s
2025-10-17 03:40:15.866 INFO [GraphWorker-0] [vector_factory.py:198] - Embedding 16 texts took 3.195312976837158 s
2025-10-17 03:40:15.869 ERROR [GraphDispatcher] [error_handler.py:101] - Node 1750400198569 failed with ABORT strategy: Instance <Document at 0x70016480d5e0> is not bound to a Session; attribute refresh operation cannot proceed (Background on this error at: https://sqlalche.me/e/20/bhk3)
2025-10-17 03:40:15.987 INFO [Dummy-10] [rag_pipeline_run_task.py:77] - tenant_id: 3c137f10-427e-4233-95c9-8e45b6ac9fc8 , Rag pipeline run completed. Latency: 9.218830348923802s
2025-10-17 03:40:16.042 INFO [Dummy-10] [trace.py:128] - Task tasks.rag_pipeline.rag_pipeline_run_task.rag_pipeline_run_task[5fe141a5-3d45-4423-bef7-55900f5c48df] succeeded in 9.27448878530413s: None
2025-10-17 03:40:16.072 ERROR [Thread-11 (_generate_worker)] [workflow_entry.py:110] - Unknown Error when workflow entry running
Traceback (most recent call last):
File "/app/api/core/workflow/workflow_entry.py", line 106, in run
yield from generator
File "/app/api/core/workflow/graph_engine/graph_engine.py", line 262, in run
raise self._graph_execution.error
RuntimeError: Instance <Document at 0x70016480d5e0> is not bound to a Session; attribute refresh operation cannot proceed (Background on this error at: https://sqlalche.me/e/20/bhk3)

Actual Behavior

i create a new knowleage pipleline,then put a pdf
the issue happen

Originally created by @cheatofrom on GitHub (Oct 16, 2025). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version latest ### Cloud or Self Hosted Self Hosted (Source) ### Steps to reproduce <img width="1497" height="788" alt="Image" src="https://github.com/user-attachments/assets/33fbf4d1-3e90-4809-80c6-4fde0c67ae9e" /> ### ✔️ Expected Behavior  2025-10-17 03:40:12.671 INFO [GraphWorker-0] [vector_factory.py:186] - start embedding 16 texts 1760672412.671639 2025-10-17 03:40:12.672 INFO [GraphWorker-0] [vector_factory.py:192] - Processing batch 1/1015 (16 texts) 2025-10-17 03:40:15.736 INFO [GraphWorker-0] [vector_factory.py:194] - Embedding batch 1/1015 took 3.0646300315856934 s 2025-10-17 03:40:15.866 INFO [GraphWorker-0] [vector_factory.py:198] - Embedding 16 texts took 3.195312976837158 s 2025-10-17 03:40:15.869 ERROR [GraphDispatcher] [error_handler.py:101] - Node 1750400198569 failed with ABORT strategy: Instance <Document at 0x70016480d5e0> is not bound to a Session; attribute refresh operation cannot proceed (Background on this error at: https://sqlalche.me/e/20/bhk3) 2025-10-17 03:40:15.987 INFO [Dummy-10] [rag_pipeline_run_task.py:77] - tenant_id: 3c137f10-427e-4233-95c9-8e45b6ac9fc8 , Rag pipeline run completed. Latency: 9.218830348923802s 2025-10-17 03:40:16.042 INFO [Dummy-10] [trace.py:128] - Task tasks.rag_pipeline.rag_pipeline_run_task.rag_pipeline_run_task[5fe141a5-3d45-4423-bef7-55900f5c48df] succeeded in 9.27448878530413s: None 2025-10-17 03:40:16.072 ERROR [Thread-11 (_generate_worker)] [workflow_entry.py:110] - Unknown Error when workflow entry running Traceback (most recent call last): File "/app/api/core/workflow/workflow_entry.py", line 106, in run yield from generator File "/app/api/core/workflow/graph_engine/graph_engine.py", line 262, in run raise self._graph_execution.error RuntimeError: Instance <Document at 0x70016480d5e0> is not bound to a Session; attribute refresh operation cannot proceed (Background on this error at: https://sqlalche.me/e/20/bhk3) ### ❌ Actual Behavior i create a new knowleage pipleline,then put a pdf the issue happen
yindo added the 🐞 bug label 2026-02-21 20:00:29 -05:00
yindo closed this issue 2026-02-21 20:00:29 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#19496