com.netflix.zuul.exception.ZuulException: 和 com.netflix.zuul.exception.ZuulException: Forwarding error


今天我报了一个错

com.netflix.zuul.exception.ZuulException:
 

在网上查了以后在yml里配置(要注意空格不能用Tab)

 
hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds: 60000
ribbon:
  ConnectTimeout: 3000
  ReadTimeout: 60000

然后又报一个

com.netflix.zuul.exception.ZuulException: Forwarding error
 

 改了以后就不报了

 
zuul:
  host:
    socket-timeout-millis: 60000
    connect-timeout-millis: 60000
 
hystrix:
  command:
    default:
      execution:
        isolation:
          thread:
            timeoutInMilliseconds: 60000


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM