You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
1. Is this request related to a challenge you're experiencing? Tell me about your story.
I am experiencing random "peer closed connection without sending complete message body (incomplete chunked read)" errors when executing chat workflows via API on self-hosted Dify v1.11.1.
Run failed: Failed to transform agent message: req_id: 70b0c0e5af PluginInvokeError: {"args":{},"error_type":"Exception","message":"read llm model failed: request failed: req_id: db91d7f41f PluginInvokeError: {\"args\":{},\"error_type\":\"RemoteProtocolError\",\"message\":\"peer closed connection without sending complete message body (incomplete chunked read)\"}"}
Characteristics:
The error occurs randomly (not consistently reproducible)
It happens regardless of token count or processing load
It occurs specifically during chat workflow API execution
I found similar issues (#9912 and #12802) reported for older versions (v0.9.x), but those were closed as "outdated". I'm wondering if this issue persists in v1.11.1 or if there are any known workarounds for ECS deployments.
2. Additional context or comments
Questions:
Is this a known issue in v1.11.1, and is there a fix planned for upcoming releases?
Are there any recommended timeout or connection settings for AWS ECS deployments to mitigate this issue?
Has anyone successfully resolved this by adjusting environment variables (e.g., API_REQUEST_TIMEOUT)?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
I am experiencing random "peer closed connection without sending complete message body (incomplete chunked read)" errors when executing chat workflows via API on self-hosted Dify v1.11.1.
Environment:
Error message:
Characteristics:
I found similar issues (#9912 and #12802) reported for older versions (v0.9.x), but those were closed as "outdated". I'm wondering if this issue persists in v1.11.1 or if there are any known workarounds for ECS deployments.
2. Additional context or comments
Questions:
Related Issues:
Any guidance would be greatly appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions