Questions tagged [api-gateway]

A service which acts as a gateway for many other services. Providing discovery, registry, security, circuit breaker, fault tolerance among other things.

Useful links:

1246 questions
5
votes
2 answers

API Gateway Proxy to VPC Link

I am trying to use API Gateway to route traffic to an internal network load balancer. All routes to the base path (/) are working, so I know the VPC Link is up and reachable. I added a proxy resource (/{proxy+}), with ANY http method. In the ANY…
5
votes
0 answers

spring cloud gateway forward client certificate

I am trying to use spring-cloud-gateway for a spring-boot based service that uses ssl with client-auth. The problem is, calling the service from a client over the api-gateway always fails with "certificate_unknown" (works fine without the gateway).…
5
votes
1 answer

NodeJS Application unable to access from Zuul API Gateway

I created a Node.js (Using ExpressJS) microservice and registered it with Eureka Discovery Server using eureka-js-client. I already have some Java based microservices registered with Eureka and using it through Zuul API Gateway. When I try to…
dileep keeppalli
  • 129
  • 1
  • 2
  • 12
4
votes
0 answers

How to connect GCP API gateway to the GKE?

I have configured GCP API gateway, but it is not able to connect back to GKE service. Is there any alternate solution ? What about GCP cloud endpoint? can we achieve same scenario by cloud endpoint? Or should we require in both case to use internal…
4
votes
0 answers

Azure App Gateway Missing Forward Headers

I have setup an Azure App Gateway WAF v2 instance in front of my asp.net web api running on Azure App Service. In order to get this to work, I had to turn on the following option in the backend setting in the rule in AG: I have Http Logging turned…
Julian.Net
  • 157
  • 1
  • 10
4
votes
0 answers

HTTP API Gateway trailing slash

I have an HTTP API Gateway which has a custom domain with mappings like https://api.example.com/myapi and one route POST / which triggers Lambda. Problem is that https://api.example.com/myapi throws {"message": "Not Found"} and it working only with…
Alexander Matrosov
  • 953
  • 1
  • 11
  • 33
4
votes
2 answers

How to use custom auth header with spring boot oauth2 resource server

I'm configuring spring cloud api gateway to support several security chains. To do that I'm using several security filter chains which triggered on specific security header presence: The legacy one which already use Authorization header And new…
4
votes
1 answer

How to secure API behind Kong Gateway for both pubic and internal traffic

We currently have multiple APIs that are not behind a gateway. The APIs that are exposed publicly use OpenID Connect for authentication and claims authorization. Some of the APIs are internal only and are network secured behind a firewall. We plan…
4
votes
1 answer

Microsoft C# .NET YARP 504 Gateway error and Failover

I am using Microsoft C# .NET YARP as an API gateway in front of ASP.NET Core Web API (latest version) with Swagger and Kestrel. YARP is used for intern redirections to many microservices. Questions: I am facing 504 http API gateway error for…
Guru_07
  • 362
  • 3
  • 15
4
votes
2 answers

Implementing Spring Cloud Gateway In The Same Project

I provide an api for other microservices in my spring boot microservice and I want to put a spring-cloud-gateway in front of this microservice. I have reviewed the well-known spring document (https://spring.io/guides/gs/gateway/) but as far as I…
4
votes
0 answers

Ambassador Rate limitting not working properly

I am trying to do rate-limiting with ambassador following this tutorial. I am using minikube and local docker image.I have tested all api is responding correctly after deploying to Kubernetes only the rate-limiting function isn't working. Here is my…
Soham
  • 4,397
  • 11
  • 43
  • 71
4
votes
0 answers

Prometheus metrics at gateway: UNKNOWN instead of a path in uri

I'm using prometheus metrics in my project. In the gateway, I see UNKNOWN in the metrics http_server_requests_seconds_count{exception="None",method="PUT",outcome="SUCCESS",status="200",uri="UNKNOWN",} 8.0 Spring sets this value in WebMvcTags in the…
sicio
  • 117
  • 1
  • 6
4
votes
2 answers

How to set integration endpoint dynamically based on request header in AWS API Gateway?

I would like to proxy the incoming requests to different endpoints based on a request header received in the request. In AWS API gateway, I can set up different endpoints as separate stage variables but at integration >> Endpoint URL setting, I…
Satish Gadhave
  • 2,880
  • 3
  • 20
  • 27
4
votes
2 answers

redirecting the URL from cloudfront to API Gateway based on path

I am trying to achieve redirection from cloudfront to API gateway based on the path. I have my UI with a cloudfront distribution with source being S3 bucket hosted on for eg. www.example.com and it serves the requests. I want the URLs with the…
4
votes
2 answers

APIs in Cloud Run and Nginx reverse proxy in VM

I have deployed 6 different Flask based applications to Google Cloud Run. They work perfectly fine when I access them through the autogenerated URL. Now, I want to unify all 6 services under one domain name with different routes. For example,…