kikito on 2.3.4
chore(build) add dummy proto fi… release: 2.3.4 (compare)
kikito on 2.3.4
chore(build) add dummy proto fi… (compare)
kikito on 2.3.4
chore(release) modern pulp conf… release: 2.3.4 (compare)
kikito on 2.4.2
kikito on 2.4.x
chore(release) modern pulp conf… (compare)
jschmid1 on deprecate-strict-worker-consistency
chore(conf): deprecate <strict>… docs(*): update CHANGELOG Sign… (compare)
jschmid1 on deprecate-strict-worker-consistency
squashme (compare)
kikito on 2.4.2
Hi,
I am new to Kong. I am trying to deploy Kong API Gateway into my kubernetes cluster in DBLESS mode.
What I have done was I created a dockerfile which I push to ECR repo.
Which looks like this
FROM kong:2.5
ENV KONG_DATABASE=off \
KONG_DECLARATIVE_CONFIG=/app/kong.yaml \
KONG_PROXY_ACCESS_LOG=/dev/stdout \
KONG_ADMIN_ACCESS_LOG=/dev/stdout \
KONG_PROXY_ERROR_LOG=/dev/stderr \
KONG_ADMIN_ERROR_LOG=/dev/stderr \
KONG_ADMIN_LISTEN="0.0.0.0:8001, 0.0.0.0:8444 ssl"
Then I am pulling down image from ecr in my deployment.yaml. I have load kong.yaml into a ConfigMap but ran into this error
stack traceback:
[C]: in function 'error'
/usr/local/share/lua/5.1/kong/init.lua:525: in function 'init'
init_by_lua:3: in main chunk
nginx: [error] init_by_lua error: /usr/local/share/lua/5.1/kong/init.lua:525: error parsing declarative config file /app/kong.yaml:
/app/kong.yaml: No such file or directory
stack traceback:
[C]: in function 'error'
/usr/local/share/lua/5.1/kong/init.lua:525: in function 'init'
init_by_lua:3: in main chunk
Has anyone come across this?
Hi,
I just installed kong api gateway and konga UI on google cloud. I configured a simple backend service and UI page with route to outsite, everything is working as expected. I have added route and service for deployed UI application.
my question is if there is any plugin for Kong that can keep the original browser URL after the redirect?
For example:
client send request to www.koko.example.com and Kong redirect him to www.fofo.example.com. What happened now is that the user see in the browser URL address line the www.fofo.example.com and I want to keep the www.koko.example.com address there..
Is there any option to do it?
luarocks make
and was able to successfully install it. Following the guide on our DEVELOPER.md, i tried to run make dev
, but ran into the following error. Any help here would be great, looking forward to your helphttp-include.conf
baked in there, which specifies nginx log_format company_log_fmt '{...}'
then in the helm values we have proxy_access_log: "logs/access.log company_log_fmt"
failure to get a peer from the ring-balancer
error, it confuses many of our developers and there is no amount of documentation we can make to help it. Do we have control over this error message?
2022/04/12 19:53:44 [notice] 25#0: *39255 [lua] init.lua:393: insert(): ERROR: duplicate key value violates unique constraint "services_name_key"
Key (name)=(tenant-378468b6-40a4-44d7-94a4-7c6976a00031.airflow-service.8080) already exists., client: 127.0.0.1, server: kong_admin, request: "POST /services HTTP/1.1", host: "localhost:8444
Hi.
I've installed CORS plugin on Kong 2 CE. Adding this domain to allowed origin https://deploy-preview-12--myapp.netlify.app
.
But its still failed and cannot successfully got the response.
Only when I'm changing origin header request to localhost (ps: localhost:3000 also added in allowed origin), it successfully get the response.
-H 'origin: http://localhost:3000' \
-H 'referer: http://localhost:3000/' \
Below is the CORS config
{
"protocols": [
"grpc",
"grpcs",
"http",
"https"
],
"enabled": true,
"id": "b5234cfa-d23a-4d7e-9cd3-62e1aec892ff",
"consumer": null,
"config": {
"preflight_continue": false,
"methods": [
"GET",
"POST",
"OPTIONS",
"HEAD",
"PUT"
],
"exposed_headers": [
"Access-Control-Allow-Origin",
"Access-Control-Allow-Headers",
"Access-Control-Allow-Methods",
"X-MID",
"X-App-ID"
],
"origins": [
"http://localhost:3000",
"https://deploy-preview-12--myapp.netlify.app"
],
"credentials": false,
"headers": [
"Origin",
"Content-Length",
"Content-Type",
"Authorization",
"X-MID",
"X-APP-ID"
],
"max_age": null
},
"tags": null,
"route": null,
"name": "cors",
"created_at": 1648633127,
"service": null
}
Can anyone help, where do I'm doing this wrong?
declarative config is invalid: {plugins={[4]={route={id=\\\"missing primary key\\\"}}}}\
. I can't seem to find any information about that error online.
kong.service.set_target(IP,PORT)
code 400, message Bad request syntax ("\x16\x03\x01\x00½\x01\x00\x00¹\x03\x03<©\x1a/#ÏxnfvÉż\x9e\x97'¶FjAsÖ]\x80ϯ(\x9f\x96\x90nÿ\x00\x008À,À0\x00\x9f̨̩̪À+À/\x00\x9eÀ$À(\x00kÀ#À'\x00gÀ") Î" 400 -
- - [23/May/2022 12:01:57] code 400, message Bad request version ("\x00\x008À,À0\x00\x9f̨̩̪À+À/\x00\x9eÀ$À(\x00kÀ#À'\x00gÀ")
- - [23/May/2022 12:01:57] "½¹ó!ê©V³pÛ¾c²ÙÏ"Üón_ M¨8À,À0 )aËÞJðv=¾¹8À,À0