使用zuul访问order-dev.yml报错504
来源:8-2 Zuul:路由转发,排除和自定义
土豆咬土豆
2019-07-22
springcloud的版本都和湿兄的一样
访问http://localhost:9001/product/product/list的时候可以正常返回数据
访问http://localhost:9001/config/order-dev.yml的时候报错504
com.netflix.zuul.exception.ZuulException: Hystrix Readed time out
日志如下
com.netflix.zuul.exception.ZuulException:
at org.springframework.cloud.netflix.zuul.filters.post.SendErrorFilter.findZuulException(SendErrorFilter.java:118) ~[spring-cloud-netflix-zuul-2.1.2.RELEASE.jar:2.1.2.RELEASE]
at org.springframework.cloud.netflix.zuul.filters.post.SendErrorFilter.run(SendErrorFilter.java:78) ~[spring-cloud-netflix-zuul-2.1.2.RELEASE.jar:2.1.2.RELEASE]
at com.netflix.zuul.ZuulFilter.runFilter(ZuulFilter.java:117) [zuul-core-1.3.1.jar:1.3.1]
at com.netflix.zuul.FilterProcessor.processZuulFilter(FilterProcessor.java:193) [zuul-core-1.3.1.jar:1.3.1]
at com.netflix.zuul.FilterProcessor.runFilters(FilterProcessor.java:157) [zuul-core-1.3.1.jar:1.3.1]
at com.netflix.zuul.FilterProcessor.error(FilterProcessor.java:105) [zuul-core-1.3.1.jar:1.3.1]
at com.netflix.zuul.ZuulRunner.error(ZuulRunner.java:112) [zuul-core-1.3.1.jar:1.3.1]
1回答
-
廖师兄
2019-07-22
com.netflix.zuul.exception.ZuulException: Hystrix Readed time out
超时了,你先继续往后看,课程里会讲超时配置的。
00
SpringCloud Finchley(M2+RELEASE+SR2)微服务实战
5668 学习 · 2489 问题
相似问题