【发布时间】:2020-04-28 01:08:36
【问题描述】:
我使用 Zuul API 网关没有任何服务发现,通过指定 URL 路由,我总是收到以下读取超时异常,因为我的请求需要很长时间才能得到响应。 如何更改 application.yml 中的读取超时属性?
"timestamp": 1578652198489,
"status": 500,
"error": "Internal Server Error",
"exception": "com.netflix.zuul.exception.ZuulException",
"message": "Read timed out",
"trace": "com.netflix.zuul.exception.ZuulException: Read timed out
【问题讨论】: