Comments (5)
lua-resty-events is a new library in kong gateway 3.x, this blog post may be helpful: https://konghq.com/blog/engineering/nginx-openresty-event-handling-strategy-for-cpu-efficiency
from kong.
Yep, confirmed it fixed all my woes! Appreciate the quick support!
from kong.
I notice there is a line:
listen 0.0.0.0:9443 ssl http2 deferred reuseport backlog=16384;
Since Nginx 1.25.1, the "http2" parameter of the "listen" directive is deprecated.
See: https://nginx.org/en/CHANGES
from kong.
The message "failed to instantiate 'kong.worker_events' module" is reported by lua-resty-events library,
Which needs a unix socket to run. We must define a server block like:
server {
charset UTF-8;
server_name kong_worker_events;
listen unix:${{PREFIX}}/worker_events.sock;
access_log off;
location / {
content_by_lua_block {
require("resty.events.compat").run()
}
}
}
Please refer to kong/templates/nginx_kong.lua
and nginx_kong_stream.lua
then edit our own template.
from kong.
Ooooo @chronolaw ^ that is definitely the issue! My template lacks that it seems. As Kong grows the custom nginx template just keeps getting so big :/ . Wish there was a more elegant way to achieve running base kong + a kong runtime thats mtls geared with modsecurity like I do.
Testing out adding that new server block and I bet that closes and fixes this issue. Thanks bud!
from kong.
Related Issues (20)
- File named `api.lua` in the custom lua plugin directory causes 500 API Admin errors for kong manager HOT 4
- The available memory of the Kong machine suddenly dropped from 18G to 6.12G HOT 5
- Passive health checks not behaving as expected. HOT 19
- Kong opensource installation HOT 3
- rate-limiting error Redis timeout HOT 15
- bootstrap failure inside the container: migrations.lua:212: [PostgreSQL error] failed to retrieve PostgreSQL server_version_num: connection refused HOT 15
- abnormal route occurred on the kong upstream HOT 6
- Kong to backend FastAPI service: 405 Method Not Allowed HOT 6
- Building kong deb package failed behind proxy for version3.5.0 and above HOT 6
- Kong Gateway API with 104 Connection reset by peer message to OpenShift IngressController HOT 6
- How to store config info in kong HOT 3
- Strings in luajit are infinitely bloated, even if they are not rereferenced in the lua vm HOT 1
- Strings in luajit are infinitely bloated, even if they are not rereferenced in the lua vm HOT 3
- Kong 3.7.1 Exponential memory growth over time. HOT 16
- Failure to enable openid-connect plugin HOT 4
- Kong DP keep restarting HOT 3
- Error occurs on endpoints when `tags` parameter is empty HOT 1
- Postgres read/write primary node seeming timeouts led to runtime traffic failures on existing runtime proxies HOT 2
- ip address based rate-limiting does not use real client ip address but last proxy ip address HOT 3
- [healthchecks] failed setting peer status (upstream: 7b069e34-9542-48cb-8a16-15eb144a3e5d:rest-service-upstream): not a known address, context: ngx.timer HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kong.