spring cloud gateway throws负载均衡器没有可用于客户端的服务器

时间:2018-03-15 13:52:13

标签: spring-cloud spring-cloud-gateway

Eureka + Gateway + BackendServerA + BackendServerB。 BackendServerB关闭后,它会抛出异常:

com.netflix.zuul.exception.ZuulException: Forwarding error
Caused by: com.netflix.client.ClientException: Load balancer does not have available server for client: service-B

手动重启serverB后的事件,它仍然会返回相同的错误,返回500个http代码。但是,如果我在Gateway之前打开其他3台服务器,它可以正常工作。我使用application.properties文件来配置路由。

0 个答案:

没有答案
相关问题