Questions tagged [kong]

Kong is a cloud-native, fast, scalable, and distributed Microservice Abstraction Layer (also known as an API Gateway or API Middleware). Made available as an open-source project in 2015, its core values are high performance and extensibility. Actively maintained, Kong is widely used in production at companies ranging from startups to Global 5000 as well as government organizations.

Kong is an open-source (under Apache Version 2.0 license) management layer for Microservices and APIs, delivering high performance and reliability. Built on top of NGINX, Kong can be fully operated with a simple and easy to use RESTful API.

It provides an easy way to add extra functionality to APIs and microservices through the use of Kong Plugins.

741 questions
0
votes
1 answer

how to add a post api in kong and call it?

suppose I have an api http://host:port/api/v1/xxxx with post method and accept the json body : { "inputText":"travel to antartica from kochi" } how can i add the post api to kong and call it ?
user3405478
  • 47
  • 1
  • 9
0
votes
1 answer

Mashape Kong + JWT invalid token

I am getting started with Kong. I successfully did a simple authentication system with Oauth2 plugin, but now I have some troubles with the JWT one. I searched a lot but there's lack of documentation and resources about this topic. I followed the…
xyzale
  • 745
  • 8
  • 14
0
votes
1 answer

Rate Limit plugin causing high response time for API registered behind Kong API gateway?

On kong 0.8, rate-limit plugin is leading to high response time. When calling directly, api response time is ~200-250ms. When called through kong it is giving response in time ~1000-2000ms (when rate-limit plugin is enabled) and ~300ms (with…
Rajat Goel
  • 2,207
  • 17
  • 35
0
votes
1 answer

HMAC-SHA1 Swift 3 - 403 Forbidden

I'm trying to perform an HMAC-SHA1 signature from Swift 3 to a kong server which inreturn redirects to Twitter host( To enable HMAC on Kong - followed https://getkong.org/plugins/hmac-authentication/ ) I use the same secret key, username in my…
0
votes
1 answer

How to pass access_token in API using kong gateway

How to pass access_token in API using Kong API gateway?? I have tried the below: https://10.223.98.237:8000/API_analytics/AnalyticsInputHisto‌​ryController?user=1/‌​oauth_callback#acces‌​s_token=1234567890&t‌​oken_type=Bearer&exp‌​ires_in=3600 and…
Binal Dutt
  • 31
  • 1
  • 9
0
votes
2 answers

How to make request using KONG?

When I making a request to Kong using 1)Add API to KONG curl -i -X POST \ --url http://localhost:8001/apis/ \ --data 'name=AnalyticInputHist19api' \ --data 'hosts=localhost' \ --data…
Binal Dutt
  • 31
  • 1
  • 9
0
votes
1 answer

can I add paramter to uri in kong api

I want to add a paramter to the uri defined in kong... example: http://localhost:8000/gam/v1/start/{topic} is it possible to perform this with kong apis?
TommyW
  • 550
  • 1
  • 6
  • 21
0
votes
2 answers

Can a kong software works with windows?if yes then how?

I am trying installing kong software in my window system.Is it available for windows?Also cassandra is inbuild in it or i have to install separately.Thank you
Binal Dutt
  • 31
  • 1
  • 9
0
votes
1 answer

Where does logging happen in the plugin priority

I apologize for not testing this before asking the question, but was hoping I can get a quick answer as I'm evaluating multiple API gateway options. If I add Authentication, ACL, Rate limiting, Logging, when will I not receive request and response…
likenoother
  • 429
  • 1
  • 3
  • 11
0
votes
0 answers

docker mounted volume data getting wiped after restart the server

I am trying with docker. I ran kong docker Image and linked it with cassandra database which is mounted to the folder /data/api. but whenever I restart the server I am not able to see the mounted volume and all the data in the db lost. here is the…
Nijisha Kg
  • 541
  • 2
  • 7
  • 15
0
votes
2 answers

JWT/KONG: Cannot create JWTs with a shared secret

I'm playing around KONG API gateway recently. I want to sign each JWT with a secret that is shared in all micros. I need this because I want other micros to be able to decode given JWT and extract payload data and work upon it (e.g. _user_id_ field…
hnroot
  • 1,064
  • 2
  • 13
  • 23
0
votes
2 answers

Kong (0.10) API setup and usage

I am new to Kong and am trying to get my hands dirty with Kong. I have an environment where kong (0.10) and Cassandra (latest) run on separate docker containers. My OS is macOS -Sierra 10.12.4. Cassandra in docker: docker run -d --name kong-database…
bluelabel
  • 1,996
  • 6
  • 29
  • 44
0
votes
1 answer

proxy_read_timeout setting not affecting Nginx (Kong)

We use kong as our API gateway and have some endpoints that take longer than 60 seconds to respond. According to the Nginx documentation, I can change this with proxy_read_timeout, but this setting is not having any impact and I don't know why. We…
JTate
  • 332
  • 1
  • 13
0
votes
2 answers

How does the microservice API gateway pattern work with auto Horizontal scaling?

If I would like to have a high available solution. So, I would have two API gateways in different data center. Each API gateway is connected to three microservices like billing, users, and account services. Each one has three replica. So is that…
Rami Ebeid
  • 36
  • 4
0
votes
1 answer

Kong 0.10.x - JWT authentication get token access

On Kong document: https://getkong.org/plugins/jwt/#create-a-jwt-credential After that step, how to i can get access token? it's like:…