Load-balanced Hystrix fallback uri is routed with incorrect "forward" scheme
With the following config where lb:ingredients is being resolved to localhost:9994:
spring:
cloud:
gateway:
routes:
- id: ingredients
uri: lb://ingredients
predicates:
- Path=//ingredients/**
filters:
- name: Hystrix
args:
name: fetchIngredients
fallbackUri: forward:/fallback
- id: ingredients-fallback
uri: lb://ingredients
predicates:
- Path=/fallback
When the fallback path is triggered and passess through the LoadBalancerClientFilter, the forward scheme is passed on to the filtered request (specifically, via LoadBalancerContext and the reconstructURIWithServer method) and the final post is being made to forward:localhost:9994/fallback
which is reflected in the logs:
o.s.c.g.filter.LoadBalancerClientFilter : LoadBalancerClientFilter url chosen: forward://localhost:9994/fallback
Has this problem of #871 been solved?
Please stop commenting on multiple issues
Ok, thank you