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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

Zuul Response filter getting blocked for sometime intermittently

We are using zuul 2.1.6 without eureka and we got the response back form down stream API but it's getting blocked for some reason in the response/outbound filter sometimes (not all the time). It's ...
karthik's user avatar
0 votes
0 answers
12 views

Hystrix fallback not getting called when using along with Feign

I am creating a springboot application.I have 2 applications Producer and Consumer. I am using Hystrix and Feign together. When I am calling wrong producer endpoint then fallback is not executing ...
Ankit's user avatar
  • 267
0 votes
1 answer
61 views

Feign and Ribbon [Load balancer does not contain an instance for the service <Service_Name>]

In pom.xml file <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
Sadina Khatun's user avatar
0 votes
1 answer
94 views

How can we implement client-side load balancing with reactive netty?

My microservice is required to direct requests between 2 different servers via TCP connection. Using the current TCPClient, we are required to provide the host & port numbers which means that I ...
roroWorld's user avatar
0 votes
0 answers
15 views

Is there a solution if a ribbon client-side load balancing is down?

Based on my understanding of load-balancing, requests are forwarded to multiple instances of a service so that if one service is down, it will be redirected to one that is available. I have created a ...
Rion's user avatar
  • 1
0 votes
1 answer
73 views

RibbonClient is not working. Field required a bean of type that could not be found

Error : Field proxy in com.project.currencyconversionservice.CurrencyConversionController required a bean of type 'com.project.currencyconversionservice.CurrencyExchangeServiceProxy' that could not be ...
vinoth kumar's user avatar
0 votes
0 answers
22 views

the property ribbon.PoolMaxThreads doesn't work?

1.what does ribbon.PoolMaxThreads mean? it means ribbon has its own thread pools? 2.whether ribbon.PoolMaxThreads configure hystrix's thread pool? I use zuul1 as the API Gateway of my application, and ...
littleJass's user avatar
0 votes
1 answer
485 views

How to specify Ribbon Configuration for a specific Feign client in a Spring Boot project having multiple Feign clients?

I have a spring boot project which is having two Feign Client's. First Feign client (i.e. ServiceAProxy.class below), which will work on Service Discovery using Eureka or Consul. @FeignClient(name=&...
Shivam Som's user avatar
0 votes
1 answer
2k views

required a bean of type 'org.springframework.cloud.netflix.ribbon.SpringClientFactory' that could not be found

I have this test project which I would like to migrate to more recent version: @Configuration public class LoadbalancerConfig extends RibbonLoadBalancerClient { public LoadbalancerConfig(...
Peter Penzov's user avatar
  • 1,464
1 vote
1 answer
1k views

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 ...
Krzysztof Tomaszewski's user avatar
1 vote
0 answers
2k views

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 ...
Nayeem's user avatar
  • 681
2 votes
1 answer
117 views

Filter services based on Eureka metadata with Zuul

We use Spring Cloud Netflix Zuul along with Eureka in our environment. I understand Ribbon obtains the server list from Eureka for specified serviceId. In our case we have 4 containers of a service, ...
eprabab's user avatar
  • 101
1 vote
1 answer
940 views

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, ...
YellowFootMountain's user avatar
6 votes
3 answers
10k views

is there any difference in maven dependency for Netflix zuul and ribbon while upgrading to Spring boot 2.5.1 and spring cloud 2020.0.3

I am trying to upgrade my spring boot version from 2.1.5.RELEASE to 2.5.1, so I have changed the spring cloud version from Greenwich.RELEASE to 2020.0.3 according to release train Spring Boot ...
Bond1705's user avatar
0 votes
0 answers
60 views

Can we customize or configure RPC or method call in place of endpoint(URL) for Netflix Ribbon or Spring Cloud Gateway?

In my project requirement, We need to distribute the load between two different micro services but call of the two microservices are not based on the endpoint(URL) but it is calling via it's SDK-...
Spandan's user avatar
  • 11
0 votes
0 answers
298 views

Dynamic timeout for each api in spring eureka

I am facing timeout problem while downloading excel reports from my web application. The application is follows microservices archtecture build using spring-cloud. The Api timed out as i had set the ...
Vikram Saini's user avatar
  • 2,733
1 vote
0 answers
121 views

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 ...
swati mishra's user avatar
0 votes
0 answers
412 views

Is there any way to configure the traffic load distribution based on percentage value

We have two micro services Say Service MS-AA & MS-BB and we have configured the load as 10% for MS-AA & 90% for MS-BB from a third microservice-XYZ Does Netflix Ribbon can solve my problem? If ...
Spandan's user avatar
  • 11
0 votes
1 answer
556 views

Deployment Context Based Vip Address in Spring Cloud Load Balancer

We are looking to of move to Spring Cloud Load Balancer to replace Ribbon. We use Eureka for service discovery and registration. It looks like as of Spring Cloud Netflix 3.x, the ...
xenobc's user avatar
  • 1
2 votes
0 answers
4k views

Spring Cloud disable Ribbon is not working with Netflix Zuul dependency

We're using openfeign client in our spring application: <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-openfeign-core</artifactId&...
Sepultura's user avatar
  • 997
0 votes
1 answer
321 views

ZUUL API GATEWAY RIBBONCLIENT REQUEST ERROR

l am trying to set an API Gateway for Microservices by using zuul api,eureka server, docker and docker compose. l have a client like that. @SpringBootApplication @EnableFeignClients("com....
almtl's user avatar
  • 95
1 vote
0 answers
931 views

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].[/] : ...
Joshua's user avatar
  • 11
1 vote
1 answer
6k views

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: <dependency> <...
mkczyk's user avatar
  • 2,530
0 votes
1 answer
163 views

Custom AOP spring boot annotation with ribbon client blocking api call with return "1"

I have really poor experience with ribbon/eureka so forgive me if this is a stupid question: I have two different microservice both connected to a discovery server, the first one calls the second ...
Peo's user avatar
  • 25
0 votes
1 answer
474 views

Spring Cloud - Use @LoadBalaneced RestTemplate in Zuul

I have a common Spring Cloud architecture in my project: eureka for service discovery, zuul as a reverse proxy and some microservices. I want to be able to access the microservices from zuul ...
Garuno's user avatar
  • 1,982
2 votes
0 answers
251 views

SpringBoot RestTemplate timeout when using LoadBalanced

I am new to microservices and trying a demo project where I have one Customer micro service communicating with a CRUD micro service. I am using Eureka server for discovery. CRUD service has all the ...
Mohit's user avatar
  • 41
-1 votes
1 answer
859 views

Getting zuul forwarding error.Connected all services with eureka

Zuul->application.properties spring.application.name=zuul-api-gateway server.port=6060 eureka.client.service-url.defaultZone = http://localhost:8761/eureka eureka.instance.lease-expiration-...
Gaurav Pingale's user avatar
0 votes
1 answer
233 views

Using Netflix Ribbon without Spring Boot in Legacy Application

I work at an application which is using Apache Mina as SFTP Server. The application itself is started as jar and sends rest requests to our backend. I now want to use Netflix Ribbon without turning ...
MDienel's user avatar
0 votes
1 answer
454 views

RestTemplate getForEntity method throws null pointer exception

I am using RestTemplate with Ribbon Client @LoadBalanced. When I am calling my service - time-service(logical identifier) using Discovery Server, which is running on two instances, it is throwing null ...
vikash singh's user avatar
  • 1,489
1 vote
1 answer
159 views

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 ...
iRec's user avatar
  • 21
7 votes
0 answers
5k views

Spring Loadbalancer Configuration without a discovery server

I am currently working on a POC about client side load balancing.  I thought to use Spring Cloud Loadbalancer for that. But unlike Netflix Ribbon, I could not find a way to configure Spring Cloud ...
tnishada's user avatar
  • 1,325
0 votes
1 answer
1k views

How to remove Ribbon from Spring cloud Gateway

Currently I am using Ribbon with Spring cloud gateway for load balancing (I am not using a discovery server for this and have provided a set of IP addresses to Ribbon). But since Ribbon's days are ...
tnishada's user avatar
  • 1,325
0 votes
1 answer
261 views

OAuth2RestTemplate with Ribbon + Eureka

I am working on microservices with Spring Cloud and Netflix OSS Eureka and Ribbon. I have another service running as oauth-server which provides OAuth2 token. All my microservices are registered with ...
Hamid's user avatar
  • 727
-1 votes
1 answer
233 views

Difference between Kafka and load balancer (Ribbon)

I am new to Kafka. I have existing microservice with spring-boot, ribbon, eruka, and zuul. If I use Kafka as the messaging platform between each microservice call, does kafka provide load ...
xibrian's user avatar
  • 85
0 votes
1 answer
55 views

Polyglot and Client Side Load Balancing

With the Cloud Foundry Feature, "Polyglot" for integrated Service Discovery and direct communication between service containers through the internal routes, How does the Load Balancing work? Is Cloud ...
Sabari's user avatar
  • 137
0 votes
1 answer
134 views

Change port number in netflix ribbon

I have two services. One runs on port 8001 and it registered in eureka server, other runs on port 8002, and doesn't exist in eureka. I want to change port 8001 to 8002 in my local ribbon client. I ...
user3756506's user avatar
2 votes
3 answers
5k views

How to fix no instance available for micro service using ribbon client

I am doing client side load balancing using ribbon client. i am implementing micro services spring boot 2.2.6.RELEASE. I have CHAT-BOOK and USER-APP two micro services. I have added required ...
yellaiah's user avatar
0 votes
1 answer
409 views

Why can't the load balancer find needed microservice using eureka?

The clientui serves webpages, using data from the 3 microservices. I succesfully setted up ribbon to load balance between 2 instances of "microservice-produits". It works when i have this line ...
xpz's user avatar
  • 268
1 vote
0 answers
299 views

"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 ...
New Bee's user avatar
  • 1,017
0 votes
0 answers
207 views

Zuul Exception, Hystrix readed timeout

com.netflix.zuul.exception.ZuulException: at org.springframework.cloud.netflix.zuul.filters.post.SendErrorFilter.findZuulException(SendErrorFilter.java:118) ~[spring-cloud-netflix-zuul-2.2.1....
Sachin Titus's user avatar
  • 2,051
0 votes
0 answers
851 views

KubernetesClientException - Operation Get failed

I am using Netflix Zuul for an edge service. Once in a while, the PollingServerListUpdater fails one update cycle with a timeout. Otherwise it runs fine. Could this be due to an unstable environment ...
Anders Lassen's user avatar
0 votes
1 answer
1k views

No qualifying bean of type 'com.netflix.client.config.IClientConfig' available:expected at least 1 bean which qualifies as autowire candidate

I'm creating a loadbalancer using Netflix round ribbon but i am not able to auto wire IClientConfig this object. I tried this also @SpringBootApplication(scanBasePackages{"com.netflix.client.confg....
prachi's user avatar
  • 113
0 votes
1 answer
441 views

RestTemplate annotated by @LoadBalanced get wrong service address by service name from eureka sometimes

I use springcloud to build the system, including many microservices。 For some interface calls, I use resttemplate annotated by @LoadBalance to implement load balancing, and use eureka as a registry ...
xuelei's user avatar
  • 1
3 votes
0 answers
403 views

Customize retries behaviour with Ribbon and Hystrix

Objective I have a task to write API Gateway & load balancer with the following objectives: Gateway/LB should redirect requests to instances of 3rd party service (no code change = client-side ...
VB_'s user avatar
  • 45.2k
0 votes
1 answer
585 views

Get list of all reachable servers regardless of Zone with Ribbon load balancer

We are having 4 zones, each zone having a zuul and UI service running. Ribbon is our load balancer across services. We are achieving sticky session in Zuul with a custom load balancing rule as ...
Seeker's user avatar
  • 2,415
0 votes
1 answer
2k views

How to Temporarily Disable Eureka Server support in Ribbon and FeignClient

I have two micro-services(car-management-service & rent-management-service), in rent-management-service i'm calling car-management-service through Ribbon& FeignClient with the help of Eureka ...
Akila Supun's user avatar
1 vote
1 answer
1k views

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 ...
Kameswaran Ganesh's user avatar
1 vote
2 answers
2k views

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. <?xml ...
Girish's user avatar
  • 33
0 votes
1 answer
3k views

How to stop "DiscoveryClient: java.lang.IllegalStateException: Shutdown in progress" when Client Shutdown. Cannot use actuator

I create a client of one microservice that uses Eureka (and load balancing with ribbon) and then when I connected it works fine and finish ok microservice functions but when client works finish and ...
Xiul's user avatar
  • 103
6 votes
1 answer
6k views

Is it possible to use @FeignClient without ribbon?

I want to use @FeignClient(url=...) and make it go directly to the given url instead of picking up hosts from ribbon config. I am aware that in spring-cloud feign comes together with ribbon and ...
fyrkov's user avatar
  • 2,415

1
2 3 4 5