You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Retry filter results in infinite loop for 500 error from backend #339
Using the 2.0.0.RC2 sample app, I added the Retry filter with default settings.
Then I issued a GET request to localhost:8080/status/500 and the gateway started a seemingly infinite loop making requests.
Below is the full application.yml, but the main changes are changes to point it to httpbin.org and to add the retry filter.
The RetryGatewayFilterFactory does not allow me to leave the series and status configurations empty. I was trying to configure the retry filter such that it retries only in case of IOException s and not based on status codes. I will create a separate issue to request that enhancement.
Activity
[-]Retry filter results in infinite loop[/-][+]Retry filter results in infinite loop for 500 error from backend[/+]arkin commentedon Jun 8, 2018
When I configure for IOException, the retry works fine. This issue seems to be limited to retrying http status code based retries.
arkin commentedon Jun 8, 2018
The RetryGatewayFilterFactory does not allow me to leave the series and status configurations empty. I was trying to configure the retry filter such that it retries only in case of IOException s and not based on status codes. I will create a separate issue to request that enhancement.