Describe the bug Request doesn't retry on the same server when 'max-retries-on-same-service-instance' propertiy set to 2.

I did some debugging and I found that retry on the same server causes UnknowHostException. It seems like retrievedServiceInstance is null when retry on the same server, which will not reconstruct the URI. Spring Cloud Openfeign ‘max-retries-on-same-service-instance’ not working

Spring Cloud Openfeign ‘max-retries-on-same-service-instance’ not working

ref: spring-cloud release chain: 2020.0.4 spring-cloud-netflix-eureka + spring-cloud-openfeign + spring-cloud-loadbalancer

3ks!

Comment From: OlgaMaciaszek

@AVP42 thanks for reporting the issue. Please provide a minimal, complete, verifiable example that reproduces the issue, as a link to a GitHub repo with a small demo app and steps to reproduce in the README.

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.