Я использую Netflix Zuul и Eureka.В Eureka зарегистрировано 3 экземпляра моего клиентского приложения и 6 экземпляров шлюза Zuul, зарегистрированных в той же Eureka.Когда я пытаюсь вызвать конечные точки моего клиента с помощью URL-адреса Zuul Gateway, я получаю следующую ошибку:
com.netflix.zuul.exception.ZuulException: Forwarding error
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.cloud.netflix.zuul.filters.route.RibbonRoutingFilter.handleException(RibbonRoutingFilter.java:188) ~[spring-cloud-netflix-core-1.4.0.M1.jar!/:1.4.0.M1]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.cloud.netflix.zuul.filters.route.RibbonRoutingFilter.forward(RibbonRoutingFilter.java:163) ~[spring-cloud-netflix-core-1.4.0.M1.jar!/:1.4.0.M1]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.cloud.netflix.zuul.filters.route.RibbonRoutingFilter.run(RibbonRoutingFilter.java:111) ~[spring-cloud-netflix-core-1.4.0.M1.jar!/:1.4.0.M1]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at com.netflix.zuul.ZuulFilter.runFilter(ZuulFilter.java:112) ~[zuul-core-1.3.0.jar!/:1.3.0]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at com.netflix.zuul.FilterProcessor.processZuulFilter(FilterProcessor.java:193) ~[zuul-core-1.3.0.jar!/:1.3.0]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at com.netflix.zuul.FilterProcessor.runFilters(FilterProcessor.java:157) ~[zuul-core-1.3.0.jar!/:1.3.0]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at com.netflix.zuul.FilterProcessor.route(FilterProcessor.java:118) ~[zuul-core-1.3.0.jar!/:1.3.0]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at com.netflix.zuul.ZuulRunner.route(ZuulRunner.java:96) ~[zuul-core-1.3.0.jar!/:1.3.0]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at com.netflix.zuul.http.ZuulServlet.route(ZuulServlet.java:116) ~[zuul-core-1.3.0.jar!/:1.3.0]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at com.netflix.zuul.http.ZuulServlet.service(ZuulServlet.java:81) ~[zuul-core-1.3.0.jar!/:1.3.0]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:157) [spring-webmvc-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.cloud.netflix.zuul.web.ZuulController.handleRequest(ZuulController.java:44) [spring-cloud-netflix-core-1.4.0.M1.jar!/:1.4.0.M1]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:50) [spring-webmvc-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967) [spring-webmvc-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901) [spring-webmvc-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970) [spring-webmvc-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861) [spring-webmvc-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846) [spring-webmvc-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-embed-websocket-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55) [spring-boot-1.5.6.RELEASE.jar!/:1.5.6.RELEASE]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:110) [spring-boot-actuator-1.5.6.RELEASE.jar!/:1.5.6.RELEASE]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:208) [spring-security-web-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177) [spring-security-web-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262) [spring-web-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) [spring-web-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:105) [spring-web-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81) [spring-web-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197) [spring-web-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:106) [spring-boot-actuator-1.5.6.RELEASE.jar!/:1.5.6.RELEASE]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.cloudfoundry.router.ClientCertificateMapper.doFilter(ClientCertificateMapper.java:77) [client_certificate_mapper-1.5.0_RELEASE.jar!/:1.5.0.RELEASE]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:677) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_162]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_162]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-8.5.16.jar!/:8.5.16]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at java.lang.Thread.run(Thread.java:748) [na:1.8.0_162]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT Caused by: com.netflix.client.ClientException: null
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at com.netflix.client.AbstractLoadBalancerAwareClient.executeWithLoadBalancer(AbstractLoadBalancerAwareClient.java:123) ~[ribbon-loadbalancer-2.2.2.jar!/:2.2.2]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.cloud.netflix.zuul.filters.route.support.AbstractRibbonCommand.run(AbstractRibbonCommand.java:108) ~[spring-cloud-netflix-core-1.4.0.M1.jar!/:1.4.0.M1]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.cloud.netflix.zuul.filters.route.support.AbstractRibbonCommand.run(AbstractRibbonCommand.java:44) ~[spring-cloud-netflix-core-1.4.0.M1.jar!/:1.4.0.M1]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at com.netflix.hystrix.HystrixCommand$2.call(HystrixCommand.java:302) ~[hystrix-core-1.5.12.jar!/:1.5.12]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at com.netflix.hystrix.HystrixCommand$2.call(HystrixCommand.java:298) ~[hystrix-core-1.5.12.jar!/:1.5.12]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:46) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:35) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.Observable.unsafeSubscribe(Observable.java:10211) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:51) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:35) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.Observable.unsafeSubscribe(Observable.java:10211) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.73+0530 [RTR/0] OUT apigateway-iot.apps.com - [2018-12-14T04:34:19.692+0000] "GET /api/budget-pulse/budgetpulse/getPMWiseCurrentQtrUtilization?username=bpadmanaban.com HTTP/1.1" 500 0 147 "-" "PostmanRuntime/7.4.0" "10.126.187.1:23003" "192.168.20.68:61009" x_forwarded_for:"10.104.1.234, 10.126.187.1" x_forwarded_proto:"https" vcap_request_id:"602c5106-aff0-4fa7-7bea-ac86c40a53e1" response_time:2.045453689 app_id:"a51a0272-e812-4742-8856-d8eda59b2843" app_index:"0" x_b3_traceid:"2e8129f5a9438b1e" x_b3_spanid:"2e8129f5a9438b1e" x_b3_parentspanid:"-"
2018-12-14T10:04:21.73+0530 [RTR/0] OUT
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.Observable.unsafeSubscribe(Observable.java:10211) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.Observable.unsafeSubscribe(Observable.java:10211) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.Observable.unsafeSubscribe(Observable.java:10211) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.Observable.unsafeSubscribe(Observable.java:10211) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.Observable.unsafeSubscribe(Observable.java:10211) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:51) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:35) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.Observable.unsafeSubscribe(Observable.java:10211) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.Observable.unsafeSubscribe(Observable.java:10211) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.Observable.unsafeSubscribe(Observable.java:10211) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.Observable.unsafeSubscribe(Observable.java:10211) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:51) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:35) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.Observable.subscribe(Observable.java:10307) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.Observable.subscribe(Observable.java:10274) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.internal.operators.BlockingOperatorToFuture.toFuture(BlockingOperatorToFuture.java:51) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.observables.BlockingObservable.toFuture(BlockingObservable.java:412) ~[rxjava-1.1.10.jar!/:1.1.10]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at com.netflix.hystrix.HystrixCommand.queue(HystrixCommand.java:378) ~[hystrix-core-1.5.12.jar!/:1.5.12]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at com.netflix.hystrix.HystrixCommand.execute(HystrixCommand.java:344) ~[hystrix-core-1.5.12.jar!/:1.5.12]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at org.springframework.cloud.netflix.zuul.filters.route.RibbonRoutingFilter.forward(RibbonRoutingFilter.java:157) ~[spring-cloud-netflix-core-1.4.0.M1.jar!/:1.4.0.M1]
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT ... 77 common frames omitted
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT Caused by: java.lang.RuntimeException: org.apache.http.conn.ConnectTimeoutException: Connect to 10.255.4.65:8080 [/10.255.4.65] failed: connect timed out
2018-12-14T10:04:21.72+0530 [APP/PROC/WEB/0] OUT at rx.exceptions.Exceptions.propagate(Exceptions.java:58) ~[rxjava-1.1.10.jar!/:1.1.10]
Одно замечание, которое я сделал, когда я нажимаю URL-адрес шлюза, скажем 6 раз, 1 раз, когда он даетмне вывод, остальные 5 раз я получаю исключение netflix zuul.Ниже приведены мои свойства шлюза Zuul:
zuul:
include-debug:
header: true
debug:
request: true
#Service will be mapped under the /api URI
prefix: /api
host:
connect-timeout-millis: 100000
socket-timeout-millis: 100000
hystrix:
command:
default:
execution:
isolation:
thread:
timeoutInMilliseconds: 30000
ribbon:
ReadTimeout: 30000
IsSecure: false