mesh
                                
                                
                                
                                    mesh copied to clipboard
                            
                            
                            
                        Exclude some http codes from retrying
Welcome!
- [X] Yes, I've searched similar issues on GitHub and didn't find any.
 - [X] Yes, I've searched similar issues on the Traefik Mesh community forum and didn't find any.
 
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
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 https://github.com/traefik/traefik/issues/4578 to be accepted and implemented.
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