You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.
Describe the bug
spring cloud version: "Greenwich.SR2"
While using the Java-based configuration, not working with spring security.
on accessing URL getting
"No matching handler"
but in case of YAML based configuration working fine.
Sample
in YAML based configuration can see logs like : o.s.cloud.gateway.config.GatewayProperties.setRoutes] - Routes supplied from Gateway Properties: [RouteDefinition{id='web-example-service', predicates=[PredicateDefinition{name='Path', args={_genkey_0=/abc/**}}], filters=[FilterDefinition{name='RequestRateLimiter', args={redis-rate-limiter.replenishRate=5, Key-resolver=#{@keyResolverDemo}, redis-rate-limiter.burstCapacity=10}}, FilterDefinition{name='RewritePath', args={_genkey_0=/abc/(?<segment>.*), _genkey_1=/$\{segment}}}], uri=http://localhost:8181, order=0}
In the case of java Based Configuration, there are no such logs.
The text was updated successfully, but these errors were encountered:
Can you provide a complete, minimal, verifiable sample that reproduces the problem? It should be available as a GitHub (or similar) project or attached to this issue as a zip file.
Describe the bug
spring cloud version: "Greenwich.SR2"
While using the Java-based configuration, not working with spring security.
on accessing URL getting
but in case of YAML based configuration working fine.
Sample
in YAML based configuration can see logs like :
o.s.cloud.gateway.config.GatewayProperties.setRoutes] - Routes supplied from Gateway Properties: [RouteDefinition{id='web-example-service', predicates=[PredicateDefinition{name='Path', args={_genkey_0=/abc/**}}], filters=[FilterDefinition{name='RequestRateLimiter', args={redis-rate-limiter.replenishRate=5, Key-resolver=#{@keyResolverDemo}, redis-rate-limiter.burstCapacity=10}}, FilterDefinition{name='RewritePath', args={_genkey_0=/abc/(?<segment>.*), _genkey_1=/$\{segment}}}], uri=http://localhost:8181, order=0}
In the case of java Based Configuration, there are no such logs.
The text was updated successfully, but these errors were encountered: