1,317 questions
Advice
0
votes
0
replies
51
views
How To use Ocelot Gateway inside a .NET Aspire project?
I am trying to use Ocelot inside a .NET Aspire project, but the problem is that /health or / don't work. Because of this, the gateway is shown as unhealthy in the Aspire dashboard.
What should I do to ...
1
vote
2
answers
97
views
spring-cloud-gateway-webflux multiple Path predicates return 404
I’m having trouble with Spring Cloud Gateway (WebFlux) when I define multiple Path predicates for a single route.
Here is an example of my configuration in application.yml:
spring:
cloud:
...
0
votes
0
answers
18
views
Support Multiple JSON Ocelot API Gateway
I have multiple microservices, and I am trying to merge them using Ocelot API Gateways. I have created different JSON files for each microservice and I'm adding them using the code below. However, it'...
0
votes
1
answer
97
views
Spring Boot: Redirecting URLs ending in slash to without slash
I want to redirect all routes like /api/user/home/ to /api/user/home. Here is the configuration file for gateway:
spring:
application:
name: gateway
cloud:
gateway:
routes:
-...
1
vote
1
answer
135
views
Add upstream HTTP header if not present with Kong API Gateway [closed]
I've been using the Post-Function plugin in Kong Gateway to implement some custom logic.
Lately, a large part of it has become unnecessary, and I am left with the following configuration, which only ...
1
vote
0
answers
65
views
How to properly transform backend error responses using response-transformer or custom policy in Express Gateway?
I'm working with Express Gateway to proxy requests to a backend service and want to transform error responses into a common format like this:
const errorResponse = {
timestamp: new Date()....
0
votes
0
answers
60
views
AWS X-Ray trace ID appears inconsistently for Spring Boot 3.4.3 Lambda (Java 17, X-Ray SDK 2.19.0)
I have a Spring Boot 3 Lambda behind API Gateway. Sometimes the Lambda REPORT line shows an X-Ray trace:
enter image description here
…but on later calls to the same endpoint, the X-Ray line is ...
2
votes
1
answer
118
views
How to use Lua correctly in krakend CE
I am working on a POC using krakend and I am having a hard time using lua. I need basic transformation but all functions in string module don't seem to work. what am I doing wrong ?
Dockerfile :
FROM ...
0
votes
0
answers
36
views
zuul gateway hangs due to too many requests from google indexing
I am using Spring Boot 1.4.1 RELEASE.
I am using Camden.SR1 maven dependency for zuul gateway API for microservices.
Due to indexing from google there are too many requests due to which zuul gateway ...
0
votes
0
answers
159
views
Node.js http-proxy-middleware: Proxy request hangs with 408 timeout, onProxyReq not triggered
I'm building an API Gateway using Node.js, Express, and http-proxy-middleware. All incoming requests are forwarded to different services based on dynamic routing logic.
I'm encountering a 408 Request ...
0
votes
0
answers
54
views
Issue with adding depedency for api gateway in spring cloud for eureka server discovery
I am using spring boot 3.5 when I am adding gateway dependency I am getting spring-cloud-starter-gateway-server-webmvc.But actually I need to get spring-cloud-starter-gateway in lower versions so ...
0
votes
0
answers
64
views
Wrap AsyncRead cause ConnectionClose
I am wrapping the AsyncRead by the function of Bandwidth Controling, it will read the bytes from buf firstly and try to acquire the tokens from upstream_control buckets. We assume the poll_read is ...
2
votes
1
answer
421
views
How to implement swagger aggregator in API Gateway of Spring Boot Microservices (Cannot show endpoint after selecting any service)
I tried to implement swagger aggregator in my spring boot microservices examples.
I can open swagger of api gateway through http://localhost:8080/swagger-ui.html and swagger of category service ...
0
votes
0
answers
255
views
Ocelot API Gateway in .NET 8 not showing downstream services in Swagger UI
I'm implementing an Ocelot API Gateway in .NET 8 with Swagger integration, but my downstream services aren't appearing in the Swagger UI. Here's my setup:
Service 1 is running on port 5001, and it ...
0
votes
0
answers
34
views
AWS Policy - case with " * " , how to " example/*/ " ? to make it work but only for one string after " / "?
Like in the title, we need to create a policy for AWS API Gateway based on another platform. However, in AWS, we only have the wildcards "*" and "?". I need to create a resource ...
0
votes
0
answers
50
views
Load balancer setup in real time application
best to avoid single point of failure in system design in case of API gateway as from controller.
In real time companies how, they are handling SPOF with API gateways.
In below image API gate way down ...
1
vote
0
answers
191
views
Krakend suddenly returns 401: “[JWTValidator] Unable to validate the token: no Keys have been found” with Keycloak
I'm experiencing an issue with Krakend and Keycloak where JWT validation suddenly fails, and I start receiving 401 responses. The error in the logs is:
[JWTValidator] Unable to validate the token: no ...
1
vote
0
answers
90
views
How to get query parameter info in API gateway Log
The log format in AWS Api Gateway is set to
{
"requestTime": "$context.requestTime",
"requestId": "$context.requestId",
"httpMethod": &...
2
votes
1
answer
102
views
How should file storage access be organized in relation to the API gateway?
I'm building a system that consists of multiple microservices, databases, a message broker, and a file storage system that primarily stores photos. In my setup, I'm using MinIO as my file storage ...
0
votes
0
answers
30
views
AWS Apigateway Method Not Post Request to End Point URI {proxy}
My requirement is, aws apigateway must accept request of any uri & any http method and must forward/post it to configured end point.
To do so, below is the aws cloud formation template
However, ...
0
votes
0
answers
36
views
Kong api gateway - One service on two hardware units with localhost and remote ip in URLs
We have following scenario which fails with kong api gateway:
Service1 has an endpoint named “endpoint1” which gives hardware specific value in response.
We have say 2 hardware units (H1 and H2) inter-...
1
vote
1
answer
205
views
How to config a gke-l7-rilb Gateway for HTTPs?
Google documentation doesn't clarify how to do it, but my goal is to expose an App deployed in K8s into a VPC only, but could be seen by an user that uses a VPN in another project, using HTTPs ...
0
votes
0
answers
76
views
Rest call from API Gateway is not working
In Microservice Environment,
I have 3 services:
Hotel Service
Service registry
APi Gateway
I have register the Hotel Service & API gateway with eureka server. Both are working, as I can see the ...
1
vote
0
answers
135
views
NestJS API Gateway: GET Works, but POST Requests Hang Indefinitely
I'm building a microservices architecture using NestJS, and I have an API Gateway that proxies requests to different services (Order, Email, User).
Everything works fine for GET requests, but POST ...
1
vote
0
answers
92
views
How do you identify a client through an API Gateway?
At my place of work we have an internal API Gateway that acts as a proxy between various internal applications.
My specific application is essentialy a REST API that serves specific features to ...
1
vote
0
answers
150
views
Spring Cloud Gateway: OpenAPI/Swagger UI not rendering properly with multiple service endpoints
I'm implementing OpenAPI documentation in a Spring Cloud Gateway service that routes to multiple microservices. I've configured the gateway to aggregate Swagger documentation from different services ...
0
votes
1
answer
54
views
API Gateway SQS Integration - MessageAttributes not being sent
I am trying to include the API Gateway Request Id in my SQS message, so that I can log it in the consuming Lambda for tracing.
My mapping template is as follows:
Action=SendMessage&MessageBody=$...
2
votes
1
answer
215
views
API Gateway with multiple instances of a same Web API
I am creating an ASP.NET Web API gateway which needs to communicate to legacy COM component business logic written in C++. So I am creating another Web API which internally gets data from COM ...
0
votes
1
answer
125
views
How to aggregate requests from multiple microservices in the ApiGateway?
I have microservices architecture with an API Gateway
PeopleService: Provides employee data (employeeId, employeeName).
SafetyService: Provides training data (trainingId, trainingName).
PeopleService:...
0
votes
0
answers
34
views
VTL Mapping template AWS Api Gateway always evaluating true
I have the following mapping template
#if($input.params('salutation'))
"greeting": "$input.params('salutation')",
#else
"greeting": "Hello",
...
0
votes
0
answers
241
views
How to elegantly build an API gateway for containerized microservices?
Question: Issues with Implementing an API Gateway for Microservices with FastAPI and Docker Compose
I'm working on implementing an API Gateway for a set of microservices orchestrated with Docker ...
1
vote
1
answer
330
views
How to fix Lambda function timeout when interacting with DynamoDB using AWS SDK v3 in Node.js?
I’m building a serverless API with Node.js using AWS Lambda, and my function interacts with DynamoDB to retrieve data. However, every time I try to interact with DynamoDB, the Lambda function times ...
0
votes
1
answer
70
views
API gateway role in micro services security
I'm new to microservices and system design, and I'm trying to understand the role of the API Gateway in authentication and authorization.
I've come across two different approaches, each with its pros ...
2
votes
0
answers
65
views
Spring boot Api Gateway with body 400 bad Request
Spring boot Api Gateway
I’m trying to send a request that requires a body. When I add the body, the API Gateway doesn’t forward the request to the service and responds with a 400 Bad Request. However,...
0
votes
0
answers
155
views
flex gateway mulesoft configuration
Can you please help me configure my Flex Gateway path? I have a request {{mu_url}}api/distribution/internal/v1.0/whatsapp/twilio/content/HXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/approvalrequests that I need ...
0
votes
0
answers
49
views
How to configure AWS API Gateway as a passthrough as well as sub domain rewriting
I have REST api. I am trying to configure AWS API Gateway as a passthrough. My api endpoint domain has subdomain part, which indicates tenant identity. Ex. customername.xyz.com/api. I need the API ...
0
votes
0
answers
51
views
Unable to find GatewayFilterFactory with name RequestRateLimiter,InmemoryRateLimiter
`Caused by: reactor.core.Exceptions$ErrorCallbackNotImplemented: java.lang.IllegalArgumentException: Unable to find GatewayFilterFactory with name RequestRateLimiter
Caused by: java.lang....
0
votes
0
answers
84
views
Graphql API load balancing and horizontal scaling
I am having java background and had worked with Springboot, and for Springboot APIs eureka works as both discovery server and load balancer.
How horizontal scaling and load balancing can be achieved ...
0
votes
0
answers
90
views
Spring API Gateway not giving response
This keeps loading, not returning response.
Log
2025-01-08T13:28:40.752+05:30 DEBUG 44541 --- [api-gateway] [reshExecutor-%d] o.s.c.g.r.RouteDefinitionRouteLocator : RouteDefinition LIMIT-SERVICE ...
0
votes
1
answer
50
views
Credentials are not passed to API Gateway
I am developing a simple system for practicing redirect requests with an API Gateway.
The architecture of my system is the following:
enter image description here
It has 2 microservices (one for ...
0
votes
0
answers
139
views
redirect to api gateway service loop
I'm trying to develop a custom gateway api with ktor.
I implemented a redirect to the specific service based on the path with a factory but I think I'm using HttpClient wrong.
The problem is that when ...
0
votes
0
answers
76
views
Deploy consul on kubernetes hashicup guide unreachable api gateway
I am following this tutorial Enable external traffic ingress into Consul service mesh. I am following the self-managed local deployment guide. I am using helm, kind and kubectl, like the guide ...
0
votes
1
answer
205
views
Connection problems with APISIX in GCP Cloud Run [closed]
I would like to set up APISIX in the Google Cloud Platform on a Cloud Run instance and configure other Cloud Run instances as upstreams.
My APISIX setup:
I configure my APISIX Cloud Run container with ...
2
votes
1
answer
450
views
Implementing OIDC with Authorization Code Flow on API Gateway using Keycloak as SSO provider
I'm planning to implement an architecture where:
The API Gateway interacts with multiple services and a Vue.js frontend application.
The API Gateway creates its own sessions linking user requests to ...
0
votes
0
answers
52
views
Spring cloud gateway & Open API : ClientCredentials Flow Doesn't Send client_id and client_secret
im using Spring Cloud Gateway and Open API V3, so i have an issue on my open api UI page, client_id and client_secret are not sent in the request to get access token when using Client Credential Flow ...
0
votes
0
answers
87
views
how to secure BE with 2 micro frontend one to be accessed publicly and one to be accessed with static ip
I have 2 microfrontends in amplify
first FE-A needs to be used from specific area (static ip)
second FE-B needs to be used from everywhere publicly
my issue is if i set 0.0.0.0 in Security Group of ...
0
votes
1
answer
101
views
Expose docs per default for each API on Azure APIM
I am currently hosting several APIs behind a APIM. I was now planning to expose the docs and wanted to do this programmatically, thus my question:
Is it possible to have a global policy that ...
0
votes
1
answer
181
views
Dynamic Routing in API Gateway with Tenant-Based Service Resolution Using Spring Cloud and Eureka
I'm developing an application using the microservices architecture with Spring Boot and Spring Cloud. In this application, I want to use API Gateway and Eureka to enable dynamic routing. My main ...
0
votes
1
answer
181
views
How to Build a Python-Based GraphQL API Gateway and Federation Service for Django Microservices?
I have a set of Django microservices, each exposing GraphQL APIs. Currently, I'm using Apollo Server with Apollo Federation to combine all subgraphs into a single supergraph. However, I've encountered ...
0
votes
0
answers
40
views
Jhipster API Gateway request is getting 405 (Method Not Allowed)
Using jhipster-generate, I have created a gateway application which acts as an Angular frontend running on localhost:8090 and I have a microservice application already running with endpoints setup on ...