Comments (6)
will be fixed in #12658
from kong.
hi this error message occurs as expected, because the Kong project expects or requires the Content-Length header to be present in this case, for functionality related to request size limiting. Otherwise request-size-limiting plugin could not work without knowing the content-lenght
field
from kong.
The lua-nginx-module made some changes about this behavior, see
https://github.com/openresty/lua-nginx-module/pull/2237/files#diff-e5adfbc2ed61393c8309bee7f85b858a67d5b75e4f3201610504aa571bb44323R90-R93
A bypass way is to explicitly provide the Content-Length
(regardless it's zero) header for GET
from kong.
This involves requesting changes. Should the plug-in not check the GET request?
from kong.
I'm not saying that this is a reasonable workaround. It's just a theoretical bypass based on the root cause.
from kong.
Is this related to https://docs.konghq.com/gateway/latest/breaking-changes/#http2-requires-content-length-for-plugins-that-read-request-body ?
HTTP/2 requires Content-Length for plugins that read request body
Kong 3.6.x has introduced a regression for plugins that read the body of incoming requests. Clients must specif
... Kong is currently investigating potential remediations.
from kong.
Related Issues (20)
- KONG_STATUS_ACCESS_LOG value does not work HOT 3
- Form-data request is not being streamed HOT 1
- Edge case issues in HS256 JWT client auth invalid signature being reported HOT 9
- Behavior Change after Health check HOT 3
- Is this normal? How to reduce memory usage. . HOT 9
- ACME plugin certificate autorenewal: failed to run timer HOT 6
- How a Kong Basic Auth Plugin can be restricted to set of consumers? HOT 1
- The Docker manifest for kong:2.8.5 does not include an ARM64 build like previous versions HOT 2
- Kong issue with backend routing in Kong 3.7.1 in Service resources vs 2.8.x. HOT 7
- Kong issue with backend routing in Kong 3.7.1 in Service resources vs 2.8.x. other service pathing issues HOT 5
- OTEL plugin: http_export_request only accepts 200 responses HOT 3
- upstream prematurely closed connection & upstream response is buffered to a temporary file HOT 4
- Custom Plugin in Response Phase has sideeffect to if-match/etag handling HOT 16
- kong logs donβt capture request headers HOT 2
- 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
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.