These are chat archives for spring-cloud/spring-cloud

16th
Mar 2016
Tommy Ludwig
@shakuzen
Mar 16 2016 01:16
@marcosbarbero I just had it happen again in our STG environment. Some files were mysteriously deleted from the local repo again and therefore it would not update the branch to the latest commit. I took a backup of the .git directory to take a look at the git logs later. Maybe I'll find something in there that sheds some light on the cause.
Marcos Barbero
@marcosbarbero
Mar 16 2016 01:18
@shakuzen would help a lot!
Fairuz Wan Ismail
@wmfairuz
Mar 16 2016 08:46
Hi, I keep having this error on when accessing one of my services through Zuul (other services have no problem). com.netflix.zuul.exception.ZuulException: Forwarding error. Like one in 4/5 request will results in the forwarding error. I wonder what can I do to avoid / debug this.
2016-03-16 08:48:31.685 DEBUG 1 --- [nio-8020-exec-2] o.s.c.n.zuul.web.ZuulHandlerMapping      : Mapping [/media/album] to HandlerExecutionChain with handler [org.springframework.cloud.netflix.zuul.web.ZuulController@4d308925] and 1 interceptor
2016-03-16 08:48:31.686 DEBUG 1 --- [nio-8020-exec-2] o.s.web.cors.DefaultCorsProcessor        : Skip CORS processing, response already contains "Access-Control-Allow-Origin" header
2016-03-16 08:48:31.686 DEBUG 1 --- [nio-8020-exec-2] o.s.c.n.zuul.filters.SimpleRouteLocator  : Finding route for path: /media/album
2016-03-16 08:48:31.686 DEBUG 1 --- [nio-8020-exec-2] o.s.c.n.zuul.filters.SimpleRouteLocator  : servletPath=/zuul
2016-03-16 08:48:31.686 DEBUG 1 --- [nio-8020-exec-2] o.s.c.n.zuul.filters.SimpleRouteLocator  : path=/media/album
2016-03-16 08:48:31.686 DEBUG 1 --- [nio-8020-exec-2] o.s.c.n.zuul.filters.SimpleRouteLocator  : Matching pattern:/media/**
2016-03-16 08:48:33.693  WARN 1 --- [nio-8020-exec-2] o.s.c.n.z.filters.post.SendErrorFilter   : Error during filtering

com.netflix.zuul.exception.ZuulException: Forwarding error
        at org.springframework.cloud.netflix.zuul.filters.route.RibbonRoutingFilter.forward(RibbonRoutingFilter.java:135) ~[spring-cloud-netflix-core-1.1.0.BUILD-SNAPSHOT.jar!/:1.1.0.BUILD-SNAPSHOT]
        at org.springframework.cloud.netflix.zuul.filters.route.RibbonRoutingFilter.run(RibbonRoutingFilter.java:76) ~[spring-cloud-netflix-core-1.1.0.BUILD-SNAPSHOT.jar!/:1.1.0.BUILD-SNAPSHOT]
        at com.netflix.zuul.ZuulFilter.runFilter(ZuulFilter.java:112) ~[zuul-core-1.1.0.jar!/:1.1.0]
        at com.netflix.zuul.FilterProcessor.processZuulFilter(FilterProcessor.java:197) ~[zuul-core-1.1.0.jar!/:1.1.0]
        at com.netflix.zuul.FilterProcessor.runFilters(FilterProcessor.java:161) ~[zuul-core-1.1.0.jar!/:1.1.0]
        at com.netflix.zuul.FilterProcessor.route(FilterProcessor.java:120) ~[zuul-core-1.1.0.jar!/:1.1.0]
        at com.netflix.zuul.ZuulRunner.route(ZuulRunner.java:96) ~[zuul-core-1.1.0.jar!/:1.1.0]
        at com.netflix.zuul.http.ZuulServlet.route(ZuulServlet.java:116) ~[zuul-core-1.1.0.jar!/:1.1.0]
        at com.netflix.zuul.http.ZuulServlet.service(ZuulServlet.java:81) ~[zuul-core-1.1.0.jar!/:1.1.0]
        at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:158) [spring-webmvc-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
        at org.springframework.cloud.netflix.zuul.web.ZuulController.handleRequestInternal(ZuulController.java:43) [spring-cloud-netflix-core-1.1.0.BUILD-SNAPSHOT.jar!/:1.1.0.BUILD-SNAPSHOT]
        at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:147) [spring-webmvc-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
        at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:50) [spring-webmvc-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959) [spring-webmvc-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893) [spring-webmvc-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:969) [spring-webmvc-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:871) [spring-webmvc-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:648) [tomcat-embed-core-8.0.30.jar!/:8.0.30]
        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:845) [spring-webmvc-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) [tomcat-embed-core-8.0.30.jar!/:8.0.30]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [tomcat-embed-core-8.0.30.jar!/:8.0.30]
        at org.apache.catalina.core
David Welch
@dwelch2344
Mar 16 2016 20:43
@wmfairuz have you tried adjusting timeouts? We were seeing that on a longer running request
I believe it's like 2-3 seconds by default
Spencer Gibb
@spencergibb
Mar 16 2016 20:46
:+1: