title: Rarely getting ClientException and ZuulException in spring boot, eureka, zuul, ribbon framework
body: <p>I have configured my project architecture using Spring Boot, Eureka, Zuul, Ribbon frameworks.
  Its working fine but sometimes (rarely) getting the following exceptions:</p>
  
  <ol>
  <li>Caused by: com.netflix.client.ClientException: Load balancer does not have available server for client: <strong>service1</strong></li>
  <li>Caused by: com.netflix.hystrix.exception.HystrixRuntimeException: <strong>service1</strong> timed-out and no fallback available.</li>
  </ol>
  
  <p>Below are my services configurations: 
  Have a look and please let me know if I missed anything which causing the issues for above exceptions.</p>
  
  <p><strong>eureka service application.properties:</strong></p>
  
  <pre><code>server.port=8070
  spring.application.name=eureka_service
  eureka.client.register-with-eureka=false
  eureka.client.fetch-registry=false
  eureka.instance.hostname=localhost
  eureka.client.service-url.defaultZone=http://${eureka.instance.hostname}:8070/eureka/
  logging.level.com.netflix.eureka=OFF
  logging.level.com.netflix.discovery=OFF
  </code></pre>
  
  <p><strong>zuul service application.properties:</strong></p>
  
  <pre><code>server.port=8071
  spring.application.name=zuul_service
  zuul.prefix=/api
  zuul.routes.service1.path=/service1/**
  zuul.routes.service1.service-id=service1
  eureka.client.register-with-eureka=true
  eureka.client.fetch-registry=true
  eureka.instance.hostname=localhost
  eureka.client.service-url.defaultZone=http://${eureka.instance.hostname}:8070/eureka/
  ribbon.eureka.enabled=true
  </code></pre>
  
  <p><strong>service1 application.properties:</strong></p>
  
  <pre><code>server.port=8072
  spring.application.name=service1
  eureka.client.register-with-eureka=true
  eureka.client.fetch-registry=true
  eureka.instance.hostname=localhost
  eureka.client.service-url.defaultZone=http://${eureka.instance.hostname}:8070/eureka/
  ribbon.eureka.enabled=true
  </code></pre>
  
  <p>Please let me know if I need to add any other configuration to resolve ?
  Thanks.</p>