springcloud Zuul超时问题,配置不生效

{"timestamp":1513059506752,"status":500,"error":"Internal Server Error","exception":"com.netflix.zuul.exception.ZuulException","message":"TIMEOUT"}
超过5秒就超时,网关配置:
hystrix:
  command:
    default:
      execution:
        isolation:
          thread:
            timeoutInMilliseconds: 60000
ribbon:
  ReadTimeout: 50000
  ConnectTimeout: 50000
zuul:
  host:
    socket-timeout-millis: 60000
    connect-timeout-millis: 60000
已邀请:

snakebark

赞同来自:

是不是用了eureka,如果用了eureka可能是因为eureka的自我保护机制,导致已经下线的引用还在线上,以至于引起了zuul的超时,可以先看看eureka这边的配置

要回复问题请先登录注册