-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Load balancer does not have available server for client". Is this a bug or my config was wrong? #532
Comments
After I did a basic debug, I find the allServerList in the class BaseLoadBalancer is null. Not sure if this info is useful. |
for your zuul application.yml fetch the registry as below
|
@senyoAsamoah Thanks. Can I manully define route rather than use fetchRegistry? |
You can manually define, just use the url field in the routes definition for zuul |
hi,I have the same question to yours.do you haven solved it ,please? |
I got it ! you could check out your maven file that must imput the "spring-cloud-starter-netflix-eureka-client",not the "spring-cloud-netflix-eureka-client".because the "spring-cloud-starter-netflix-eureka-client" include ribbon-eureka,but the other one is not . with ribbon-eureka ,it can do the balance.^_^ |
That solved my problem. |
Configurations Basic Eureka Client only set this -> eureka.client.enabled=false |
this solved my problem, too. |
ncie,thank you |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
您好,您的邮件已收到,谢谢!
|
I noticed that many people asked the same question, But I tried their ways, but my problem is still there.
I use spring-boot + eureka + zuul,
spring.cloud.version: 2.0.2.RELEASE
Here is the Eureka server:
and the application.yml for eureka server:
Then here is the Zuul server:
and the application.yml for Zuul
and a microservice file-management:
application.yml
I have this problem for a couple of days, Any help would be great appreciated!
The text was updated successfully, but these errors were encountered: