-
Notifications
You must be signed in to change notification settings - Fork 258
Open
Description
Self Checks
To make sure we get to you in time, please check the following :)
- 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."
Versions
- dify-plugin-daemon Version 0.2.0
- dify-api Version 1.7.1
Describe the bug
An exception occurred while calling the plugin, causing the coroutine pool to become full and triggering a 504 error.
The pluginDaemonResponse is submitted to the coroutine pool to wait for the plugin's response. However, the process that invokes the plugin by writing data has already terminated, so pluginDaemonResponse never receives the data. When the request times out, the server will response "killed by timeout".
To Reproduce
Steps to reproduce the behavior:
- Force the plugin to shut down; no data will be received.
- Invoke the LLM via API.
- Call the /health/check API and check the size of the coroutine pool.
- The API timeout and responds with "killed by timeout".
Expected behavior
Respond quickly and fail fast when a plugin invocation error occurs.
Screenshots
Additional context
Metadata
Metadata
Assignees
Labels
No labels