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.
Questions tagged [netflix-ribbon]
238 questions
2
votes
1 answer
Eureka Ribbon LoadBalancer Cache update delay
I am setting up a micro service based application, where Aggregation layer / API gateway makes calls to micro services. Eureka is used for service discovery and Ribbon for providing a load balancing RestTemplate.
Postman calls Aggregation-->…

Hamid
- 717
- 7
- 15
2
votes
2 answers
Connection refused for spring cloud (Eureka/Ribbon) on pivotal web service
I have a Spring Cloud application (Eureka, Ribbon, Zuul) that runs perfectly locally in Spring Tools Suite. When I deploy to Pivotal Web Services, the services register with Eureka (i.e., they show up in the Eureka console), but when I try to have…

Jim
- 81
- 1
- 6
2
votes
1 answer
eureka ribbon integration - Unable to list servers
I am getting the following exception when I am trying to execute the following code that uses ribbon and tries to get server list from eureka.
Exception
3122 [main] WARN com.netflix.loadbalancer.RoundRobinRule - No up servers available from load…

Divs
- 1,578
- 2
- 24
- 51
2
votes
1 answer
How to call Eureka server from external API to use my Service Applications?
I created an Eureka server and two Service Appications that are my Eureka Clients. These applications and Eureka are properly running and register themselves on Eureka.
How can I call the Eureka Server from an external API to call my Service…

Lucas
- 1,251
- 4
- 16
- 34
2
votes
1 answer
Ribbon client not able to discover microservices registered with eureka
Hi I have created two microservices 1. spotparkin and 2. spotparking2 and they have successfully registered with eureka server then I created ribbon client and tried making a rest call using the application name spotpaking , which is application…

focode
- 648
- 1
- 16
- 39
2
votes
1 answer
Have ribbon use a custom SSLContext
I have a spring boot app with zuul and ribbon (no eureka) and I need to forward all traffic over https with mutual tls. The keystore and password are all automatically generated by an internal framework. At the end I end up with an SSLContext spring…

bjoern
- 1,009
- 3
- 15
- 31
2
votes
1 answer
loadbalanced ribbon client initialization against discovery service (eureka)
I have service which runs some init scripts after application startup (implemented with ApplicationListener). In this scripts I need to call another services with RestTemplate which is @LoadBalanced. When the call to service…

bilak
- 4,526
- 3
- 35
- 75
2
votes
2 answers
@LoadBalanced RestTemplate to call nested context endpoints
The below guide page is great and works as a base case for ribbon in a spring boot application.
https://spring.io/guides/gs/client-side-load-balancing/
The example stops working as soon as the endpoint mappings become nested - e.g. adding…

nmadzharov
- 482
- 2
- 6
- 12
2
votes
1 answer
spring cloud zuul failover with eureka and deploy multiple eureka instances dynamically
Recently I've been working on an API gateway project. However, for service registry and discovery I run into some issues regarding to Zuul failover and dynamically deploy of multiple Eureka instances. The following is my project.
eureka server…

rejoice
- 21
- 2
2
votes
1 answer
FeignClient With Client Certificate And Docker
I have a requirement for my microservices to utilize two way ssl. Each microservice is a Spring Boot Application, annotated with:
@SpringBootApplication
@EnableFeignClients
@EnableDiscoveryClient
@EnableZuulProxy
public class Application {
…

Hank
- 1,231
- 2
- 9
- 7
2
votes
1 answer
Zuul filter to duplicate traffic
I would like to use Zuul to efficiently (asynchronously) route a copy of my traffic to a debug service for testing. I am new to Zuul and am looking through existing filter to find a neat way to do this but I haven't found a good example yet. Is…

bjoern
- 1,009
- 3
- 15
- 31
1
vote
1 answer
Can one setup Spring Boot 2.6 and Spring Cloud 2021.x to use Ribbon and Hystrix with Spring WebClient and Feign?
I know that Spring Cloud at some version (3.0?) dropped direct support for some Netflix libraries like Ribbon or Hystrix. Now I'm trying to make a smooth migration of around 20 microservices running on production having some custom code extending…

Krzysztof Tomaszewski
- 1,033
- 11
- 16
1
vote
0 answers
Spring boot 2.5.4 / Spring cloud 2020.0.3 netflix ribbon conflict
While trying to upgrade from Spring boot 2.0.3 to 2.5.4, there's an issue with the RibbonLoadBalancerClient class from the spring-cloud-netflix-ribbon dependency which implements the ServiceInstanceChooser interface from…

Nayeem
- 681
- 15
- 35
1
vote
1 answer
Load balancing via Eureka, ribbon?
Does Eureka provide load balancing out of the box, is there a need for another
dependency?
Why Ribbon instead of Eureka?
Why use load balancing via an API gateway?
spring-cloud-starter-loadbalancer, why is this required?
Client side balancing or…

YellowFootMountain
- 13
- 3
1
vote
0 answers
How to distribute Traffic between two micro services when it is called from third service based on TPS Percentage
Detailed Requirement : If there are two services say A and B and we want to distribute traffic in 10% & 90% basis then 10% of traffic should get routed to Service-A & 90% to Service-B from service C
We tried this with Netflix Ribbon but to get the…

swati mishra
- 11
- 2