Skip to main content

All Questions

-1 votes
0 answers
21 views

Spring Cloud Gateway with Kubernetes discovery client for http and grpc requests

I'm trying to implement gateway service using Spring Cloud Gateway with k8s client dicovery that will redirect both http/1.1 and http/2(GRPC) requests I set the following configurations: server: ...
Lior Derei's user avatar
0 votes
0 answers
17 views

trying to load each elements of list from separate yaml files into parent yaml

In Spring Cloud Gateway, we have too many routes in one application yaml. I am trying to break them into individual routes and import them into main/parent yaml. Tried below approach of spring.profile....
Arpit S's user avatar
  • 185
0 votes
0 answers
33 views

How to call REST API using Spring Webclient in global post filter

Spring Cloud Gateway with WebFlux: 4.1.0 We have implemented couple of custom Global pre and post filters in our Spring Cloud Gateway application. We are using Spring WebClient utility to make call to ...
Deepak Chhetri's user avatar
0 votes
0 answers
37 views

Spring security logout not working when exceptionHandling.authenticationEntryPoint configured

I have configured a Spring Gateway service with Spring security enabled and oauth2 configured. I can perform the login and logout without any issue, even a custom LogoutSuccessHandler, until I ...
jorge-plaza's user avatar
0 votes
0 answers
16 views

Handling ReadTimeOut Exception with Spring Cloud Gateway/Netty Client

We are using Spring Cloud Gateway to route messages to different endpoints. In some cases seeing read timeout happening and in hence is no "response" received resulting in wrapped '...
Arpit S's user avatar
  • 185
0 votes
0 answers
23 views

separate individual routes in spring cloud gateway

I am using Spring Cloud Gateway(Spring Boot 2.7.X) to route/POST request to different external endpoints for configured customers. The routes are configured in application yml. With more and more ...
Arpit S's user avatar
  • 185
0 votes
0 answers
24 views

Custom Gateway filter order in Spring Cloud Gateway

I am exploring Spring Cloud Gateway. I want to introduce a custom HTTPHeadersFilter for all the routes. Also i want to protect the gateway with authentication .Hence am using Spring Security. I have ...
saurav's user avatar
  • 5,796
0 votes
0 answers
38 views

Issues with Establishing WebSocket Connection via JHipster, Spring Cloud Gateway, and Traefik

I'm experiencing difficulties in establishing a WebSocket connection through Spring Cloud Gateway and Traefik in my JHipster project. When I attempt to create a WebSocket connection, I encounter the ...
Jennifer Schuhmacher's user avatar
-1 votes
0 answers
42 views

CORS with spring cloud gateway MVC is not working

I have a simple spring-cloud-gateway-mvc gateway where I have configured the cors through configuration which does not work. spring: cloud: gateway: mvc: routes: - id: ...
pmverma's user avatar
  • 1,661
0 votes
3 answers
180 views

How to secure microservice websocket endpoint with Spring Cloud Gateway?

I have a microservice architecture based project, for which I have added Spring Cloud Gateway in front. My plan is to centralize security in the gateway. I have added OIDC and OAuth 2 for ...
IonutB's user avatar
  • 73
0 votes
1 answer
49 views

How to use Spring Cloud API Gateway (MVC) to create filter that dynamically obtains a value with addRequestParameter?

In Spring Cloud API Gateway (MVC), I am trying to filer a GET request that dynamically creates a request param (query string)? Original request path to API Gateway with path param: v1/sample-resource/...
user23524156's user avatar
0 votes
0 answers
85 views

Spring Cloud Gateway + Spring Security + Spring Boot 3

We're migrating all our microservices to Spring Boot 3. Zuul to be migrated to Spring Boot3. Hence Spring-cloud will be the new API Gateway. Zuul was acting like a resource server(used JWTs + OAuth2) ...
Padmaja's user avatar
  • 119
0 votes
0 answers
38 views

Spring cloud gateway : Returns 200 to an api call but no response in body

When I hit URL through postman, [localhost:8090/api/v1] I get 200 but no response in body and when I check the logs of the service which was hit through gateway it shows nothing, which means it didn't ...
Aditya Priyam iGTB's user avatar
0 votes
0 answers
19 views

How to access same request in prefilter and postfilter in Spring Cloud Gateway?

We're moving from zuul to Spring Cloud Gateway. Storing all the request and response details in a table using pre-filter and post-filter implementation. Following is the implementation in zuul ...
Padmaja's user avatar
  • 119
0 votes
1 answer
104 views

Http Connection Management In Spring Cloud Gateway / Reactor Netty

We use Spring Cloud Gateway (Spring Boot 2.0) to route(POST) request to different external customer REST endpoint (along with filters). Most of the time routing is ok in production, only certain times ...
Arpit S's user avatar
  • 185

15 30 50 per page
1
2 3 4 5
36