Workspace run tool is always loading #11968

Closed
opened 2026-02-21 19:05:01 -05:00 by yindo · 4 comments
Owner

Originally created by @bugyangs on GitHub (Mar 22, 2025).

Self Checks

  • 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 (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.1.2

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Hi all:
I create a workflow, and I want to run it in WorkSpace area. When I run it in WorkSpace, my workflow is alway loading and not result return, but I can see the api is return in Chrome web debug tool. I can privide the shortcut image and the workflow api response:

Image

curl '/console/api/installed-apps/c739792a-3e5b-46c8-a6f3-e94839111f01/workflows/run' \
  -H 'Accept: */*' \
  -H 'Accept-Language: zh-CN,zh;q=0.9,en;q=0.8' \
  -H 'Connection: keep-alive' \
  -b 'locale=zh-Hans' \
  -H 'content-type: application/json' \
  --data-raw '{"inputs":{"type":"1","chapter_count":"1","element":"1","chapter_zifu_num":"1","topic":"1"},"response_mode":"streaming"}' \
  --insecure


  data: {"event": "workflow_started", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "workflow_id": "72b6cdf2-17d4-4dca-8c8c-1d86ed900694", "sequence_number": 9, "inputs": {"type": "1", "chapter_count": 1, "element": "1", "chapter_zifu_num": 1, "topic": "1", "sys.files": [], "sys.user_id": "6cfd0bc1-344e-42ea-a0ac-95ce94c9324f", "sys.app_id": "a0156c95-427e-4e5d-8257-cf0c3bb2129e", "sys.workflow_id": "72b6cdf2-17d4-4dca-8c8c-1d86ed900694", "sys.workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42"}, "created_at": 1742615583}}

data: {"event": "node_started", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "a06ac1f0-a4a2-409c-98e4-b9a58da786e9", "node_id": "1741071871592", "node_type": "start", "title": "\u5f00\u59cb", "index": 1, "predecessor_node_id": null, "inputs": null, "created_at": 1742615583, "extras": {}, "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": null, "loop_id": null}}

data: {"event": "node_finished", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "a06ac1f0-a4a2-409c-98e4-b9a58da786e9", "node_id": "1741071871592", "node_type": "start", "title": "\u5f00\u59cb", "index": 1, "predecessor_node_id": null, "inputs": null, "process_data": null, "outputs": null, "status": "succeeded", "error": null, "elapsed_time": 0.021323, "execution_metadata": null, "created_at": 1742615583, "finished_at": 1742615583, "files": [], "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": null, "loop_id": null}}

data: {"event": "node_started", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "52229c5d-4c05-40d6-8be6-fc6da1de1d25", "node_id": "1741072029716", "node_type": "llm", "title": "LLM-\u6545\u4e8b\u80cc\u666f", "index": 2, "predecessor_node_id": "1741071871592", "inputs": null, "created_at": 1742615583, "extras": {}, "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": null, "loop_id": null}}

event: ping

data: {"event": "node_finished", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "52229c5d-4c05-40d6-8be6-fc6da1de1d25", "node_id": "1741072029716", "node_type": "llm", "title": "LLM-\u6545\u4e8b\u80cc\u666f", "index": 2, "predecessor_node_id": "1741071871592", "inputs": null, "process_data": null, "outputs": null, "status": "succeeded", "error": null, "elapsed_time": 13.897752, "execution_metadata": null, "created_at": 1742615583, "finished_at": 1742615597, "files": [], "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": null, "loop_id": null}}

data: {"event": "node_started", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "2431c865-7577-47e4-85c2-0f0b39abf384", "node_id": "1741072263662", "node_type": "llm", "title": "LLM-\u6545\u4e8b\u6982\u89c8", "index": 3, "predecessor_node_id": "1741072029716", "inputs": null, "created_at": 1742615597, "extras": {}, "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": null, "loop_id": null}}

event: ping

event: ping

data: {"event": "node_finished", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "2431c865-7577-47e4-85c2-0f0b39abf384", "node_id": "1741072263662", "node_type": "llm", "title": "LLM-\u6545\u4e8b\u6982\u89c8", "index": 3, "predecessor_node_id": "1741072029716", "inputs": null, "process_data": null, "outputs": null, "status": "succeeded", "error": null, "elapsed_time": 24.505072, "execution_metadata": null, "created_at": 1742615597, "finished_at": 1742615622, "files": [], "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": null, "loop_id": null}}

data: {"event": "node_started", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "b3a47269-64f3-491c-a9a9-eb73e9c8f16a", "node_id": "1741072456031", "node_type": "llm", "title": "LLM-\u4e3b\u8981\u89d2\u8272\u80cc\u666f", "index": 4, "predecessor_node_id": "1741072263662", "inputs": null, "created_at": 1742615622, "extras": {}, "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": null, "loop_id": null}}

event: ping

event: ping

data: {"event": "node_finished", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "b3a47269-64f3-491c-a9a9-eb73e9c8f16a", "node_id": "1741072456031", "node_type": "llm", "title": "LLM-\u4e3b\u8981\u89d2\u8272\u80cc\u666f", "index": 4, "predecessor_node_id": "1741072263662", "inputs": null, "process_data": null, "outputs": null, "status": "succeeded", "error": null, "elapsed_time": 21.843192, "execution_metadata": null, "created_at": 1742615622, "finished_at": 1742615643, "files": [], "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": null, "loop_id": null}}

data: {"event": "node_started", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "0d5f3a8a-3999-4198-89ee-d15f0a211c06", "node_id": "1741072513863", "node_type": "llm", "title": "LLM-\u7ae0\u8282\u5927\u7eb2", "index": 5, "predecessor_node_id": "1741072456031", "inputs": null, "created_at": 1742615643, "extras": {}, "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": null, "loop_id": null}}

event: ping

event: ping

event: ping

data: {"event": "node_finished", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "0d5f3a8a-3999-4198-89ee-d15f0a211c06", "node_id": "1741072513863", "node_type": "llm", "title": "LLM-\u7ae0\u8282\u5927\u7eb2", "index": 5, "predecessor_node_id": "1741072456031", "inputs": null, "process_data": null, "outputs": null, "status": "succeeded", "error": null, "elapsed_time": 25.341103, "execution_metadata": null, "created_at": 1742615643, "finished_at": 1742615669, "files": [], "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": null, "loop_id": null}}

data: {"event": "node_started", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "dd55add0-848a-47a3-bcc3-5a74520a1c7a", "node_id": "1741073712970", "node_type": "llm", "title": "LLM-\u7b2c\u4e00\u7ae0\u5185\u5bb9", "index": 6, "predecessor_node_id": "1741072513863", "inputs": null, "created_at": 1742615669, "extras": {}, "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": null, "loop_id": null}}

event: ping

event: ping

event: ping

event: ping

event: ping

data: {"event": "node_finished", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "dd55add0-848a-47a3-bcc3-5a74520a1c7a", "node_id": "1741073712970", "node_type": "llm", "title": "LLM-\u7b2c\u4e00\u7ae0\u5185\u5bb9", "index": 6, "predecessor_node_id": "1741072513863", "inputs": null, "process_data": null, "outputs": null, "status": "succeeded", "error": null, "elapsed_time": 50.547138, "execution_metadata": null, "created_at": 1742615669, "finished_at": 1742615719, "files": [], "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": null, "loop_id": null}}

data: {"event": "node_started", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "59dd5904-95ef-4caf-94b8-80f5dcd0e37c", "node_id": "1741075994849", "node_type": "parameter-extractor", "title": "\u53c2\u6570\u63d0\u53d6\u5668", "index": 7, "predecessor_node_id": "1741073712970", "inputs": null, "created_at": 1742615719, "extras": {}, "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": null, "loop_id": null}}

event: ping

event: ping

event: ping

event: ping

data: {"event": "node_finished", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "59dd5904-95ef-4caf-94b8-80f5dcd0e37c", "node_id": "1741075994849", "node_type": "parameter-extractor", "title": "\u53c2\u6570\u63d0\u53d6\u5668", "index": 7, "predecessor_node_id": "1741073712970", "inputs": null, "process_data": null, "outputs": null, "status": "succeeded", "error": null, "elapsed_time": 42.496419, "execution_metadata": null, "created_at": 1742615719, "finished_at": 1742615762, "files": [], "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": null, "loop_id": null}}

data: {"event": "iteration_started", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "1741076153483", "node_id": "1741076153483", "node_type": "iteration", "title": "\u8fed\u4ee3", "created_at": 1742615762, "extras": {}, "metadata": {"iterator_length": 1}, "inputs": {"iterator_selector": [{"title": "\u7b2c\u4e00\u7ae0\uff1a\u661f\u5c18\u57ce\u7684\u9634\u5f71", "subsections": [{"title": "\u7834\u788e\u7684\u5bb6\u56ed", "content": [{"description": "\u5f00\u7bc7\u573a\u666f", "details": "\u6797\u9ed8\u7ad9\u5728\u5730\u9762\u4e16\u754c\u7684\u5e9f\u589f\u4e2d\uff0c\u773c\u524d\u662f\u4e00\u7247\u8352\u51c9\u7684\u666f\u8c61\u3002\u4ed6\u7684\u5bb6\u65cf\u66fe\u7ecf\u662f\u5730\u9762\u4e16\u754c\u6700\u53d7\u5c0a\u656c\u7684\u5de5\u7a0b\u5e08\u5bb6\u65cf\uff0c\u5982\u4eca\u5374\u56e0\u661f\u5c18\u57ce\u6743\u8d35\u7684\u9634\u8c0b\u800c\u5bb6\u7834\u4eba\u4ea1\u3002\u6797\u9ed8\u7684\u773c\u4e2d\u95ea\u70c1\u7740\u590d\u4ec7\u7684\u706b\u7130\uff0c\u4ed6\u53d1\u8a93\u8981\u6f5c\u5165\u661f\u5c18\u57ce\uff0c\u63ed\u9732\u771f\u76f8\u5e76\u4e3a\u5bb6\u65cf\u590d\u4ec7\u3002"}, {"description": "\u80cc\u666f\u4ecb\u7ecd", "details": "\u901a\u8fc7\u6797\u9ed8\u7684\u56de\u5fc6\uff0c\u8bfb\u8005\u4e86\u89e3\u5230\u661f\u5c18\u57ce\u662f\u5982\u4f55\u5229\u7528\u53cd\u91cd\u529b\u6280\u672f\u63a7\u5236\u5730\u9762\u4e16\u754c\uff0c\u7ef4\u6301\u7cbe\u82f1\u9636\u5c42\u7684\u7279\u6743\u3002\u6797\u9ed8\u7684\u7236\u4eb2\u66fe\u662f\u5730\u9762\u4e16\u754c\u7684\u9886\u8896\uff0c\u56e0\u53cd\u5bf9\u661f\u5c18\u57ce\u7684\u538b\u8feb\u800c\u88ab\u9677\u5bb3\uff0c\u6700\u7ec8\u5bfc\u81f4\u5bb6\u65cf\u7684\u8986\u706d\u3002"}, {"description": "\u6f5c\u5165\u661f\u5c18\u57ce", "details": "\u6797\u9ed8\u5229\u7528\u81ea\u5df1\u7684\u5de5\u7a0b\u6280\u80fd\uff0c\u4f2a\u9020\u8eab\u4efd\uff0c\u6210\u529f\u6f5c\u5165\u661f\u5c18\u57ce\u3002\u4ed6\u4f2a\u88c5\u6210\u4e00\u540d\u7cbe\u82f1\u9636\u5c42\u7684\u5de5\u7a0b\u5e08\uff0c\u5f00\u59cb\u5728\u661f\u5c18\u57ce\u7684\u9ad8\u5c42\u793e\u4f1a\u4e2d\u6d3b\u52a8\u3002\u6797\u9ed8\u7684\u51b7\u9759\u4e0e\u575a\u97e7\u4f7f\u4ed6\u8fc5\u901f\u9002\u5e94\u4e86\u65b0\u7684\u73af\u5883\uff0c\u4f46\u4ed6\u5185\u5fc3\u7684\u590d\u4ec7\u4e4b\u706b\u4ece\u672a\u7184\u706d\u3002"}, {"description": "\u521d\u6b21\u63a5\u89e6\u827e\u7433\u5a1c", "details": "\u5728\u4e00\u6b21\u9ad8\u5c42\u7684\u793e\u4ea4\u665a\u5bb4\u4e0a\uff0c\u6797\u9ed8\u9047\u5230\u4e86\u827e\u7433\u5a1c\u00b7\u7ef4\u65af\u7279\u3002\u827e\u7433\u5a1c\u662f\u661f\u5c18\u57ce\u6743\u8d35\u5bb6\u65cf\u7684\u7ee7\u627f\u4eba\uff0c\u4f46\u5979\u5bf9\u5bb6\u65cf\u7684\u8150\u8d25\u4e0e\u538b\u8feb\u611f\u5230\u538c\u5026\u3002\u4e24\u4eba\u5728\u4ea4\u8c08\u4e2d\u4ea7\u751f\u4e86\u5fae\u5999\u7684\u5171\u9e23\uff0c\u827e\u7433\u5a1c\u5bf9\u6797\u9ed8\u7684\u771f\u5b9e\u8eab\u4efd\u4ea7\u751f\u4e86\u597d\u5947\u3002"}, {"description": "\u5361\u5c14\u00b7\u96f7\u6069\u7684\u76d1\u89c6", "details": "\u661f\u5c18\u57ce\u5b89\u5168\u90e8\u95e8\u7684\u9996\u8111\u5361\u5c14\u00b7\u96f7\u6069\u5bf9\u6797\u9ed8\u7684\u51fa\u73b0\u4ea7\u751f\u4e86\u6000\u7591\u3002\u4ed6\u5f00\u59cb\u6697\u4e2d\u76d1\u89c6\u6797\u9ed8\uff0c\u8bd5\u56fe\u627e\u51fa\u4ed6\u7684\u771f\u5b9e\u76ee\u7684\u3002\u5361\u5c14\u7684\u624b\u6bb5\u6b8b\u5fcd\uff0c\u4ed6\u7edd\u4e0d\u4f1a\u5141\u8bb8\u4efb\u4f55\u4eba\u5a01\u80c1\u5230\u661f\u5c18\u57ce\u7684\u79e9\u5e8f\u3002"}, {"description": "\u82cf\u83f2\u4e9a\u7684\u8054\u7edc", "details": "\u6797\u9ed8\u901a\u8fc7\u79d8\u5bc6\u6e20\u9053\u4e0e\u5730\u9762\u4e16\u754c\u7684\u53cd\u6297\u7ec4\u7ec7\u53d6\u5f97\u8054\u7cfb\uff0c\u5f97\u77e5\u82cf\u83f2\u4e9a\u00b7\u6797\u662f\u53cd\u6297\u7ec4\u7ec7\u7684\u6838\u5fc3\u6210\u5458\u3002\u82cf\u83f2\u4e9a\u662f\u6797\u9ed8\u7684\u7ae5\u5e74\u597d\u53cb\uff0c\u5979\u540c\u6837\u56e0\u661f\u5c18\u57ce\u7684\u8feb\u5bb3\u800c\u5931\u53bb\u4e86\u5bb6\u4eba\u3002\u4e24\u4eba\u51b3\u5b9a\u8054\u624b\uff0c\u5171\u540c\u63ed\u9732\u661f\u5c18\u57ce\u7684\u9634\u8c0b\u3002"}, {"description": "\u7ef4\u514b\u591a\u00b7\u65af\u7279\u6797\u7684\u8ba1\u5212", "details": "\u6797\u9ed8\u5728\u661f\u5c18\u57ce\u7684\u9ad8\u5c42\u4f1a\u8bae\u4e0a\u5f97\u77e5\uff0c\u7ef4\u514b\u591a\u00b7\u65af\u7279\u6797\u6b63\u5728\u63a8\u52a8\u4e00\u4e2a\u540d\u4e3a\u201c\u9003\u79bb\u5730\u7403\u201d\u7684\u8ba1\u5212\u3002\u8fd9\u4e2a\u8ba1\u5212\u65e8\u5728\u5e26\u9886\u7cbe\u82f1\u9636\u5c42\u9003\u79bb\u5373\u5c06\u5d29\u6e83\u7684\u5730\u7403\uff0c\u800c\u5730\u9762\u4e16\u754c\u7684\u4eba\u6c11\u5c06\u88ab\u629b\u5f03\u3002\u6797\u9ed8\u610f\u8bc6\u5230\uff0c\u4ed6\u5fc5\u987b\u5c3d\u5feb\u884c\u52a8\uff0c\u963b\u6b62\u8fd9\u4e00\u9634\u8c0b\u3002"}]}], "goals": ["\u4ecb\u7ecd\u6797\u9ed8\u7684\u80cc\u666f\u548c\u52a8\u673a\uff0c\u4e3a\u540e\u7eed\u7684\u590d\u4ec7\u884c\u52a8\u5960\u5b9a\u57fa\u7840\u3002", "\u5c55\u793a\u661f\u5c18\u57ce\u7684\u9ed1\u6697\u4e0e\u8150\u8d25\uff0c\u63ed\u793a\u53cd\u91cd\u529b\u6280\u672f\u80cc\u540e\u7684\u9634\u8c0b\u3002", "\u5f15\u5165\u4e3b\u8981\u89d2\u8272\uff0c\u5305\u62ec\u827e\u7433\u5a1c\u3001\u5361\u5c14\u3001\u82cf\u83f2\u4e9a\u548c\u7ef4\u514b\u591a\uff0c\u4e3a\u540e\u7eed\u7684\u51b2\u7a81\u4e0e\u5408\u4f5c\u57cb\u4e0b\u4f0f\u7b14\u3002", "\u8bbe\u5b9a\u6545\u4e8b\u7684\u4e3b\u8981\u51b2\u7a81\uff1a\u6797\u9ed8\u5982\u4f55\u63ed\u9732\u661f\u5c18\u57ce\u7684\u9634\u8c0b\u5e76\u963b\u6b62\u201c\u9003\u79bb\u5730\u7403\u201d\u7684\u8ba1\u5212\u3002"]}]}, "parallel_id": null, "parallel_start_node_id": null}}

data: {"event": "iteration_next", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "1741076153483", "node_id": "1741076153483", "node_type": "iteration", "title": "\u8fed\u4ee3", "index": 0, "created_at": 1742615762, "pre_iteration_output": null, "extras": {}, "parallel_id": null, "parallel_start_node_id": null, "parallel_mode_run_id": null, "duration": null}}

data: {"event": "node_started", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "4a9f8025-4c26-4522-b822-883f3e56fb62", "node_id": "1741076317836", "node_type": "llm", "title": "LLM 6", "index": 9, "predecessor_node_id": "1741076153483start", "inputs": null, "created_at": 1742615762, "extras": {}, "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": "1741076153483", "loop_id": null}}

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @bugyangs on GitHub (Mar 22, 2025). ### Self Checks - [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 (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.1.2 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce Hi all: I create a workflow, and I want to run it in WorkSpace area. When I run it in WorkSpace, my workflow is alway loading and not result return, but I can see the api is return in Chrome web debug tool. I can privide the shortcut image and the workflow api response: ![Image](https://github.com/user-attachments/assets/c1a52098-2b2c-4b91-a9f6-e010ab789859) ``` curl '/console/api/installed-apps/c739792a-3e5b-46c8-a6f3-e94839111f01/workflows/run' \ -H 'Accept: */*' \ -H 'Accept-Language: zh-CN,zh;q=0.9,en;q=0.8' \ -H 'Connection: keep-alive' \ -b 'locale=zh-Hans' \ -H 'content-type: application/json' \ --data-raw '{"inputs":{"type":"1","chapter_count":"1","element":"1","chapter_zifu_num":"1","topic":"1"},"response_mode":"streaming"}' \ --insecure data: {"event": "workflow_started", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "workflow_id": "72b6cdf2-17d4-4dca-8c8c-1d86ed900694", "sequence_number": 9, "inputs": {"type": "1", "chapter_count": 1, "element": "1", "chapter_zifu_num": 1, "topic": "1", "sys.files": [], "sys.user_id": "6cfd0bc1-344e-42ea-a0ac-95ce94c9324f", "sys.app_id": "a0156c95-427e-4e5d-8257-cf0c3bb2129e", "sys.workflow_id": "72b6cdf2-17d4-4dca-8c8c-1d86ed900694", "sys.workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42"}, "created_at": 1742615583}} data: {"event": "node_started", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "a06ac1f0-a4a2-409c-98e4-b9a58da786e9", "node_id": "1741071871592", "node_type": "start", "title": "\u5f00\u59cb", "index": 1, "predecessor_node_id": null, "inputs": null, "created_at": 1742615583, "extras": {}, "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": null, "loop_id": null}} data: {"event": "node_finished", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "a06ac1f0-a4a2-409c-98e4-b9a58da786e9", "node_id": "1741071871592", "node_type": "start", "title": "\u5f00\u59cb", "index": 1, "predecessor_node_id": null, "inputs": null, "process_data": null, "outputs": null, "status": "succeeded", "error": null, "elapsed_time": 0.021323, "execution_metadata": null, "created_at": 1742615583, "finished_at": 1742615583, "files": [], "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": null, "loop_id": null}} data: {"event": "node_started", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "52229c5d-4c05-40d6-8be6-fc6da1de1d25", "node_id": "1741072029716", "node_type": "llm", "title": "LLM-\u6545\u4e8b\u80cc\u666f", "index": 2, "predecessor_node_id": "1741071871592", "inputs": null, "created_at": 1742615583, "extras": {}, "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": null, "loop_id": null}} event: ping data: {"event": "node_finished", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "52229c5d-4c05-40d6-8be6-fc6da1de1d25", "node_id": "1741072029716", "node_type": "llm", "title": "LLM-\u6545\u4e8b\u80cc\u666f", "index": 2, "predecessor_node_id": "1741071871592", "inputs": null, "process_data": null, "outputs": null, "status": "succeeded", "error": null, "elapsed_time": 13.897752, "execution_metadata": null, "created_at": 1742615583, "finished_at": 1742615597, "files": [], "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": null, "loop_id": null}} data: {"event": "node_started", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "2431c865-7577-47e4-85c2-0f0b39abf384", "node_id": "1741072263662", "node_type": "llm", "title": "LLM-\u6545\u4e8b\u6982\u89c8", "index": 3, "predecessor_node_id": "1741072029716", "inputs": null, "created_at": 1742615597, "extras": {}, "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": null, "loop_id": null}} event: ping event: ping data: {"event": "node_finished", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "2431c865-7577-47e4-85c2-0f0b39abf384", "node_id": "1741072263662", "node_type": "llm", "title": "LLM-\u6545\u4e8b\u6982\u89c8", "index": 3, "predecessor_node_id": "1741072029716", "inputs": null, "process_data": null, "outputs": null, "status": "succeeded", "error": null, "elapsed_time": 24.505072, "execution_metadata": null, "created_at": 1742615597, "finished_at": 1742615622, "files": [], "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": null, "loop_id": null}} data: {"event": "node_started", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "b3a47269-64f3-491c-a9a9-eb73e9c8f16a", "node_id": "1741072456031", "node_type": "llm", "title": "LLM-\u4e3b\u8981\u89d2\u8272\u80cc\u666f", "index": 4, "predecessor_node_id": "1741072263662", "inputs": null, "created_at": 1742615622, "extras": {}, "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": null, "loop_id": null}} event: ping event: ping data: {"event": "node_finished", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "b3a47269-64f3-491c-a9a9-eb73e9c8f16a", "node_id": "1741072456031", "node_type": "llm", "title": "LLM-\u4e3b\u8981\u89d2\u8272\u80cc\u666f", "index": 4, "predecessor_node_id": "1741072263662", "inputs": null, "process_data": null, "outputs": null, "status": "succeeded", "error": null, "elapsed_time": 21.843192, "execution_metadata": null, "created_at": 1742615622, "finished_at": 1742615643, "files": [], "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": null, "loop_id": null}} data: {"event": "node_started", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "0d5f3a8a-3999-4198-89ee-d15f0a211c06", "node_id": "1741072513863", "node_type": "llm", "title": "LLM-\u7ae0\u8282\u5927\u7eb2", "index": 5, "predecessor_node_id": "1741072456031", "inputs": null, "created_at": 1742615643, "extras": {}, "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": null, "loop_id": null}} event: ping event: ping event: ping data: {"event": "node_finished", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "0d5f3a8a-3999-4198-89ee-d15f0a211c06", "node_id": "1741072513863", "node_type": "llm", "title": "LLM-\u7ae0\u8282\u5927\u7eb2", "index": 5, "predecessor_node_id": "1741072456031", "inputs": null, "process_data": null, "outputs": null, "status": "succeeded", "error": null, "elapsed_time": 25.341103, "execution_metadata": null, "created_at": 1742615643, "finished_at": 1742615669, "files": [], "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": null, "loop_id": null}} data: {"event": "node_started", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "dd55add0-848a-47a3-bcc3-5a74520a1c7a", "node_id": "1741073712970", "node_type": "llm", "title": "LLM-\u7b2c\u4e00\u7ae0\u5185\u5bb9", "index": 6, "predecessor_node_id": "1741072513863", "inputs": null, "created_at": 1742615669, "extras": {}, "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": null, "loop_id": null}} event: ping event: ping event: ping event: ping event: ping data: {"event": "node_finished", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "dd55add0-848a-47a3-bcc3-5a74520a1c7a", "node_id": "1741073712970", "node_type": "llm", "title": "LLM-\u7b2c\u4e00\u7ae0\u5185\u5bb9", "index": 6, "predecessor_node_id": "1741072513863", "inputs": null, "process_data": null, "outputs": null, "status": "succeeded", "error": null, "elapsed_time": 50.547138, "execution_metadata": null, "created_at": 1742615669, "finished_at": 1742615719, "files": [], "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": null, "loop_id": null}} data: {"event": "node_started", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "59dd5904-95ef-4caf-94b8-80f5dcd0e37c", "node_id": "1741075994849", "node_type": "parameter-extractor", "title": "\u53c2\u6570\u63d0\u53d6\u5668", "index": 7, "predecessor_node_id": "1741073712970", "inputs": null, "created_at": 1742615719, "extras": {}, "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": null, "loop_id": null}} event: ping event: ping event: ping event: ping data: {"event": "node_finished", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "59dd5904-95ef-4caf-94b8-80f5dcd0e37c", "node_id": "1741075994849", "node_type": "parameter-extractor", "title": "\u53c2\u6570\u63d0\u53d6\u5668", "index": 7, "predecessor_node_id": "1741073712970", "inputs": null, "process_data": null, "outputs": null, "status": "succeeded", "error": null, "elapsed_time": 42.496419, "execution_metadata": null, "created_at": 1742615719, "finished_at": 1742615762, "files": [], "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": null, "loop_id": null}} data: {"event": "iteration_started", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "1741076153483", "node_id": "1741076153483", "node_type": "iteration", "title": "\u8fed\u4ee3", "created_at": 1742615762, "extras": {}, "metadata": {"iterator_length": 1}, "inputs": {"iterator_selector": [{"title": "\u7b2c\u4e00\u7ae0\uff1a\u661f\u5c18\u57ce\u7684\u9634\u5f71", "subsections": [{"title": "\u7834\u788e\u7684\u5bb6\u56ed", "content": [{"description": "\u5f00\u7bc7\u573a\u666f", "details": "\u6797\u9ed8\u7ad9\u5728\u5730\u9762\u4e16\u754c\u7684\u5e9f\u589f\u4e2d\uff0c\u773c\u524d\u662f\u4e00\u7247\u8352\u51c9\u7684\u666f\u8c61\u3002\u4ed6\u7684\u5bb6\u65cf\u66fe\u7ecf\u662f\u5730\u9762\u4e16\u754c\u6700\u53d7\u5c0a\u656c\u7684\u5de5\u7a0b\u5e08\u5bb6\u65cf\uff0c\u5982\u4eca\u5374\u56e0\u661f\u5c18\u57ce\u6743\u8d35\u7684\u9634\u8c0b\u800c\u5bb6\u7834\u4eba\u4ea1\u3002\u6797\u9ed8\u7684\u773c\u4e2d\u95ea\u70c1\u7740\u590d\u4ec7\u7684\u706b\u7130\uff0c\u4ed6\u53d1\u8a93\u8981\u6f5c\u5165\u661f\u5c18\u57ce\uff0c\u63ed\u9732\u771f\u76f8\u5e76\u4e3a\u5bb6\u65cf\u590d\u4ec7\u3002"}, {"description": "\u80cc\u666f\u4ecb\u7ecd", "details": "\u901a\u8fc7\u6797\u9ed8\u7684\u56de\u5fc6\uff0c\u8bfb\u8005\u4e86\u89e3\u5230\u661f\u5c18\u57ce\u662f\u5982\u4f55\u5229\u7528\u53cd\u91cd\u529b\u6280\u672f\u63a7\u5236\u5730\u9762\u4e16\u754c\uff0c\u7ef4\u6301\u7cbe\u82f1\u9636\u5c42\u7684\u7279\u6743\u3002\u6797\u9ed8\u7684\u7236\u4eb2\u66fe\u662f\u5730\u9762\u4e16\u754c\u7684\u9886\u8896\uff0c\u56e0\u53cd\u5bf9\u661f\u5c18\u57ce\u7684\u538b\u8feb\u800c\u88ab\u9677\u5bb3\uff0c\u6700\u7ec8\u5bfc\u81f4\u5bb6\u65cf\u7684\u8986\u706d\u3002"}, {"description": "\u6f5c\u5165\u661f\u5c18\u57ce", "details": "\u6797\u9ed8\u5229\u7528\u81ea\u5df1\u7684\u5de5\u7a0b\u6280\u80fd\uff0c\u4f2a\u9020\u8eab\u4efd\uff0c\u6210\u529f\u6f5c\u5165\u661f\u5c18\u57ce\u3002\u4ed6\u4f2a\u88c5\u6210\u4e00\u540d\u7cbe\u82f1\u9636\u5c42\u7684\u5de5\u7a0b\u5e08\uff0c\u5f00\u59cb\u5728\u661f\u5c18\u57ce\u7684\u9ad8\u5c42\u793e\u4f1a\u4e2d\u6d3b\u52a8\u3002\u6797\u9ed8\u7684\u51b7\u9759\u4e0e\u575a\u97e7\u4f7f\u4ed6\u8fc5\u901f\u9002\u5e94\u4e86\u65b0\u7684\u73af\u5883\uff0c\u4f46\u4ed6\u5185\u5fc3\u7684\u590d\u4ec7\u4e4b\u706b\u4ece\u672a\u7184\u706d\u3002"}, {"description": "\u521d\u6b21\u63a5\u89e6\u827e\u7433\u5a1c", "details": "\u5728\u4e00\u6b21\u9ad8\u5c42\u7684\u793e\u4ea4\u665a\u5bb4\u4e0a\uff0c\u6797\u9ed8\u9047\u5230\u4e86\u827e\u7433\u5a1c\u00b7\u7ef4\u65af\u7279\u3002\u827e\u7433\u5a1c\u662f\u661f\u5c18\u57ce\u6743\u8d35\u5bb6\u65cf\u7684\u7ee7\u627f\u4eba\uff0c\u4f46\u5979\u5bf9\u5bb6\u65cf\u7684\u8150\u8d25\u4e0e\u538b\u8feb\u611f\u5230\u538c\u5026\u3002\u4e24\u4eba\u5728\u4ea4\u8c08\u4e2d\u4ea7\u751f\u4e86\u5fae\u5999\u7684\u5171\u9e23\uff0c\u827e\u7433\u5a1c\u5bf9\u6797\u9ed8\u7684\u771f\u5b9e\u8eab\u4efd\u4ea7\u751f\u4e86\u597d\u5947\u3002"}, {"description": "\u5361\u5c14\u00b7\u96f7\u6069\u7684\u76d1\u89c6", "details": "\u661f\u5c18\u57ce\u5b89\u5168\u90e8\u95e8\u7684\u9996\u8111\u5361\u5c14\u00b7\u96f7\u6069\u5bf9\u6797\u9ed8\u7684\u51fa\u73b0\u4ea7\u751f\u4e86\u6000\u7591\u3002\u4ed6\u5f00\u59cb\u6697\u4e2d\u76d1\u89c6\u6797\u9ed8\uff0c\u8bd5\u56fe\u627e\u51fa\u4ed6\u7684\u771f\u5b9e\u76ee\u7684\u3002\u5361\u5c14\u7684\u624b\u6bb5\u6b8b\u5fcd\uff0c\u4ed6\u7edd\u4e0d\u4f1a\u5141\u8bb8\u4efb\u4f55\u4eba\u5a01\u80c1\u5230\u661f\u5c18\u57ce\u7684\u79e9\u5e8f\u3002"}, {"description": "\u82cf\u83f2\u4e9a\u7684\u8054\u7edc", "details": "\u6797\u9ed8\u901a\u8fc7\u79d8\u5bc6\u6e20\u9053\u4e0e\u5730\u9762\u4e16\u754c\u7684\u53cd\u6297\u7ec4\u7ec7\u53d6\u5f97\u8054\u7cfb\uff0c\u5f97\u77e5\u82cf\u83f2\u4e9a\u00b7\u6797\u662f\u53cd\u6297\u7ec4\u7ec7\u7684\u6838\u5fc3\u6210\u5458\u3002\u82cf\u83f2\u4e9a\u662f\u6797\u9ed8\u7684\u7ae5\u5e74\u597d\u53cb\uff0c\u5979\u540c\u6837\u56e0\u661f\u5c18\u57ce\u7684\u8feb\u5bb3\u800c\u5931\u53bb\u4e86\u5bb6\u4eba\u3002\u4e24\u4eba\u51b3\u5b9a\u8054\u624b\uff0c\u5171\u540c\u63ed\u9732\u661f\u5c18\u57ce\u7684\u9634\u8c0b\u3002"}, {"description": "\u7ef4\u514b\u591a\u00b7\u65af\u7279\u6797\u7684\u8ba1\u5212", "details": "\u6797\u9ed8\u5728\u661f\u5c18\u57ce\u7684\u9ad8\u5c42\u4f1a\u8bae\u4e0a\u5f97\u77e5\uff0c\u7ef4\u514b\u591a\u00b7\u65af\u7279\u6797\u6b63\u5728\u63a8\u52a8\u4e00\u4e2a\u540d\u4e3a\u201c\u9003\u79bb\u5730\u7403\u201d\u7684\u8ba1\u5212\u3002\u8fd9\u4e2a\u8ba1\u5212\u65e8\u5728\u5e26\u9886\u7cbe\u82f1\u9636\u5c42\u9003\u79bb\u5373\u5c06\u5d29\u6e83\u7684\u5730\u7403\uff0c\u800c\u5730\u9762\u4e16\u754c\u7684\u4eba\u6c11\u5c06\u88ab\u629b\u5f03\u3002\u6797\u9ed8\u610f\u8bc6\u5230\uff0c\u4ed6\u5fc5\u987b\u5c3d\u5feb\u884c\u52a8\uff0c\u963b\u6b62\u8fd9\u4e00\u9634\u8c0b\u3002"}]}], "goals": ["\u4ecb\u7ecd\u6797\u9ed8\u7684\u80cc\u666f\u548c\u52a8\u673a\uff0c\u4e3a\u540e\u7eed\u7684\u590d\u4ec7\u884c\u52a8\u5960\u5b9a\u57fa\u7840\u3002", "\u5c55\u793a\u661f\u5c18\u57ce\u7684\u9ed1\u6697\u4e0e\u8150\u8d25\uff0c\u63ed\u793a\u53cd\u91cd\u529b\u6280\u672f\u80cc\u540e\u7684\u9634\u8c0b\u3002", "\u5f15\u5165\u4e3b\u8981\u89d2\u8272\uff0c\u5305\u62ec\u827e\u7433\u5a1c\u3001\u5361\u5c14\u3001\u82cf\u83f2\u4e9a\u548c\u7ef4\u514b\u591a\uff0c\u4e3a\u540e\u7eed\u7684\u51b2\u7a81\u4e0e\u5408\u4f5c\u57cb\u4e0b\u4f0f\u7b14\u3002", "\u8bbe\u5b9a\u6545\u4e8b\u7684\u4e3b\u8981\u51b2\u7a81\uff1a\u6797\u9ed8\u5982\u4f55\u63ed\u9732\u661f\u5c18\u57ce\u7684\u9634\u8c0b\u5e76\u963b\u6b62\u201c\u9003\u79bb\u5730\u7403\u201d\u7684\u8ba1\u5212\u3002"]}]}, "parallel_id": null, "parallel_start_node_id": null}} data: {"event": "iteration_next", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "1741076153483", "node_id": "1741076153483", "node_type": "iteration", "title": "\u8fed\u4ee3", "index": 0, "created_at": 1742615762, "pre_iteration_output": null, "extras": {}, "parallel_id": null, "parallel_start_node_id": null, "parallel_mode_run_id": null, "duration": null}} data: {"event": "node_started", "workflow_run_id": "5e290e6d-53bf-4895-ab66-ce7ba8f33d42", "task_id": "bb552935-0521-4a0f-8139-fd8aaa2023f3", "data": {"id": "4a9f8025-4c26-4522-b822-883f3e56fb62", "node_id": "1741076317836", "node_type": "llm", "title": "LLM 6", "index": 9, "predecessor_node_id": "1741076153483start", "inputs": null, "created_at": 1742615762, "extras": {}, "parallel_id": null, "parallel_start_node_id": null, "parent_parallel_id": null, "parent_parallel_start_node_id": null, "iteration_id": "1741076153483", "loop_id": null}} ``` ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo added the 🐞 bug🤔 cant-reproduce labels 2026-02-21 19:05:01 -05:00
yindo closed this issue 2026-02-21 19:05:02 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Mar 22, 2025):

@bugyangs Hello there! I'm a bot that can help you solve bugs, answer questions, and become a contributor. I'm here to assist you while you wait for a human maintainer.

I found a similar open issue where a workflow tool was not returning any results, and the suggested solutions might be relevant to your situation:

  1. Error Handling: Ensure that error handling mechanisms are correctly set up. The agent_invoke method in the ToolEngine class includes exception handling that logs errors using the callback handler. This might help identify if there are any errors during the tool invocation.

  2. Expected Data Format: Verify that the workflow tool is returning results in the expected JSON format. The results should include a "records" property with fields like "content", "score", "title", and "metadata".

  3. Configuration Settings: Check the configuration settings that might affect communication between agents and workflow tools. For instance, ensure that the SANDBOX_WORKER_TIMEOUT and network settings are correctly configured.

  4. Logging and Debugging: Utilize the logging and debugging features available in Dify to trace the interaction between agents and workflow tools. This can help identify where the process might be failing [1].

Additionally, common causes for workflows being stuck in a loading state include network disconnections during execution and incorrect model configuration settings. Ensure that your network connection is stable and check the num_predict settings in your model configuration if you are using the SQL query generation interface [2][3].

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

@dosubot[bot] commented on GitHub (Mar 22, 2025): <!-- Greeting --> @bugyangs Hello there! I'm a bot that can help you solve bugs, answer questions, and become a contributor. I'm here to assist you while you wait for a human maintainer. <!-- Answer --> I found a similar open issue where a workflow tool was not returning any results, and the suggested solutions might be relevant to your situation: 1. **Error Handling**: Ensure that error handling mechanisms are correctly set up. The `agent_invoke` method in the `ToolEngine` class includes exception handling that logs errors using the callback handler. This might help identify if there are any errors during the tool invocation. 2. **Expected Data Format**: Verify that the workflow tool is returning results in the expected JSON format. The results should include a "records" property with fields like "content", "score", "title", and "metadata". 3. **Configuration Settings**: Check the configuration settings that might affect communication between agents and workflow tools. For instance, ensure that the `SANDBOX_WORKER_TIMEOUT` and network settings are correctly configured. 4. **Logging and Debugging**: Utilize the logging and debugging features available in Dify to trace the interaction between agents and workflow tools. This can help identify where the process might be failing <sup>[[1]](https://github.com/langgenius/dify/issues/12108)</sup>. Additionally, common causes for workflows being stuck in a loading state include network disconnections during execution and incorrect model configuration settings. Ensure that your network connection is stable and check the `num_predict` settings in your model configuration if you are using the SQL query generation interface <sup>[[2]](https://github.com/langgenius/dify-docs/issues/580)</sup><sup>[[3]](https://github.com/langgenius/dify/issues/16003)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/e2cb886c-eb56-4632-bf75-af3b1e752003?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/e2cb886c-eb56-4632-bf75-af3b1e752003?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/e2cb886c-eb56-4632-bf75-af3b1e752003?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/e2cb886c-eb56-4632-bf75-af3b1e752003?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/e2cb886c-eb56-4632-bf75-af3b1e752003?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/e2cb886c-eb56-4632-bf75-af3b1e752003?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/e2cb886c-eb56-4632-bf75-af3b1e752003?feedback_type=other)</sup>
Author
Owner

@crazywoola commented on GitHub (Mar 22, 2025):

I think this is a rare case, try to refresh the page again to see if this works.

@crazywoola commented on GitHub (Mar 22, 2025): I think this is a rare case, try to refresh the page again to see if this works.
Author
Owner

@bugyangs commented on GitHub (Mar 22, 2025):

I think this is a rare case, try to refresh the page again to see if this works.

I have refresh the page, but it doesn't work. The docker logs output is normal, but the interface is not updated, always show the loading

@bugyangs commented on GitHub (Mar 22, 2025): > I think this is a rare case, try to refresh the page again to see if this works. I have refresh the page, but it doesn't work. The docker logs output is normal, but the interface is not updated, always show the loading
Author
Owner

@crazywoola commented on GitHub (Mar 22, 2025):

I think you can turn on the workflow details and watch it's behavior to know which step fails to execute.

@crazywoola commented on GitHub (Mar 22, 2025): I think you can turn on the workflow details and watch it's behavior to know which step fails to execute.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#11968