Hi decode method does not call, if activate RetryableFeignBlockingLoadBalancerClient, in case FeignBlockingLoadBalancerClient everything work normally please tell it is bug or feature?

public class CustomErrorDecoder implements ErrorDecoder {

    public Exception decode(String methodKey, Response response) {
         ....
    }
}

spring_cloud_version=2021.0.4 spring-cloud-openfeign-core:3.1.4

I have org.springframework.retry in my class path, it is transient from org.springframework.kafka, therefore activate feign retry behavior, but ErrorDecoder can not intercept exception from feign anymore.

What can i do, that ErrorDecoder work well in this case?

Comment From: OlgaMaciaszek

Will take a look at it. In the meantime, as a workaround, you can set spring.cloud.loadbalancer.retry.enabled to false.

Comment From: OlgaMaciaszek

Hello @BarrettM82. I was not able to reproduce this. See a working sample (run Eureka: docker run -p 8761:8761 springcloud/demo-eureka-server:latest, server and client app, and hit http GET :7211/date to test). If the issue persists, please provide a minimal, complete, verifiable example that reproduces the issue.

Comment From: spring-cloud-issues

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Comment From: spring-cloud-issues

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.