Load balancer does not have available server for client
2017-06-13 12:42
423 查看
最近在研究spring-cloud,研究zuul组件时发生下列错误:
Caused by: com.netflix.client.ClientException: Load balancer does not have available server for client: zuul-server
解决办法就是在pom文件里添加
我测试的是通过zuul调用eureka注册的服务,网上文章写的不全,补上缺失的部分。可以参考网上的文章然后加上这部分就可以通过zuul调用eureka服务了。
我的示例代码在git上,不多说一切尽在代码中。
地址:https://github.com/leozhang123/springcloud-example.git
http://l7980.iteye.com/blog/2348574
Caused by: com.netflix.client.ClientException: Load balancer does not have available server for client: zuul-server
解决办法就是在pom文件里添加
<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-eureka</artifactId> </dependency>
我测试的是通过zuul调用eureka注册的服务,网上文章写的不全,补上缺失的部分。可以参考网上的文章然后加上这部分就可以通过zuul调用eureka服务了。
我的示例代码在git上,不多说一切尽在代码中。
地址:https://github.com/leozhang123/springcloud-example.git
http://l7980.iteye.com/blog/2348574
相关文章推荐
- zuul 集群报错 Load balancer does not have available server for client
- Load balancer does not have available server for client
- Feign报错Caused by: com.netflix.client.ClientException: Load balancer does not have available server for client
- Windows ->> FIX: “The security database on the server does not have a computer account for this workstation trust relationship”
- MYSQL新版出现"Clientdoesnotsupportauthenticationprotocolrequestedbyserver;consi
- Unable to start debugging on the web server. You do not have permission to debug the application. The URL for this project is in
- Client does not support authentication protocol requested by server; consider upgrading MySQL Client
- Client does not support authentication protocol requested by server: MYSQL
- [转帖]MYSQL升级导致的"Client does not support authentication protocol requested by server"
- [Sybase]Character set conversion is not available between client character set 'iso_1' and server character set 'cp936'.
- #1251 - Client does not support authentication protocol requested by server; consider upgrading MySQL client
- Mysql 4以上版本密码算法不同导致“Client does not support authentication protocol requested by server”错误
- 新版Mysql密码算法不同导致“Client does not support authentication protocol requested by server”错误
- MYSQL 新版出现" Client does not support authentication protocol requested by server; consider upgrading MySQL client"解决办法
- MYSQL 错误:Client does not support authentication protocol requested by server;
- 烦人的问题:Client does not support authentication protocol requested by server; consider upgrading MySQL client
- 解决方案:"Client does not support authentication protocol requested by server”错误
- PHPMYADMIN: #1251 - Client does not support authentication protocol requested by server; consider upgrading MySQL client
- ORA-12520 TNS:Listener count not find available handler for requested type of server错误解决办法
- 550 5.7.1 Client does not have permissions to send as this sender