Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
0 answers
266 views

spring cloud gateway, netflix eureka issue

I'm having issues with spring cloud gateway and netflix eureka, which were fine until recently. The eureka server console log looks like this. 2024-09-02T00:25:38.368+09:00 ERROR 1088 --- [gateway-...
다람쥐's user avatar
0 votes
2 answers
1k views

spring-cloud-starter-gateway dependency issue

ERROR: org.springframework.cloud:spring-cloud-starter-gateway:pom:4.0.0 failed to transfer from https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local ...
jagan mohan Mylapuru's user avatar
1 vote
0 answers
84 views

Do i need to discover gateway service in discovery server?

Do i need to discover Spring cloud gateway in Spring cloud service discovery eureka? Should i request directly to api gateway and then api gateway will redirect to eureka and then to the next servic. ...
naimul's user avatar
  • 69
0 votes
1 answer
324 views

How to configure Spring Gateway for correct routing

I created a Spring Eureka Registry, Spring Gateway and a Customer-Servvice. On my local machine, everything works fine. I open my Registry and see there something like. host.docker.internal:customer-...
Tristate's user avatar
  • 1,819
2 votes
0 answers
574 views

Can we configure spring cloud gateway and service discovery (eureka server) on same SpringBootApplication

I am trying to run Spring Cloud "Gateway" & "Eureka-Server" on the same @SpringBootApplication, below is my code : Main Class: @SpringBootApplication @EnableEurekaServer @...
Javanectar's user avatar
2 votes
1 answer
968 views

Spring Cloud Gateway routes do not work and Hystrix Dashboard crashed loading

In a tutorial from youtube the author to use Spring Cloud Gateway, Hystrix, Netflix, and configure routes with application.yml, but when I try to send data from the endpoint I just hang on the Hystrix ...
Braian Silva's user avatar
  • 2,204
0 votes
0 answers
65 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
5 votes
3 answers
18k views

No servers available for service: while routing in Netflix ribbon

I had below working code in spring boot 2.3.4 public Route.AsyncBuilder apply(PredicateSpec route) { return route .path("/api/external/**") .filters(f -> f ...
Ruchira Gayan Ranaweera's user avatar
2 votes
2 answers
3k views

Spring Cloud Gateway & Netflix/Eureka - Invalid host lb://

I am getting into the Spring Cloud 2020.0.0 world. I have a config server, gateway server, eureka server and the first microservice setup and deployed in a dev env where they can all talk to each ...
the_anj's user avatar
  • 91
0 votes
0 answers
62 views

Specifying different application names for spring cloud gateway to load balance

I am using Netflix Eureka for service discovery and spring cloud gateway for load balancing. I want to know, whether there is a method, where I can navigate to any one instance of the microservices ...
HyukHyukBoi's user avatar
2 votes
2 answers
6k views

Spring Cloud Gateway not able to load balance and gives error 500

I am following the tutorial here: https://www.javainuse.com/spring/cloud-gateway-eureka. I have 2 applications, accessible through localhost (localhost:8080/employee/messages, localhost:8082/consumer/...
HyukHyukBoi's user avatar
0 votes
1 answer
4k views

Spring Cloud Gateway : disable default routes

I'm using spring cloud to manage my microservices. For security reasons, for one specific microservice (name it ms_secure), I want to use custom route choose a specific microservice version depending ...
jaudo's user avatar
  • 2,122
1 vote
2 answers
6k views

How to Pass access token on Spring Cloud Gateway

I'm new on OAuth2 and Spring Cloud Gateway(And WebFlux things). My team decided to move from Zuul gateway to Spring Cloud Gateway. And current Spring Cloud version is "Greenwich.SR1" The problem is ...
lv0gun9's user avatar
  • 621
2 votes
1 answer
5k views

spring cloud gateway, Is Request size limit filter is available

I am working in a project with spring-cloud-gateway. I see that the Request Size limitation filter is yet not available. But I need to develop it. Any idea , is it coming ? or should I start my own ...
Arpan Das's user avatar
  • 1,037
1 vote
0 answers
626 views

spring-cloud-gateway || need to configure global and application level and api level timeout

I am working in a spring-cloud-gateway project. Where I need to configure a Global Timeout/ application level timeout and api specific timeout. Following are my downstream apis: @RestController ...
Arpan Das's user avatar
  • 1,037

15 30 50 per page