springcloud+ribbon+nacos遇到的一个坑
基本情况:项目始终不能正确加载配置文件里的内容;
表象:
由于ribbon默认的超时时间是1000毫秒,也就是1秒,这肯定是不行的,一请求就会报错:
error: "Gateway Timeout"
message: "com.netflix.zuul.exception.ZuulException: Hystrix Readed time out"
status: 504
所以就在ap...
原创
2019-06-08 17:08:11 ·
9644 阅读 ·
1 评论