upstream prematurely closed connection while reading upstream #19369

Closed
opened 2026-02-21 19:58:58 -05:00 by yindo · 0 comments
Owner

Originally created by @joyoungzhang on GitHub (Oct 15, 2025).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • 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, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.8.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

wget 'http://xxx/files/d00ea81b-e0be-49bd-9e7e-cc595beb113a/file-preview?timestamp=1760533640&nonce=504345c962fc338ced08effcf225fe33&sign=eh0CWjdxpC892LiD4Btmy4Ll6Qr8uqxHSJYtgtUveIQ='
Resolving xxxx
Connecting to xxxx 80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4673951 (4.5M) [image/jpeg]
Saving to: ‘file-preview?timestamp=1760533640&nonce=504345c962fc338ced08effcf225fe33&sign=eh0CWjdxpC892LiD4Btmy4Ll6Qr8uqxHSJYtgtUveIQ=’

file-preview?timestam 64%[==============> ] 2.87M 2.32MB/s in 1.2s

2025-10-15 21:07:37 (2.32 MB/s) - Connection closed at byte 3007074. Retrying.

nginx log:
2025/10/15 21:07:28 [error] 111#111: *96358613 upstream prematurely closed connection while reading upstream, client: xxx, server: _, request: "GET /files/d00ea81b-e0be-49bd-9e7e-cc595beb113a/file-preview?timestamp=1760533640&nonce=504345c962fc338ced08effcf225fe33&sign=eh0CWjdxpC892LiD4Btmy4Ll6Qr8uqxHSJYtgtUveIQ= HTTP/1.1", upstream: "http://xxx:5001/files/d00ea81b-e0be-49bd-9e7e-cc595beb113a/file-preview?timestamp=1760533640&nonce=504345c962fc338ced08effcf225fe33&sign=eh0CWjdxpC892LiD4Btmy4Ll6Qr8uqxHSJYtgtUveIQ=", host: "xxx"

✔️ Expected Behavior

wget success

Actual Behavior

No response

Originally created by @joyoungzhang on GitHub (Oct 15, 2025). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [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, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.8.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce wget 'http://xxx/files/d00ea81b-e0be-49bd-9e7e-cc595beb113a/file-preview?timestamp=1760533640&nonce=504345c962fc338ced08effcf225fe33&sign=eh0CWjdxpC892LiD4Btmy4Ll6Qr8uqxHSJYtgtUveIQ=' Resolving xxxx Connecting to xxxx 80... connected. HTTP request sent, awaiting response... 200 OK Length: 4673951 (4.5M) [image/jpeg] Saving to: ‘file-preview?timestamp=1760533640&nonce=504345c962fc338ced08effcf225fe33&sign=eh0CWjdxpC892LiD4Btmy4Ll6Qr8uqxHSJYtgtUveIQ=’ file-preview?timestam 64%[==============> ] 2.87M 2.32MB/s in 1.2s 2025-10-15 21:07:37 (2.32 MB/s) - Connection closed at byte 3007074. Retrying. nginx log: 2025/10/15 21:07:28 [error] 111#111: *96358613 upstream prematurely closed connection while reading upstream, client: xxx, server: _, request: "GET /files/d00ea81b-e0be-49bd-9e7e-cc595beb113a/file-preview?timestamp=1760533640&nonce=504345c962fc338ced08effcf225fe33&sign=eh0CWjdxpC892LiD4Btmy4Ll6Qr8uqxHSJYtgtUveIQ= HTTP/1.1", upstream: "http://xxx:5001/files/d00ea81b-e0be-49bd-9e7e-cc595beb113a/file-preview?timestamp=1760533640&nonce=504345c962fc338ced08effcf225fe33&sign=eh0CWjdxpC892LiD4Btmy4Ll6Qr8uqxHSJYtgtUveIQ=", host: "xxx" ### ✔️ Expected Behavior wget success ### ❌ Actual Behavior _No response_
yindo added the 🐞 bug label 2026-02-21 19:58:58 -05:00
yindo closed this issue 2026-02-21 19:58:58 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#19369