Skip to main content

All Questions

0 votes
0 answers
58 views

Gateway service does not get informed about an updated service port

I have a cluster of Spring Cloud services; Eureka Server Gateway Client Service (port:0 so a random port is assigned on each startup) When I start all the applications up, everything looks good. ...
Eric's user avatar
  • 449
0 votes
0 answers
85 views

Using Spring Cloud Gateway and eureka on a Kubernetes deployment

I'm working with a system composed of several Spring Boot Microservices and I'm planning on deploying it on Kubernetes. I'm curious to understand if there would be any advantages in utilizing Spring ...
Ronen's user avatar
  • 817
0 votes
2 answers
575 views

Spring Cloud Gateway with Eureka Discovery not routing requests to Microservices

I'm working on a project with multiple microservices registered with a Eureka Discovery Server. I've set up a Spring Cloud Gateway as an Eureka client and configured the routes accordingly. However, ...
Delano van der Waal's user avatar
1 vote
1 answer
596 views

How to use Spring Cloud gateway MVC with a discovery client service like Eureka

I am facing the case of a "Legacy" gateway which has to create routes based on services registered with a DiscoveryClient compatible service registry (Eureka) with the constraints based on ...
j-mk's user avatar
  • 11
1 vote
0 answers
42 views

Using Multiple Spring Cloud Gateway Pods on OpenShift

We have a Spring Cloud Gateway project that is made of multiple smaller projects. We are using Netflix Eureka Server, Spring Cloud Gateway, and multiple microservices. We balance our load on all ...
Ahmed Tawila's user avatar
  • 1,028
0 votes
1 answer
53 views

Spring Cloud API Gateway routing does not work using NetFlix Eureka Registry

I'm trying to create a custom route on the gateway, to have control over which microservices the gateway will be able to distribute and it doesn't work. In this process I use the Registry Eureka, ...
rodrigo costa's user avatar
0 votes
0 answers
348 views

How to change load-balancing algorithm in Gateway

I am developing an microservices based app in Spring Boot 3.1.2. I need to change the default algorithm built into the gateway load balancer (load balancing on the server side is mandatory), ...
sertineitor's user avatar
0 votes
2 answers
1k views

Feign client is not working with Cloud gateway? throwing exception: java.lang.IllegalStateException: block()/blockFirst()/blockLast() are blocking

Building a simple microservice using Spring Boot version 3.1.3, which has two services one is api-gateway and another fisherman-service. API-Gateway is using cloud-gateway, eureka-cient and openfeign ...
Narendra Choudhary's user avatar
0 votes
0 answers
75 views

Send a message to the eureka server that the client will not be available

I have implemented such a structure: Two servers with Spring boot 3 - java 17. A spring cloud gateway server (spring-cloud.version: 2022.0.2). A eureka server (spring-cloud-netflix: 4.0.1). When I ...
mohammad.sh's user avatar
0 votes
1 answer
336 views

Unplanned refresh routes when use Spring Eureka Client in Spring Cloud Gateway

My Gateway is connected to Eureka Service Discovery. Every time a gateway client refresh its state in Eureka, all the routes in gateway are rebuilt. This is critical for me since I have redefined ...
Денис Дергачев's user avatar
0 votes
1 answer
386 views

How to change default execution time of ConfigClusterResolver

I setup a sample Spring Cloud Gateway project which is running fine. But I noticed that it updates the endpoints fetching data from Eureka server each 5 minutes. When it happens it prints the follow: ...
mvalho's user avatar
  • 91
0 votes
1 answer
3k views

Spring Cloud Gateway with Eureka discovery locator - 404

I'm setting up a microservices based application using Spring Cloud Gateway with Eureka discovery client. I have configured the Eureka server application, the Gateway application and a regular service....
rcirne's user avatar
  • 23
1 vote
1 answer
942 views

Spring Cloud Load Balancer Sending Requests to Unavailable Services when Using Eureka

I'm using Spring Boot 3.0.5 and Spring Cloud Release Train 2022.0.2. My current architecture is in the picture below: I am attempting to use a load balanced discovery service to route incoming ...
Lawrence Beutlich's user avatar
1 vote
1 answer
632 views

Problems with Spring Cloud Gateway route path

I'm making a practice project where I use the Spring Cloud Gateway, Eureka as the service registry and a service called "serviceA" to forward requests to. I have created 3 maven projects, ...
emaSingolarità's user avatar
0 votes
0 answers
491 views

Spring cloud load-balancer drops instances after cache refresh

I have a need to save Spring Cloud Gateway routes within a database and to do this we send a web request using the WebClient to another microservice. I'm using Eureka for service discovery and want ...
Mike at Savient's user avatar

15 30 50 per page