Open 18600709862 opened 5 hours ago
@18600709862 你好!我是Dosu,我是一个可以帮助您解决错误,回答问题并成为贡献者的机器人。我会在等待人类维护者的过程中帮助您。
I found a similar issue that might be relevant to your problem. The issue titled "The workflow has ended, but there is no output on the front end of the page, and the workflow keeps spinning" was closed and referenced by another issue titled "Detailed logs break down with graph_engine and iteration node" [1].
The log message "Stopped by user" indicates that the application is being stopped manually or by some external trigger. This message is not related to timeout settings in your docker-compose.yaml
or environment variables. Given the provided docker-compose.yaml
, the restart: always
policy is set for all services, which means the services should automatically restart unless explicitly stopped.
Here are a few potential reasons for this issue:
docker stop
.To further diagnose the issue, you can:
docker logs <container_id>
.If none of these apply, you might need to look into Docker's event logs to see what is triggering the stop event [2].
To continue talking to Dosu, mention @dosu.
Self Checks
Dify version
0.8.3
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
I created a long text generation workflow application and then ran it, and the application stopped automatically. log display: Stopped by user.
timeout set: docker-compose.xml GUNICORN_TIMEOUT: ${GUNICORN_TIMEOUT:-3600} API_TOOL_DEFAULT_CONNECT_TIMEOUT: ${API_TOOL_DEFAULT_CONNECT_TIMEOUT:-6000} API_TOOL_DEFAULT_READ_TIMEOUT: ${API_TOOL_DEFAULT_READ_TIMEOUT:-3600} environment HTTP_REQUEST_MAX_CONNECT_TIMEOUT: 6000
✔️ Expected Behavior
run complete
❌ Actual Behavior
Start 43.843 ms Generate Subtitles and Outlines 1.517K tokens · 31.743 s Extract Subtitles and Outlines 139.945 ms Iteration 19 m 28.879 s
3个迭代 Stopped by user. LLM 3 41.141 s Stopped by user.