超时设置
# zuul
zuul.host.connect-timeout-millis=10000
zuul.host.socket-timeout-millis=10000
# ribbon
ribbon.ConnectTimeout = 30000
ribbon.ReadTimeout = 30000
#hystrix
hystrix.timeoutInMillions = 10000
hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds = 10000
现象
请求接口返回超时,无其他错误抛出。
原因分析
不使用zuul转发,直接访问接口正常返回结果。
使用zuul转发,接口报错,
Caused by: java.net.SocketTimeoutException: Read timed out
Caused by: java.lang.RuntimeException: java.net.SocketTimeoutException: Read timed out
Caused by: com.netflix.client.ClientException: null
结合上述分析,说明接口报错错误与zuul转发有关。
进一步分析接口的执行时间,发现为10s左右,因此接口报错可能与超时时间的设置有关。
解决方法
修改超时时长的配置
错误日志
2024-01-09 13:29:57
... 142 common frames omitted
2024-01-09 13:29:57
at rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:443)
2024-01-09 13:29:57
at rx.Observable.subscribe(Observable.java:10319)
2024-01-09 13:29:57
at rx.Observable.subscribe(Observable.java:10352)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
2024-01-09 13:29:57
at rx.internal.util.ScalarSynchronousObservable$JustOnSubscribe.call(ScalarSynchronousObservable.java:129)
2024-01-09 13:29:57
at rx.internal.util.ScalarSynchronousObservable$JustOnSubscribe.call(ScalarSynchronousObservable.java:138)
2024-01-09 13:29:57
at rx.Subscriber.setProducer(Subscriber.java:209)
2024-01-09 13:29:57
at rx.internal.util.ScalarSynchronousObservable$WeakSingleProducer.request(ScalarSynchronousObservable.java:276)
2024-01-09 13:29:57
at rx.internal.operators.OperatorRetryWithPredicate$SourceSubscriber.onNext(OperatorRetryWithPredicate.java:45)
2024-01-09 13:29:57
at rx.internal.operators.OperatorRetryWithPredicate$SourceSubscriber.onNext(OperatorRetryWithPredicate.java:79)
2024-01-09 13:29:57
at rx.internal.schedulers.TrampolineScheduler$InnerCurrentThreadScheduler.schedule(TrampolineScheduler.java:52)
2024-01-09 13:29:57
at rx.internal.schedulers.TrampolineScheduler$InnerCurrentThreadScheduler.enqueue(TrampolineScheduler.java:73)
2024-01-09 13:29:57
at rx.internal.operators.OperatorRetryWithPredicate$SourceSubscriber$1.call(OperatorRetryWithPredicate.java:127)
2024-01-09 13:29:57
at rx.Observable.unsafeSubscribe(Observable.java:10256)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeConcatMap.call(OnSubscribeConcatMap.java:42)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeConcatMap.call(OnSubscribeConcatMap.java:94)
2024-01-09 13:29:57
at rx.Observable.unsafeSubscribe(Observable.java:10256)
2024-01-09 13:29:57
at com.netflix.loadbalancer.reactive.LoadBalancerCommand$1.call(LoadBalancerCommand.java:180)
2024-01-09 13:29:57
at com.netflix.loadbalancer.reactive.LoadBalancerCommand$1.call(LoadBalancerCommand.java:185)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeConcatMap$ConcatMapSubscriber.onNext(OnSubscribeConcatMap.java:144)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeConcatMap$ConcatMapSubscriber.drain(OnSubscribeConcatMap.java:286)
2024-01-09 13:29:57
at rx.Observable.unsafeSubscribe(Observable.java:10256)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
2024-01-09 13:29:57
at rx.internal.util.ScalarSynchronousObservable$JustOnSubscribe.call(ScalarSynchronousObservable.java:129)
2024-01-09 13:29:57
at rx.internal.util.ScalarSynchronousObservable$JustOnSubscribe.call(ScalarSynchronousObservable.java:138)
2024-01-09 13:29:57
at rx.Subscriber.setProducer(Subscriber.java:209)
2024-01-09 13:29:57
at rx.internal.util.ScalarSynchronousObservable$WeakSingleProducer.request(ScalarSynchronousObservable.java:276)
2024-01-09 13:29:57
at rx.internal.operators.OperatorRetryWithPredicate$SourceSubscriber.onNext(OperatorRetryWithPredicate.java:45)
2024-01-09 13:29:57
at rx.internal.operators.OperatorRetryWithPredicate$SourceSubscriber.onNext(OperatorRetryWithPredicate.java:79)
2024-01-09 13:29:57
at rx.internal.schedulers.TrampolineScheduler$InnerCurrentThreadScheduler.schedule(TrampolineScheduler.java:52)
2024-01-09 13:29:57
at rx.internal.schedulers.TrampolineScheduler$InnerCurrentThreadScheduler.enqueue(TrampolineScheduler.java:73)
2024-01-09 13:29:57
at rx.internal.operators.OperatorRetryWithPredicate$SourceSubscriber$1.call(OperatorRetryWithPredicate.java:127)
2024-01-09 13:29:57
at rx.Observable.unsafeSubscribe(Observable.java:10256)
2024-01-09 13:29:57
at rx.internal.util.ScalarSynchronousObservable$3.call(ScalarSynchronousObservable.java:228)
2024-01-09 13:29:57
at rx.internal.util.ScalarSynchronousObservable$3.call(ScalarSynchronousObservable.java:231)
2024-01-09 13:29:57
at com.netflix.loadbalancer.reactive.LoadBalancerCommand$3$1.call(LoadBalancerCommand.java:287)
2024-01-09 13:29:57
at com.netflix.loadbalancer.reactive.LoadBalancerCommand$3$1.call(LoadBalancerCommand.java:303)
2024-01-09 13:29:57
at com.netflix.client.AbstractLoadBalancerAwareClient$1.call(AbstractLoadBalancerAwareClient.java:109)
2024-01-09 13:29:57
at org.springframework.cloud.netflix.ribbon.apache.RibbonLoadBalancingHttpClient.execute(RibbonLoadBalancingHttpClient.java:42)
2024-01-09 13:29:57
at org.springframework.cloud.netflix.ribbon.apache.RibbonLoadBalancingHttpClient.execute(RibbonLoadBalancingHttpClient.java:86)
2024-01-09 13:29:57
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
2024-01-09 13:29:57
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
2024-01-09 13:29:57
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
2024-01-09 13:29:57
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111)
2024-01-09 13:29:57
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
2024-01-09 13:29:57
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
2024-01-09 13:29:57
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)
2024-01-09 13:29:57
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
2024-01-09 13:29:57
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)
2024-01-09 13:29:57
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:165)
2024-01-09 13:29:57
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163)
2024-01-09 13:29:57
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)
2024-01-09 13:29:57
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
2024-01-09 13:29:57
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138)
2024-01-09 13:29:57
at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:282)
2024-01-09 13:29:57
at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153)
2024-01-09 13:29:57
at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137)
2024-01-09 13:29:57
at java.net.SocketInputStream.read(SocketInputStream.java:141)
2024-01-09 13:29:57
at java.net.SocketInputStream.read(SocketInputStream.java:171)
2024-01-09 13:29:57
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
2024-01-09 13:29:57
at java.net.SocketInputStream.socketRead0(Native Method)
2024-01-09 13:29:57
Caused by: java.net.SocketTimeoutException: Read timed out
2024-01-09 13:29:57
... 140 common frames omitted
2024-01-09 13:29:57
at com.netflix.client.AbstractLoadBalancerAwareClient.executeWithLoadBalancer(AbstractLoadBalancerAwareClient.java:117)
2024-01-09 13:29:57
at rx.observables.BlockingObservable.single(BlockingObservable.java:340)
2024-01-09 13:29:57
at rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:463)
2024-01-09 13:29:57
at rx.exceptions.Exceptions.propagate(Exceptions.java:57)
2024-01-09 13:29:57
Caused by: java.lang.RuntimeException: java.net.SocketTimeoutException: Read timed out
2024-01-09 13:29:57
... 78 common frames omitted
2024-01-09 13:29:57
at org.springframework.cloud.netflix.zuul.filters.route.RibbonRoutingFilter.forward(RibbonRoutingFilter.java:157)
2024-01-09 13:29:57
at com.netflix.hystrix.HystrixCommand.execute(HystrixCommand.java:344)
2024-01-09 13:29:57
at com.netflix.hystrix.HystrixCommand.queue(HystrixCommand.java:378)
2024-01-09 13:29:57
at rx.observables.BlockingObservable.toFuture(BlockingObservable.java:410)
2024-01-09 13:29:57
at rx.internal.operators.BlockingOperatorToFuture.toFuture(BlockingOperatorToFuture.java:51)
2024-01-09 13:29:57
at rx.Observable.subscribe(Observable.java:10319)
2024-01-09 13:29:57
at rx.Observable.subscribe(Observable.java:10352)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:35)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:51)
2024-01-09 13:29:57
at rx.Observable.unsafeSubscribe(Observable.java:10256)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41)
2024-01-09 13:29:57
at rx.Observable.unsafeSubscribe(Observable.java:10256)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41)
2024-01-09 13:29:57
at rx.Observable.unsafeSubscribe(Observable.java:10256)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48)
2024-01-09 13:29:57
at rx.Observable.unsafeSubscribe(Observable.java:10256)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:35)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:51)
2024-01-09 13:29:57
at rx.Observable.unsafeSubscribe(Observable.java:10256)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41)
2024-01-09 13:29:57
at rx.Observable.unsafeSubscribe(Observable.java:10256)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41)
2024-01-09 13:29:57
at rx.Observable.unsafeSubscribe(Observable.java:10256)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41)
2024-01-09 13:29:57
at rx.Observable.unsafeSubscribe(Observable.java:10256)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41)
2024-01-09 13:29:57
at rx.Observable.unsafeSubscribe(Observable.java:10256)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41)
2024-01-09 13:29:57
at rx.Observable.unsafeSubscribe(Observable.java:10256)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:35)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:51)
2024-01-09 13:29:57
at rx.Observable.unsafeSubscribe(Observable.java:10256)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:35)
2024-01-09 13:29:57
at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:46)
2024-01-09 13:29:57
at com.netflix.hystrix.HystrixCommand$2.call(HystrixCommand.java:298)
2024-01-09 13:29:57
at com.netflix.hystrix.HystrixCommand$2.call(HystrixCommand.java:302)
2024-01-09 13:29:57
at org.springframework.cloud.netflix.zuul.filters.route.support.AbstractRibbonCommand.run(AbstractRibbonCommand.java:44)
2024-01-09 13:29:57
at org.springframework.cloud.netflix.zuul.filters.route.support.AbstractRibbonCommand.run(AbstractRibbonCommand.java:108)
2024-01-09 13:29:57
at com.netflix.client.AbstractLoadBalancerAwareClient.executeWithLoadBalancer(AbstractLoadBalancerAwareClient.java:123)
2024-01-09 13:29:57
Caused by: com.netflix.client.ClientException: null
2024-01-09 13:29:57
at java.lang.Thread.run(Thread.java:748)
2024-01-09 13:29:57
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
2024-01-09 13:29:57
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2024-01-09 13:29:57
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
2024-01-09 13:29:57
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
2024-01-09 13:29:57
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
2024-01-09 13:29:57
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861)
2024-01-09 13:29:57
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
2024-01-09 13:29:57
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
2024-01-09 13:29:57
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
2024-01-09 13:29:57
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
2024-01-09 13:29:57
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
2024-01-09 13:29:57
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
2024-01-09 13:29:57
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
2024-01-09 13:29:57
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
2024-01-09 13:29:57
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
2024-01-09 13:29:57
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2024-01-09 13:29:57
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
2024-01-09 13:29:57
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
2024-01-09 13:29:57
at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:106)
2024-01-09 13:29:57
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2024-01-09 13:29:57
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
2024-01-09 13:29:57
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
2024-01-09 13:29:57
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:199)
2024-01-09 13:29:57
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2024-01-09 13:29:57
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
2024-01-09 13:29:57
at org.springframework.cloud.sleuth.instrument.web.TraceFilter.doFilter(TraceFilter.java:161)
2024-01-09 13:29:57
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2024-01-09 13:29:57
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
2024-01-09 13:29:57
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
2024-01-09 13:29:57
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81)
2024-01-09 13:29:57
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2024-01-09 13:29:57
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
2024-01-09 13:29:57
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
2024-01-09 13:29:57
at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:105)
2024-01-09 13:29:57
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2024-01-09 13:29:57
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
2024-01-09 13:29:57
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
2024-01-09 13:29:57
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
2024-01-09 13:29:57
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2024-01-09 13:29:57
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
2024-01-09 13:29:57
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:265)
2024-01-09 13:29:57
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:350)
2024-01-09 13:29:57
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
2024-01-09 13:29:57
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:208)
2024-01-09 13:29:57
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2024-01-09 13:29:57
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
2024-01-09 13:29:57
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
2024-01-09 13:29:57
at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:110)
2024-01-09 13:29:57
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2024-01-09 13:29:57
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
2024-01-09 13:29:57
at cn.zcyun.xcloud.business.gateway.webconfig.filters.CORSFilter.doFilter(CORSFilter.java:29)
2024-01-09 13:29:57
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2024-01-09 13:29:57
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
2024-01-09 13:29:57
at cn.zcyun.xcloud.business.gateway.webconfig.filters.MyFilter.doFilter(MyFilter.java:40)
2024-01-09 13:29:57
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2024-01-09 13:29:57
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
2024-01-09 13:29:57
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
2024-01-09 13:29:57
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2024-01-09 13:29:57
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
2024-01-09 13:29:57
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
2024-01-09 13:29:57
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:848)
2024-01-09 13:29:57
at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
2024-01-09 13:29:57
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:863)
2024-01-09 13:29:57
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:971)
2024-01-09 13:29:57
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:904)
2024-01-09 13:29:57
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:970)
2024-01-09 13:29:57
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:50)
2024-01-09 13:29:57
at org.springframework.cloud.netflix.zuul.web.ZuulController.handleRequest(ZuulController.java:44)
2024-01-09 13:29:57
at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:159)
2024-01-09 13:29:57
at com.netflix.zuul.http.ZuulServlet.service(ZuulServlet.java:81)
2024-01-09 13:29:57
at com.netflix.zuul.http.ZuulServlet.route(ZuulServlet.java:116)
2024-01-09 13:29:57
at com.netflix.zuul.ZuulRunner.route(ZuulRunner.java:96)
2024-01-09 13:29:57
at com.netflix.zuul.FilterProcessor.route(FilterProcessor.java:118)
2024-01-09 13:29:57
at com.netflix.zuul.FilterProcessor.runFilters(FilterProcessor.java:157)
2024-01-09 13:29:57
at com.netflix.zuul.FilterProcessor.processZuulFilter(FilterProcessor.java:193)
2024-01-09 13:29:57
at com.netflix.zuul.ZuulFilter.runFilter(ZuulFilter.java:112)
2024-01-09 13:29:57
at org.springframework.cloud.netflix.zuul.filters.route.RibbonRoutingFilter.run(RibbonRoutingFilter.java:111)
2024-01-09 13:29:57
at org.springframework.cloud.netflix.zuul.filters.route.RibbonRoutingFilter.forward(RibbonRoutingFilter.java:163)
2024-01-09 13:29:57
at org.springframework.cloud.netflix.zuul.filters.route.RibbonRoutingFilter.handleException(RibbonRoutingFilter.java:188)
2024-01-09 13:29:57
com.netflix.zuul.exception.ZuulException: Forwarding error