-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Envoy upstream connection failure due to 503 upstream_reset_before_response_started{local reset} LR #15968
Comments
Is it possible that upstream server sends "connection: close" on connections that Envoy used to start a request? |
the upstream sends connection:close in the response after serving fixed number of requests on each connection. If your question was if upstream sends connection: close on a new request without giving normal response, then no. |
Same problem. Here is the envoy log:
ip |
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions. |
Sorry for not responding earlier. I got confused by you mentioning the server sending |
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted" or "no stalebot". Thank you for your contributions. |
Title: Envoy is failing to connect to upstream cluster
Description:
What is the underlying cause for the 503 response from Envoy, is it failing to handle the
connection:close
and has stale connections to upstream.We tried fixing it by configuring retry on connection reset using the below config,
Even after configuring the 1-retry, there has been a reduction in the number of 503 responses. But still some upstream connections are failing with
URX
flag. Do you suggest any other configuration or tuning this configuration itself to completly eliminate 503 responses?Also, we saw different Response details for the same scenario is Envoy-1.13.1 and Envoy-1.15.2.
503 upstream_reset_before_response_started{connection failure} UF
503 upstream_reset_before_response_started{local reset} LR
Can you confirm if this behavior has changed from 1.15.0? We saw this issue mentioning about this change.
Relevant Links:
The text was updated successfully, but these errors were encountered: