stopped by user error #8166

Closed
opened 2026-02-21 18:24:17 -05:00 by yindo · 5 comments
Owner

Originally created by @JayHsu5 on GitHub (Feb 11, 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

0.10.2-fix1

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

Image

✔️ Expected Behavior

Execute normally and display the log information of multiple nodes, rather than just the logs from a single start node.

Actual Behavior

just the logs from a single start node,and timeout
Image

Originally created by @JayHsu5 on GitHub (Feb 11, 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 0.10.2-fix1 ### Cloud or Self Hosted Self Hosted (Source) ### Steps to reproduce ![Image](https://github.com/user-attachments/assets/f60d70bb-5a88-42cc-8670-fda9c62d4019) ### ✔️ Expected Behavior Execute normally and display the log information of multiple nodes, rather than just the logs from a single start node. ### ❌ Actual Behavior just the logs from a single start node,and timeout ![Image](https://github.com/user-attachments/assets/f60d70bb-5a88-42cc-8670-fda9c62d4019)
yindo added the 🐞 bugoutdated labels 2026-02-21 18:24:17 -05:00
yindo closed this issue 2026-02-21 18:24:17 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Feb 11, 2025):

The issue you're experiencing, where only logs from a single start node are displayed and a timeout occurs, might be related to how Dify manages and aggregates logs from multiple nodes. Unfortunately, I couldn't find specific information in the repository about the mechanism for aggregating and displaying logs from multiple nodes or the configurations that might affect this process.

However, the logging setup in Dify is handled by the api/extensions/ext_logging.py file, which configures log handlers and includes request IDs in log records [1]. You might want to check this file to ensure that the logging configuration is set up correctly for your environment.

Additionally, the issue might be related to how the workflow tasks are managed. The WorkflowTaskStopApi class in api/controllers/console/app/workflow.py handles user-initiated process terminations, which might be relevant if the process is being stopped prematurely [2].

If the problem persists, consider reviewing the logging configuration and workflow management logic to ensure they align with your expected behavior.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other | Bug Report

@dosubot[bot] commented on GitHub (Feb 11, 2025): <!-- Answer --> The issue you're experiencing, where only logs from a single start node are displayed and a timeout occurs, might be related to how Dify manages and aggregates logs from multiple nodes. Unfortunately, I couldn't find specific information in the repository about the mechanism for aggregating and displaying logs from multiple nodes or the configurations that might affect this process. However, the logging setup in Dify is handled by the `api/extensions/ext_logging.py` file, which configures log handlers and includes request IDs in log records <sup>[[1]](https://github.com/langgenius/dify/blob/main/api/extensions/ext_logging.py)</sup>. You might want to check this file to ensure that the logging configuration is set up correctly for your environment. Additionally, the issue might be related to how the workflow tasks are managed. The `WorkflowTaskStopApi` class in `api/controllers/console/app/workflow.py` handles user-initiated process terminations, which might be relevant if the process is being stopped prematurely <sup>[[2]](https://github.com/langgenius/dify/blob/main/api/controllers/console/app/workflow.py)</sup>. If the problem persists, consider reviewing the logging configuration and workflow management logic to ensure they align with your expected behavior. <!-- 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/925f6824-a6cb-4e52-becd-cebd321d0084?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/925f6824-a6cb-4e52-becd-cebd321d0084?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/925f6824-a6cb-4e52-becd-cebd321d0084?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/925f6824-a6cb-4e52-becd-cebd321d0084?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/925f6824-a6cb-4e52-becd-cebd321d0084?feedback_type=hallucination) | [Other](https://app.dosu.dev/response-feedback/925f6824-a6cb-4e52-becd-cebd321d0084?feedback_type=other) | [Bug Report](https://app.dosu.dev/response-feedback/925f6824-a6cb-4e52-becd-cebd321d0084?feedback_type=bug_report)</sup>
Author
Owner

@crazywoola commented on GitHub (Feb 11, 2025):

This should be fixed in later versions.

@crazywoola commented on GitHub (Feb 11, 2025): This should be fixed in later versions.
Author
Owner

@crazywoola commented on GitHub (Feb 11, 2025):

Duplicated https://github.com/langgenius/dify/issues/8874

@crazywoola commented on GitHub (Feb 11, 2025): Duplicated https://github.com/langgenius/dify/issues/8874
Author
Owner

@JayHsu5 commented on GitHub (Feb 12, 2025):

Duplicated #8874
Not the same phenomenon. just the logs from a single start node
Image

@JayHsu5 commented on GitHub (Feb 12, 2025): > Duplicated [#8874](https://github.com/langgenius/dify/issues/8874) Not the same phenomenon. just the logs from a single start node ![Image](https://github.com/user-attachments/assets/1db6edf6-3dcc-46a5-aad3-5daf740b9fb0)
Author
Owner

@JayHsu5 commented on GitHub (Feb 12, 2025):

The same issue also occurs in version 0.15.3.

@JayHsu5 commented on GitHub (Feb 12, 2025): The same issue also occurs in version 0.15.3.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#8166