当前位置:
首页 >
com.netflix.zuul.exception.ZuulException: Hystrix Readed time out
发布时间:2024/10/6
36
豆豆
生活随笔
收集整理的这篇文章主要介绍了
com.netflix.zuul.exception.ZuulException: Hystrix Readed time out
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
通过API网关路由来访问用户服务,zuul默认路由规则 :http://zuul的Host地址:zuul端口/要调用的服务名/服务方法地址
浏览器中打开http://127.0.0.1:8000/wallet/system/hello/1
报错:
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Tue Aug 07 17:49:01 CST 2018
There was an unexpected error (type=Gateway Timeout, status=504).
com.netflix.zuul.exception.ZuulException: Hystrix Readed time out
这个错误是应为zuul的默认超时时间比较小,我们配置下zuul的超时时间,因zuul启用了ribbon的负载均衡,还需要设置ribbon的超时时间,注意ribbon的超时时间要小于zuul超时时间 。
总结
以上是生活随笔为你收集整理的com.netflix.zuul.exception.ZuulException: Hystrix Readed time out的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: java.lang.IllegalSta
- 下一篇: node-sass 下载失败 解决方案