Comments (17)
This issue is currently awaiting triage.
If Ingress contributors determines this is a relevant issue, they will accept it by applying the triage/accepted
label and provide further guidance.
The triage/accepted
label can be added by org members by writing /triage accepted
in a comment.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
from ingress-nginx.
/remove-kind bug
- Why the word draft
- Did yo umean URLs that are over 1600 chars in length
- How does it work if you use plain old vanilla Nginx v1.25 as reverse-proxy instead of ingress-nginx
/kind support
/triage needs-information
from ingress-nginx.
Hello @longwuyuan !
- The word draft just because I haven't finished filling in all the details (like how was the controller installed and whatnot). I am still finishing getting details from my colleagues
- Yep, correct. URLs over 1600 chars in length
- I am not sure if we can do that. I'll try, but that requires a lot of setup at this point.
from ingress-nginx.
ok. can you also describe why your URL is so long.
from ingress-nginx.
@longwuyuan well, it's a very bad choice by the end app developers - they are passing an OpenID token via a URL parameter -.-
Can't do much about that though
from ingress-nginx.
ok, thank you for the info. explains the use case
from ingress-nginx.
i am checking the nginx specs and HTTP specs. Maybe you can do the same. This project code will not set that limit for sure.
cc @tao12345666333 @rikatz if you already know the spec limit for a HTTP len(URL)
from ingress-nginx.
If you already have the complete error message from the controller logs, please copy/paste it here
from ingress-nginx.
If it is this
https://www.slingacademy.com/article/nginx-error-414-request-uri-too-large-causes-and-solutions/
then the recommended solution is this
from ingress-nginx.
Also controller v1.1.1 is not supported anymore. Is that the real version of hte controller in use ?
from ingress-nginx.
Hey @longwuyuan
thanks a lot for your suggestions!
We have indeed tried large-client-header-buffers
, to no avail.
We have also just updated to the latest version of controller (v1.10.0
), also with no effect - the bug still
I don't believe it's a matter of a setting, because otherwise it would have reproduced 100% of the time, not 30%.
Also interesting think to note is that this seems to be dependent on the application - I have another application where if I put a long token into the URL and just return it as a response, no 505 errors occur. So it could be a combination of a bug in the application and a bug in the ingress controller itself.
Do you have any suggestions on how to debug this maybe?
from ingress-nginx.
-
if you can run one request with 1800 chars in the URL and it does not fail, then I agree that this is not related to the
large-client-header-buffer
-
I would next find a threshold at which the success rate begins to drop below 100%. Like use load generation tools and send incremental volumes but in batches.
- 10 requests with 1800 chars in URL
- 100 ditto
- 500 ditto
- and so on
from ingress-nginx.
Also, still waiting on the exact and real complete error message lines
from ingress-nginx.
Related Issues (20)
- SSL Handshake Failure When Mapping to External HTTPS Service (AWS CloudFront + S3) in Nginx Ingress HOT 4
- Error from server (NotFound): services "nginx-ingress-nginx-ingress" not found HOT 3
- Can't include $ in permanent-redirect URL annotation HOT 2
- strict-validate-path-type does not allow period/dot/. in Exact or Prefix path HOT 15
- Make Nginx auth_request module to be able to expose auth error body when needed HOT 3
- Confusing `namespace` label in SSL metrcis HOT 4
- Nginx 503 error why trying rewrite ingress address HOT 7
- [helm chart] Include optional "topologySpreadConstraints" in defaultbackend HOT 1
- CVE Finding HOT 1
- namespaced ingress doesn't work as expected HOT 12
- nginx proxy k8s service test pod internal normal, ep normal, but nginx can not proxy normally HOT 4
- Upstream Prematurely Closed Connection While Reading Response Header From Upstream HOT 13
- Support `grpc_read_timeout` and `grpc_send_timeout` in annotations HOT 5
- removed GeoIP package as part of ingress nginx v1.9.4, Ingress pods in Crashloopbackoff status HOT 4
- `Client.Timeout exceeded` (30s) on validation webhooks when updating Ingress objects HOT 16
- Slack dead HOT 5
- Predefined `server-snippet` that can only be reference and used in ingress HOT 4
- Bind custom port - Feature or Bug? HOT 3
- nginx ingress - tcp services source ip not preserved HOT 11
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 ingress-nginx.