powerful-cat-68806
02/26/2023, 4:11 PM502 bad gateway nginx error
Checking the ingress-nginx pods logs, I found the following errors:
2023/02/26 12:47:47 [error] 2331#2331: *16878988 upstream sent too big header while reading response header from upstream, client: <http://xx.xx.xxx.xxx|xx.xx.xxx.xxx>, server: <http://datahub-xxx-xx.xxx.xxx|datahub-xxx-xx.xxx.xxx>, request: "GET /sso HTTP/1.1", upstream: "<http://datahub-xxx-xx.xxx.xxx:9002/sso>", host: "<http://datahub-xxx-xx.xxx.xxx|datahub-xxx-xx.xxx.xxx>", referrer: "<https://datahub-xxx-xx.xxx.xxx/login>"
I0226 14:43:16.410437 66544 request.go:665] Waited for 1.000965907s due to client-side throttling, not priority and fairness, request: GET:<https://xxxxxxxxxxxxx.xxx.us-east-1.eks.amazonaws.com/api/v1/namespaces/ingress-nginx/pods/ingress-nginx-controller-xxxxxxx-xxxx/log?container=controller&follow=true&tailLines=10>
I’ve validate:
• DH pods are running
• Ingress is configured correct
• Services are configured with the right dns & ports
• env | grep AUTH is configured with the correct values, for datahub-gms pod
When trying to login with usr+pwd, all works fine
I’ve checked with our IT team as well, if the blocker is from our VPN
Pls. advisepowerful-cat-68806
02/27/2023, 8:25 AMbulky-electrician-72362
02/27/2023, 9:28 AMpowerful-cat-68806
02/27/2023, 10:37 AMbulky-electrician-72362
02/27/2023, 1:12 PMpowerful-cat-68806
02/27/2023, 3:08 PMvalues.yaml, as following:
ingress:
enabled: true
annotations:
<http://kubernetes.io/ingress.class|kubernetes.io/ingress.class>: nginx
<http://nginx.ingress.kubernetes.io/proxy-buffering|nginx.ingress.kubernetes.io/proxy-buffering>: "off"
<http://nginx.ingress.kubernetes.io/proxy-buffer-size|nginx.ingress.kubernetes.io/proxy-buffer-size>: "128k"
Issue resolved
10x man 🙂powerful-cat-68806
02/27/2023, 3:10 PM