apache / apisix

The Cloud-Native API Gateway
https://apisix.apache.org/blog/
Apache License 2.0
14.49k stars 2.52k forks source link

stress apisix return 499 #11710

Open kellyseeme opened 3 days ago

kellyseeme commented 3 days ago

Description

when Enable upstream health check,The upstream is constantly changing,In the first second it is 1 backend, in the second second it is 100 backends and in the third second it is 110,apisix Will return randomly and occasionally 499 http response code。 if Turn off health checks,then all is ok. when cap the pcap ,no error log found ,apisix No forwarding traffic to the upstream.

image

in access log,requst time is near 0,upstream_connect time is 0,upstream_header_time is -,response time is 0,how can i debug this issue?

Environment

kellyseeme commented 3 days ago

Turn off health checks,There will also be have 499 response code