zzl-code opened a new issue, #11571:
URL: https://github.com/apache/apisix/issues/11571

   ### Description
   
    Our request flow is from the browser to APISIX, then through the K8s 
service (svc) to the backend service. Occasionally, we encounter a 502 error 
with a probability of about 10%. 
   
![image](https://github.com/user-attachments/assets/805bc9dd-2f31-41f8-96dc-3bb7bcf37f88)
   
![image](https://github.com/user-attachments/assets/78765693-03ff-4381-955a-97b8cbe0e68a)
   
    Upon checking the backend service, we found that it didn't receive the 
request, so we want to try disabling keepalive in APISIX to see if it resolves 
the issue. However, setting idle_timeout to 0 didn't seem to have any effect.
   
![image](https://github.com/user-attachments/assets/eb86e539-f9f7-4ea5-b1ef-90c336d381f2)
   
    I noticed there's an enable_keepalive in the code; how should this be 
configured so that its value is false?
   
![image](https://github.com/user-attachments/assets/6785f6eb-8138-41da-827f-4ad1a6f02c9a)
   
   
   ### Environment
   
   - APISIX version (run `apisix version`):  3.9.1
   - Operating system (run `uname -a`):  Linux apisix-669fc8c449-pvncx 
5.10.134-16.1.al8.x86_64 #1 SMP Thu Dec 7 14:11:24 UTC 2023 x86_64 GNU/Linux
   - OpenResty / Nginx version (run `openresty -V` or `nginx 
-V`):openresty/1.25.3.1
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):   bitnami/etcd:3.5.10-debian-11-r2
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to