theytc1007 opened a new issue, #12880: URL: https://github.com/apache/apisix/issues/12880
### Current Behavior <img width="2149" height="167" alt="Image" src="https://github.com/user-attachments/assets/6b11c2c2-4880-4f91-a0ed-c5f3226d56dc" /> I am using APISIX to discover services registered in Consul. I have a route configured to proxy requests to these services. <img width="1193" height="390" alt="Image" src="https://github.com/user-attachments/assets/83062b24-33de-4afe-8c95-c2533db11cb0" /> <img width="1223" height="409" alt="Image" src="https://github.com/user-attachments/assets/bdb2ae09-f8af-4b37-9977-321f88d49664" /> <img width="1193" height="390" alt="Image" src="https://github.com/user-attachments/assets/949ef14d-c33a-4804-b6fe-ce82d8afe99e" /> When I probe the Consul service directly (e.g., via its IP or Consul HTTP API), it always responds correctly. However, when I access the service through the APISIX route domain, the requests sometimes return HTTP 503. <img width="1366" height="195" alt="Image" src="https://github.com/user-attachments/assets/4de042d5-bea5-4bcf-abe3-9dd762fa48ea" /> When I probe directly to consul service, it always work. However, when probe from route domain it sometimes return code 503. I want to know why, how to aviod this problem? Questions: 1. Why does APISIX return 503 even when the backend service is healthy according to Consul? 2. How can I configure APISIX to avoid these intermittent 503 errors? Any advice or best practices would be appreciated. My apisix version is 3.13.0. ### Expected Behavior _No response_ ### Error Logs _No response_ ### Steps to Reproduce config.yaml: <img width="714" height="363" alt="Image" src="https://github.com/user-attachments/assets/b5194bbe-e206-4116-b985-f6742dd8bd5a" /> <img width="1193" height="390" alt="Image" src="https://github.com/user-attachments/assets/83062b24-33de-4afe-8c95-c2533db11cb0" /> <img width="1223" height="409" alt="Image" src="https://github.com/user-attachments/assets/bdb2ae09-f8af-4b37-9977-321f88d49664" /> <img width="1193" height="390" alt="Image" src="https://github.com/user-attachments/assets/949ef14d-c33a-4804-b6fe-ce82d8afe99e" /> ### Environment - APISIX version 3.13.0 -- 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]
