Questions tagged [netflix-ribbon]

Ribbon is a Inter Process Communication (remote procedure calls) library with built in software load balancers. The primary usage model involves REST calls with various serialization scheme support.

238 questions
1
vote
0 answers

Ribbon failed fetching serverlist from Eureka

I'm trying to use ribbon together with eureka, but my consumer application failed with error below: 2021-01-07 19:02:20.441 INFO 2768 --- [io-10100-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet…
1
vote
1 answer

Providing URL for @FeignClient by service name in application.properties without load balancer

I want to use Feign client and provide URL in application.properties by service name. Prerequisites: I use Spring Boot and I have dependency to Feign from Spring Cloud: org.springframework.cloud
mkczyk
  • 2,460
  • 2
  • 25
  • 40
1
vote
1 answer

How can I authenticate a Ribbon load balancer and Zuul proxy using a certificate?

I have a Spring application, that acts as an authentication proxy for two backend servers. A user will access the Spring application and be forwarded to the backend once he is successfully authenticated. To prevent unwanted access without prior…
1
vote
0 answers

"com.netflix.client.ClientException: Load balancer does not have available server for client: forex-service"

I am new to microservices and just trying to create two microservices and register them to eureka. I am getting the below exception : "com.netflix.client.ClientException: Load balancer does not have available server for client: forex-service". …
New Bee
  • 1,007
  • 4
  • 18
  • 34
1
vote
1 answer

Netflix Ribbon throws No instances available for MY-MICROSERVICE exception

My application uses Eureka and Ribbon. I'm trying to get two microservices to talk to each other. Below is my method of concern. @Autowired @LoadBalanced private RestTemplate client; @Autowired private DiscoveryClient dClient; public String…
1
vote
2 answers

Error in pom.xml due to ribbon dependency

Getting the project build error message Project build error: 'dependencies.dependency.version' for org.springframework.cloud:spring-cloud-starter-ribbon: This my pom.xml file.
Girish
  • 33
  • 2
  • 6
1
vote
0 answers

Spring Cloud Ribbon Load balance sequence

Could anyone with Ribbon experience help me check if my understanding of Ribbon correct.
YoungLearnsToCoding
  • 427
  • 1
  • 3
  • 10
1
vote
2 answers

Sticky session Ribbon rule in Zuul always has null request

I am attempting to implement a sticky session load balancer rule in a Zuul proxy service. I am using the code from this example:…
1
vote
1 answer

Spring Cloud Ribbon throws exception called No instances available for serverurl

I am using spring boot with spring could ribbon. I did all configuration of ribbon. But when I send a request to rest controller, it throws an exception called No instances available for serverurl. How can I fix this? These are my…
1
vote
1 answer

Custom Loadblancer rule in Spring cloud Ribbon Zookeeper

Having problem in setting up custom load balancer rule with ribbon-zookeeper-discovery, Current rule provider are ROUND_ROBIN, RANDOM and STICKY, However I wanted to have custom rule. There is no way to customize it hence tried overide the bean…
1
vote
1 answer

Error "Load balancer does not have available server for client" when using zuul and eureka

I have a couple of microservices on Heroku - eureka-server, Zuul server and some app services. While I am trying to reach any of my services, for example, "service1" via Zuul gateway, Zuul is unable to forward the request to the respective service…
1
vote
0 answers

Ribbon giving 404 response on WebLogic 12c

I have the following spring boot applications structure: gateway application as zuul proxy. backend application as microservice. When I hit a rest service in backend through zuul routing using ribbon load balancer, give me 404 response. But when I…
Yousef
  • 36
  • 5
1
vote
1 answer

Create a Custom Spring Cloud Netflix Ribbon Client

I am using Spring Cloud Netflix Ribbon in combination with Eureka in a Cloud Foundry environment. The use case I am trying to implement is the following: I have a running CF application named address-service with several instances spawned. The…
FloW
  • 139
  • 10
1
vote
0 answers

ribbon binding ribbon to ServerIntrospectorConfig

After i have migrated my application from spring boot 1.5.6 to 2.1.3 it is giving me the following Error Description: Failed to bind properties under 'ribbon' to org.springframework.cloud.netflix.ribbon.ServerIntrospectorProperties: Reason: No…
1
vote
3 answers

Why does using ribbonReadTimeout don't break long request with Netflix Ribbon?

We are using Spring Boot 2.0.0.RELEASE with spring-cloud-starter-netflix-ribbon for our micro services. I set ribbon.readTimeout=1000 for slow requests and check it with our micro service setting breakpoint inside @GetMapping method without sending…