HTTP Status 400 – Bad Request in API call #12329
Labels
needs-kind
Indicates a PR lacks a `kind/foo` label and requires one.
needs-priority
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
Dear All,
Currently we are facing one nginx ingress controller issue where GET API call is throwing HTTP Status 400 – Bad Request error
<!doctype html><title>HTTP Status 400 – Bad Request</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style>
HTTP Status 400 – Bad Request
We have added below parameters into the config map of ingress controller
data:
allow-snippet-annotations: "true"
client_header_buffer_size: 64k
http2-max-field-size: 16k
http2-max-header-size: 128k
large-client-header-buffers: 4 64k
proxy-buffer-size: 128k
proxy-buffers: 4 256k
proxy-busy-buffers-size: 256k
server-name-hash-bucket-size: "128"
and ingress annotations are updated with below Parameters
metadata:
annotations:
kubernetes.io/ingress.class: nginx-fdfd
meta.helm.sh/release-name: ddfdfdf
meta.helm.sh/release-namespace: asddd
nginx.ingress.kubernetes.io/client-body-buffer-size: 64k
nginx.ingress.kubernetes.io/client-header-buffer-size: 128k
nginx.ingress.kubernetes.io/http2-max-header-size: 96k
nginx.ingress.kubernetes.io/large-client-header-buffers: 4 128k
nginx.ingress.kubernetes.io/server-snippet: |
client_header_buffer_size 128k;
large_client_header_buffers 4 128k;
Logs
[06/Nov/2024:12:00:00 +0000] "GET /v4/resource?id=0000000000000&relatedParty.id=0000&resourceSpecification.referredType=All HTTP/1.1" 400 435 "
https://******************/"
"Synapse-PT-HttpComponents-NIO" 9137 0.001
It would be great help if you could suggest some other changes are required to solve this issue please...
The text was updated successfully, but these errors were encountered: