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
2
votes
2 answers

Problem of integration krakend with keycloak

I have keycloak bitnami chart and krakend deployed in in k8s. Also I have a test api, and I want being authenticated before access it. I'm able to get valid jwt token from keycloak, but when I'm trying to access my api through krakend, it returns…
2
votes
0 answers

How to handle uncaught expception in proxy/registry service in node js?

We have multiple microservice projects and one proxy/service registry which all services apis register in this service. now we want to catch uncaught expections. Since all services share registry service, we were thinking maybe this could be done in…
2
votes
1 answer

keycloak + Kong API Gateway

We are using keycloak to handle authentication (client/secret) in our API Gateway. The Kong api service uses konnect-managed-plugin to refer to keycloak to authenicate client credentials and return a bearer token. Future calls to other endpoints use…
Johan Poot
  • 23
  • 3
2
votes
0 answers

Load balancer scaling

I am quite new to the load balancing scenarios expecially in cloud. We are using load balancers to avoid load to a particular server and to avoid single point of failure . But then how does the load balancer itself scale . Isn't it a single point of…
2
votes
0 answers

Microservices Architecture - API Gateway with Aggregator

I am trying to build a system which involves a client which will talk to a few microservices. I got to the point where I realize I don't want the client to communicate directly with all the microservices so an API Gateway sounds like the right…
2
votes
0 answers

Why am I getting a handshake time out after 10000ms?

I am facing this handshake timed out after 10000ms while connecting via api gateway I am getting below error in my API gateway while connecting to one of the micro-service REST api via this gateway url. ERROR…
Sdcoder
  • 33
  • 2
  • 4
2
votes
2 answers

Remove mapped path from AWS API Gateway custom domain mapping

I have a custom domain set up in AWS API Gateway. My intention is to use "API mappings" to send traffic for different API versions to their respective API Gateways, e.g.: GET https://example.com/v1/foo is sent to an API gateway "APIv1" ($default…
Devin
  • 851
  • 12
  • 32
2
votes
3 answers

API Gateway Ocelot and Kubernetes

I am trying to access my microservice "externalforum-api-svc" inside my kubernetes cluster using ocelot gateway. I`ve followed the docs but it does not seem to be working. Can someone please tell me whats wrong with it? I want to deploy the ocelot…
2
votes
0 answers

API Gateway modifies backendRequest hostname to be "backend-cluster-dev.equipment.example.com:443" instead of just "dev.equipment.example.com:443"

Can't understand why API Gateway prepends the hostname with "backend-cluster" prefix. The log of the gateway on the request looks like below: { httpRequest: { latency: "0.113s" protocol: "HTTP/1.1" remoteIp:…
2
votes
2 answers

Can not read Response.Body from server in .Net5

I track request/response log in middleware of Api gateway .Net5, I can able to read Request.Body, However, I do not understand the body of the response, it show like below `� …
2
votes
3 answers

Ocelot API Gateway error: No connection could be made because the target machine actively refused it

I am trying to build a microservice architecture system using Ocelot as my API Gateway. I have had the current problem for about 2 weeks and have not been able to figure out why it is happening, so I am turing to the experts and hopefully you can…
LydsE
  • 21
  • 1
  • 4
2
votes
1 answer

GCP API Gateway: Path parameters are being passed as query params

I'm trying to use GCP API Gateway to create a single endpoint for a couple of my backend services (A,B,C,D), each with their own path structure. I have the Gateway configured for one of the services as follows: swagger: '2.0' info: title: …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/api" class="post-tag grid--cell" title="show questions tagged 'api'" rel="tag">api</a> <a href="../../questions/tagged/google-cloud-platform" class="post-tag grid--cell" title="show questions tagged 'google-cloud-platform'" rel="tag">google-cloud-platform</a> <a href="../../questions/tagged/api-gateway" class="post-tag grid--cell" title="show questions tagged 'api-gateway'" rel="tag">api-gateway</a> <a href="../../questions/tagged/google-cloud-api-gateway" class="post-tag grid--cell" title="show questions tagged 'google-cloud-api-gateway'" rel="tag">google-cloud-api-gateway</a> <a href="../../questions/tagged/google-api-gateway" class="post-tag grid--cell" title="show questions tagged 'google-api-gateway'" rel="tag">google-api-gateway</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Sep 22 '21 at 04:20">asked Sep 22 '21 at 04:20</time> <a href="../../users/6653295/nissan" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/6653295.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Nissan " /> </a> <div class="s-user-card--info"> <a href="../../users/6653295/nissan" class="s-user-card--link">Nissan </a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">466</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="4 silver badge">4</li> <li class="s-award-bling s-award-bling__bronze" title="12 bronze badge">12</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-69249799"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>2</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/69249799/gcp-api-gateway-ignores-a-trailing-slash-of-url-and-causes-err-too-many-redire" class="question-hyperlink">GCP API Gateway ignores a trailing slash of URL and causes ERR_TOO_MANY_REDIRECTS in calling Django APIs</a></h3> <div class="excerpt">I have been testing GCP's API Gateway and found a problem in handling my Django's REST APIs running on GAE. I got ERR_TOO_MANY_REDIRECTS error when accessed the API with the URL generated by the Gateway (it's like…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/django" class="post-tag grid--cell" title="show questions tagged 'django'" rel="tag">django</a> <a href="../../questions/tagged/google-cloud-platform" class="post-tag grid--cell" title="show questions tagged 'google-cloud-platform'" rel="tag">google-cloud-platform</a> <a href="../../questions/tagged/django-rest-framework" class="post-tag grid--cell" title="show questions tagged 'django-rest-framework'" rel="tag">django-rest-framework</a> <a href="../../questions/tagged/openapi" class="post-tag grid--cell" title="show questions tagged 'openapi'" rel="tag">openapi</a> <a href="../../questions/tagged/api-gateway" class="post-tag grid--cell" title="show questions tagged 'api-gateway'" rel="tag">api-gateway</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Sep 20 '21 at 06:12">asked Sep 20 '21 at 06:12</time> <a href="../../users/15377595/dy1" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/15377595.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="dy1" /> </a> <div class="s-user-card--info"> <a href="../../users/15377595/dy1" class="s-user-card--link">dy1</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">21</li> <li class="s-award-bling s-award-bling__bronze" title="2 bronze badges">2</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-69212344"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>2</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/69212344/ask-about-writing-krakend-config-json" class="question-hyperlink">ask about writing krakend config.json</a></h3> <div class="excerpt">we are starting with krakend as API Gateway. My question is: We have backend app that have 100 more endpoints. We need write a json with all 100+ endpoints? It's possible use something like wildcard? </div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/api-gateway" class="post-tag grid--cell" title="show questions tagged 'api-gateway'" rel="tag">api-gateway</a> <a href="../../questions/tagged/krakend" class="post-tag grid--cell" title="show questions tagged 'krakend'" rel="tag">krakend</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Sep 16 '21 at 16:54">asked Sep 16 '21 at 16:54</time> <a href="../../users/4106437/thiago-freitas" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/4106437.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Thiago Freitas" /> </a> <div class="s-user-card--info"> <a href="../../users/4106437/thiago-freitas" class="s-user-card--link">Thiago Freitas</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">399</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="4 silver badge">4</li> <li class="s-award-bling s-award-bling__bronze" title="5 bronze badge">5</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-69051163"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>2</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/69051163/looking-for-modification-to-userconfigresponsemodel-to-declare-a-correct-aws-a" class="question-hyperlink">Looking for Modification to `UserConfigResponseModel` To Declare a Correct `aws_api_gateway_method_response` resource</a></h3> <div class="excerpt">Reading this document for how to setup an AWS Transfer Family SFTP server it's specified that you need a application/json UserConfigResponseModel method response type. When Setting up through the web console this is a possible configuration but…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/amazon-web-services" class="post-tag grid--cell" title="show questions tagged 'amazon-web-services'" rel="tag">amazon-web-services</a> <a href="../../questions/tagged/terraform" class="post-tag grid--cell" title="show questions tagged 'terraform'" rel="tag">terraform</a> <a href="../../questions/tagged/api-gateway" class="post-tag grid--cell" title="show questions tagged 'api-gateway'" rel="tag">api-gateway</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Sep 03 '21 at 22:38">asked Sep 03 '21 at 22:38</time> <a href="../../users/1322962/alexlordthorsen" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1322962.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="AlexLordThorsen" /> </a> <div class="s-user-card--info"> <a href="../../users/1322962/alexlordthorsen" class="s-user-card--link">AlexLordThorsen</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">8,057</li> <li class="s-award-bling s-award-bling__gold" title="5 gold badges">5</li> <li class="s-award-bling s-award-bling__silver" title="48 silver badges">48</li> <li class="s-award-bling s-award-bling__bronze" title="103 bronze badges">103</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <a class="s-pagination--item" href="../../questions/tagged/api-gateway_page=12" rel="prev" title="Go to page 12">Prev </a> <a class="s-pagination--item" href="../../questions/tagged/api-gateway_page=1" rel="" title="Go to page 1">1</a> <a class="s-pagination--item" href="../../questions/tagged/api-gateway_page=2" rel="" title="Go to page 2">2</a> <a class="s-pagination--item" href="../../questions/tagged/api-gateway_page=3" rel="" title="Go to page 3">3</a> <div class="s-pagination--item s-pagination--item__clear">…</div> <a class="s-pagination--item" href="../../questions/tagged/api-gateway_page=83" rel="" title="Go to page 83">83</a> <a class="s-pagination--item" href="../../questions/tagged/api-gateway_page=84" rel="" title="Go to page 84">84</a> <a class="s-pagination--item" href="../../questions/tagged/api-gateway_page=14" rel="next" title="Go to page 14"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>