java.lang.IllegalStateException: No instances available for localhost


Solutions on the web

Solution icon of stackoverflow
No instances available for localhost

Solution icon of stackoverflow
No instances available for DISCOVERY-CLIENT

Solution icon of github
No instances available for ACCOUNT

Solution icon of googlegroups
via Google Groups by Edison Xu, 6 months ago
No instances available for 10.1.110.21

Solution icon of github
via GitHub by anjia0532
, 1 year ago
No instances available for uaa

Solution icon of github
No instances available for shift-deducer

Solution icon of stackoverflow
No instances available for ACCOUNTS-SERVICE

Solution icon of stackoverflow
No instances available for AUTHENTICATION-SERVICE

Solution icon of github
No instances available for visits-service

Solution icon of stackoverflow
No instances available for ACCOUNTS-SERVICE

Stack trace

java.lang.IllegalStateException: No instances available for localhost
	at org.springframework.cloud.netflix.ribbon.RibbonLoadBalancerClient.execute(RibbonLoadBalancerClient.java:90)
	at org.springframework.cloud.client.loadbalancer.RetryLoadBalancerInterceptor$1.doWithRetry(RetryLoadBalancerInterceptor.java:60)
	at org.springframework.cloud.client.loadbalancer.RetryLoadBalancerInterceptor$1.doWithRetry(RetryLoadBalancerInterceptor.java:48)
	at org.springframework.retry.support.RetryTemplate.doExecute(RetryTemplate.java:276)
	at org.springframework.retry.support.RetryTemplate.execute(RetryTemplate.java:157)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Once, 1 week ago