dify
dify copied to clipboard
Workflow code block randomly timeout
Self Checks
- [x] This is only for bug report, if you would like to ask a question, please head to Discussions.
- [x] I have searched for existing issues search for existing issues, including closed ones.
- [x] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
- [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
- [x] Please do not modify this template :) and fill in all the required fields.
Dify version
0.15.3, sandbox 0.2.10
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
- Place a code block in a workflow
- Fill the code block input by query.string. Keep the default code snippet.
def main(arg1: str, arg2: str) -> dict:
return {
"result": arg1 + arg2,
}
- Click
run this step
button - Fill arg1 and arg2 with some text
- Click
run
button - Repeat step 5 when step finishes
✔️ Expected Behavior
Successfully executed for each run with no error. This simple snippet should not cost much time.
❌ Actual Behavior
Randomly timeout.