hodeh
hodeh
I have inconsistency with some applications the call to HEAD (/refresh ) works for some of them and the other applications are retuning 500. although all of them the call...
@joshiste thanks i found the problem so its because the @RestControllerAdvice class has a @ ExceptionHandler(Exception.class) , which handles the unspecified exceptions by returning 500 and considers it as internal...
@spencergibb it is =)
@wilkinsona noted! thx
the only way I got it working is by disabling hystrix and setting those values, setting those properties from .propterites files did not work for me I had to access...
@ryanjbaxter thx a lot for the analysis. I am using Dalston.BUILD-SNAPSHOT version along with 1.5.3.RELEASE Spring Boot Version. and I have set the following properties ``` ribbon: MaxAutoRetries: 5 MaxAutoRetriesNextServer:...
@spencergibb the property name will be authenticationRequired (true/false). Custom Authentication filter will read that value and it will authenticate the request if that route has this custom value. if the...
alright @ryanjbaxter @spencergibb I will post the custom DiscoveryClientRouteLocator here if I managed to do it thanks.
Invoking a Ribbon(loadbalanced) call at Zuul Startup using feign/restemplates leads to StackOverFlow
it can be due to the fact that invoking a Ribbon call will cause a ContextRefreshEvent that will cause refresh that ends up with calling the same overriden method DiscoveryClientRouteLocator.locateroutes...
Invoking a Ribbon(loadbalanced) call at Zuul Startup using feign/restemplates leads to StackOverFlow
Solved by preventing Ribbon client from being invoked again using a flag that determines if Ribbon call is being executed or not.