Skip to content
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

Exclude some http codes from retrying #833

Open
2 tasks done
igoooor opened this issue Oct 1, 2022 · 2 comments
Open
2 tasks done

Exclude some http codes from retrying #833

igoooor opened this issue Oct 1, 2022 · 2 comments
Labels
area/traefik kind/enhancement a new or improved feature.

Comments

@igoooor
Copy link

igoooor commented Oct 1, 2022

Welcome!

Proposal

It would be nice to be able to exclude some http response codes from the retry configuration.
For example, don't retry if it's a 403

Background

I have the Traefik Proxy "Owasp" plugin enabled, which will reject some requests with a 403 response, but Traefik Mesh seems to retry these requests.

Workarounds

None yet

@kevinpollet
Copy link
Member

Hello @igoooor and thanks for your interest in Traefik Mesh,

We rely on the Retry middleware from Traefik which reissues requests a given number of times to a backend server if that server does not reply (network error). To support that behavior, we will have to wait for traefik/traefik#4578 to be accepted and implemented.

@igoooor
Copy link
Author

igoooor commented Oct 3, 2022

Thank you for your answer and sorry for the duplicate in that case. Feel free to close my issue if you believe the issue on traefik/traefik is sufficient

@kevinpollet kevinpollet added kind/enhancement a new or improved feature. area/traefik labels Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/traefik kind/enhancement a new or improved feature.
Projects
None yet
Development

No branches or pull requests

2 participants