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
3
votes
1 answer

How to forward path parameters to the VPC link endpoint?

I have tried different ways for forwarding path parameters to the VPC link endpoint. I tried proxy integration. But I got an error. Sending request to http://endpoint.elb.region.amazonaws.com/communities/{id}/ Execution failed due to configuration…
3
votes
0 answers

API Gateway (Azure, AWS) traffic routing based on JWT issuer claim

I have a question about routing traffic within an API gateway using policies. I wish to call different backend servers based on a claim (issuer) in the user's JWT (JSON Web Token) from the same API gateway endpoint. Specifically, can I write a…
3
votes
1 answer

Tyk API Gateway keeps retrying the request every 60 sec

I have a request that sometimes needs more than a minute to execute. My service is behind Tyk API Gateway. What happens is that after the request is being executed by the service for 60 sec, Tyk sends the same request again to the service ignoring…
dvelopp
  • 4,095
  • 3
  • 31
  • 57
3
votes
1 answer

Handling base64 string as application/pdf for a single endpoint on API Gateway

We have an API that has multiple different endpoints, as you'd expect. We have the requirement to add a new endpoint which will return an application/pdf along with the file data. To do this, we return the following: return { statusCode:…
StuartM
  • 6,743
  • 18
  • 84
  • 160
3
votes
1 answer

GCP: ERROR: (gcloud.services.enable) PERMISSION_DENIED: The caller does not have permission when enabling API

I am trying to use API Gateway, and I am not able to enable the apigateway.googleapis.com API. It is not shown in gcloud services list. I am trying to follow the instruction of gcp doc.…
3
votes
0 answers

Socket.io behind API-Gateway

So the architecture I am currently working with, we have an api-gateway that gets all the requests and publishes them to our Eventsystem/ or directly to our essential services(auth, etc). Now we want to add a Socketbased Microservice that consumes…
Daniel Hoppe Alvarez
  • 1,298
  • 1
  • 13
  • 18
3
votes
2 answers

AWS API Gateway token test Response Code: 401

Thanks if anyone can help me. I am building a cognito user pool + API gateway solution in AWS. Now the configuration is done but the token is not working. Here is how I tested, I used API…
Qiao Li
  • 189
  • 1
  • 1
  • 10
3
votes
1 answer

Unable to fix veracode cwe id 918 flaw (SSRF) when using API gateway pattern in a Microservices architecture

I am using API Gateway Pattern in a Micro services architecture in which the Front End Angular app makes an HTTP request to my API Gateway project which is simply a ASP.net Core 3.1 Web API project. Currently I only have 2 micro services and an API…
3
votes
1 answer

Kong - connect to upstream via HTTP/2

I try to solve this use case: browser client connects to the Kong API Gateway by HTTP/2. Kong proxy the HTTP/2 connection to the backend microservice and keep it open. The use case result should be, that client is connected via HTTP/2 with the…
Lukas Bares
  • 349
  • 3
  • 12
3
votes
1 answer

Routing incoming requests in AppEngine to different versions

I have an Android App, and a backend for that app deployed in Google AppEngine. I am looking for something like an API gateway inside the google cloud which can route the app to a specific backend version, depending on the client version (e.g.…
stschmitt
  • 175
  • 1
  • 9
3
votes
2 answers

Microservices and API gateways

Just general curiousity, and I haven't been able to find any information on it. I've recently started learning about microservices and what surrounds them, such as API gateways. I understand that an API gateway can be a single entry point for a web…
rosengrenen
  • 731
  • 6
  • 21
3
votes
0 answers

Ocelot gateway: No such host is known

I'm using Ocelot as gateway and Consul as Service Discovery. I have an error after the first API call Ocelot Gateway in Ocelot.Errors.Middleware.ExceptionHandlerMiddleware[0] My output log is here: Hosting environment: Development Now listening on:…
Saeid Mirzaei
  • 950
  • 2
  • 18
  • 48
3
votes
4 answers

Where should I filter an MS level external service response in microservice architecture pattern?

I use an API Gateway (BFF) in front of my microservices to handle the UI needs. For example I have a microservice which calls an external service. In the UI I don't need (NOW) all the information which the external service provides. Should my MS…
Tamas Toth
  • 359
  • 6
  • 19
3
votes
1 answer

Ocelot Integration with Azure Active Directory Authentication .Net Core 3.1

Context: My company is moving to an API Gateway to manage all our or services in our network. Each service is currently authenticated using azure AD. Everything is single tenant and just allows company users. Question: Am I understanding this…
3
votes
4 answers

Istio: Can I add randomly generated unique value as a header to every request before it reaches my application

I have a RESTful service within a spring boot application. This spring boot app is deployed inside a kubernetes cluser and we have Istio as a service mesh attached to the sidecar of each container pod in the cluster. Every request to my service…