apisix icon indicating copy to clipboard operation
apisix copied to clipboard

help request: error `upstream prematurely closed connection while reading response header from upstream`

Open CCTV-six opened this issue 1 year ago • 3 comments

Current Behavior

upstream prematurely closed connection while reading response header from upstream

Expected Behavior

APISIX should be able to stably forward requests to upstream services and correctly return responses to clients upon receiving upstream service responses

Error Logs

No response

Steps to Reproduce

none

Environment

none

CCTV-six avatar Jul 11 '24 07:07 CCTV-six

Could you please provide detailed reproduction steps?

zwtesttt avatar Jul 16 '24 08:07 zwtesttt

You can try adjusting the timeout configuration in upstreams:

"timeout": {
  "connect": 10,
  "send": 10,
  "read": 30
}

Doc: https://apisix.apache.org/docs/apisix/admin-api/#request-body-parameters-3

kayx23 avatar Jul 25 '24 11:07 kayx23

Hi @CCTV-six

Have you solved your problem?

zhoujiexiong avatar Aug 14 '24 02:08 zhoujiexiong

If there is still a problem, please open it again.

Baoyuantop avatar May 13 '25 03:05 Baoyuantop