-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
needs triageAn issue that needs to be triagedAn issue that needs to be triagedproposalAn issue that proposes a feature requestAn issue that proposes a feature request
Description
I’ve opened a second issue case here as well:
nginx/nginx-ingress-helm-operator#426
Version
3.6.1
What Kubernetes platforms are you running on?
Openshift
Steps to reproduce
Bug Report: 400 Error When Request URL/Header Is Too Long
Describe the Bug
We couldn't find the proper setting to add to my configmap for updating large_client_header_buffers and client_header_buffer_size.
We could publish different configurations based on the article, but those two are not working.
To Reproduce
Steps to reproduce the behavior:
- Deploy the NGINX operator.
- Deploy the ConfigMap (CM) with the following configuration:
apiVersion: v1 data: client-header-buffer-size: 512k client-max-body-size: 100m keep-alive-requests: "10000" large-client-header-buffers: 4 64k
- Run the following command on one of the nodes:
oc exec -it ngx1-nginx-ingress-controller-77dd6577b8-wfx89 -n nginx-ingress -- grep -r "client_header_buffer_size" /etc/nginx/
- The configuration contains
client_header_buffer_sizechanged to the new size.
- The configuration contains
- Run the same command with
large_client_header_buffers:oc exec -it ngx1-nginx-ingress-controller-77dd6577b8-wfx89 -n nginx-ingress -- grep -r "large_client_header_buffers" /etc/nginx/
- Issue: The configuration does not reflect the changes for
large_client_header_buffers.
- Issue: The configuration does not reflect the changes for
Expected Behavior
You should see the updated configuration in the NGINX configuration.
Manual Solution
When I updated the large_client_header_buffers and client_header_buffer_size manually in the nginx.conf file, the error 400 was resolved, and I gained access to the web application.
Environment
- Version of the NGINX Ingress Operator: 2.3.1
- Version of the Ingress Controller: 3.6.1
- Version of Kubernetes: v1.27.16+e826056
- Kubernetes Platform: OpenShift
- Using NGINX or NGINX Plug: Using NGINX
- Client Version: 4.14.18
- Kustomize Version: v5.0.1
- Server Version: 4.14.35
Metadata
Metadata
Assignees
Labels
needs triageAn issue that needs to be triagedAn issue that needs to be triagedproposalAn issue that proposes a feature requestAn issue that proposes a feature request
