fizzgate / fizz-gateway-node

微服务API聚合网关 An Aggregation API Gateway

Home Page:http://www.fizzgate.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

url 出现占位符,转发异常

Johnson-Jia opened this issue · comments

20:20:42.264 ERROR WebUtils. responseError: 509 fizz-21f0f9c7-108 GET http://yufa.21tb.com/open/v1/imall/accountcoin/getUserInfo.html?timestamp_=1642076441686&sign_=CBC3E4BFEEA8B43A3AEE940ACB92F945&appKey_=9297866BD3FE4C76A251C66AD6D8DAE9&map=%7B%22code%22%3A%22B76379B5D8DF97228E039050C42391B0%22%2C%22appKey%22%3A%229297866BD3FE4C76A251C66AD6D8DAE9%22%2C%22source%22%3A%22xh%22%2C%22employeeCode%22%3A%22xh002%22%7D
HOST=yufa.21tb.com
filterExceptionHandler 500 Not enough variable values available to expand '"code"' java.lang.IllegalArgumentException: Not enough variable values available to expand '"code"'
at org.springframework.web.util.UriComponents$VarArgsTemplateVariables.getValue(UriComponents.java:367)
Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Error has been observed at the following site(s):
|_ checkpoint ? we.filter.RouteFilter [DefaultWebFilterChain]
|_ checkpoint ? we.filter.AggregateFilter [DefaultWebFilterChain]
|_ checkpoint ? we.filter.CallbackFilter [DefaultWebFilterChain]
|_ checkpoint ? we.filter.PreprocessFilter [DefaultWebFilterChain]
|_ checkpoint ? we.filter.FizzLogFilter [DefaultWebFilterChain]
|_ checkpoint ? we.filter.FlowControlFilter [DefaultWebFilterChain]
|_ checkpoint ? we.filter.FizzHostJumpFilter [DefaultWebFilterChain]
|_ checkpoint ? org.springframework.web.cors.reactive.CorsWebFilter [DefaultWebFilterChain]
|_ checkpoint ? HTTP GET "/open/v1/imall/accountcoin/getUserInfo.html?timestamp_=1642076441686&sign_=CBC3E4BFEEA8B43A3AEE940ACB92F945&appKey_=9297866BD3FE4C76A251C66AD6D8DAE9&map=%7B%22code%22%3A%22B76379B5D8DF97228E039050C42391B0%22%2C%22appKey%22%3A%229297866BD3FE4C76A251C66AD6D8DAE9%22%2C%22source%22%3A%22xh%22%2C%22employeeCode%22%3A%22xh002%22%7D" [ExceptionHandlingWebHandler]
Stack trace:
at org.springframework.web.util.UriComponents$VarArgsTemplateVariables.getValue(UriComponents.java:367)
at org.springframework.web.util.HierarchicalUriComponents$QueryUriTemplateVariables.getValue(HierarchicalUriComponents.java:1058)
at org.springframework.web.util.UriComponents.expandUriComponent(UriComponents.java:262)
at org.springframework.web.util.HierarchicalUriComponents.lambda$expandQueryParams$5(HierarchicalUriComponents.java:450)
at java.util.Map.forEach(Map.java:630)
at org.springframework.web.util.HierarchicalUriComponents.expandQueryParams(HierarchicalUriComponents.java:446)
at org.springframework.web.util.HierarchicalUriComponents.expandInternal(HierarchicalUriComponents.java:435)
at org.springframework.web.util.HierarchicalUriComponents.expandInternal(HierarchicalUriComponents.java:52)
at org.springframework.web.util.UriComponents.expand(UriComponents.java:172)
at org.springframework.web.util.DefaultUriBuilderFactory$DefaultUriBuilder.build(DefaultUriBuilderFactory.java:396)
at org.springframework.web.util.DefaultUriBuilderFactory.expand(DefaultUriBuilderFactory.java:153)
at org.springframework.web.reactive.function.client.DefaultWebClient$DefaultRequestBodyUriSpec.uri(DefaultWebClient.java:176)
at org.springframework.web.reactive.function.client.DefaultWebClient$DefaultRequestBodyUriSpec.uri(DefaultWebClient.java:151)
at we.proxy.FizzWebClient.send2uri(FizzWebClient.java:163)
at we.proxy.FizzWebClient.lambda$send$0(FizzWebClient.java:91)
at reactor.core.publisher.FluxFlatMap.trySubscribeScalarMap(FluxFlatMap.java:152)
at reactor.core.publisher.MonoFlatMap.subscribeOrReturn(MonoFlatMap.java:53)
at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:57)
at reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:52)