Enabled proxy protocol in load balancer causing CONNECT_CR_SRVR_HELLO:wrong version number error


I have successfully installed my app on Kubernetes cluster. But I observed my app was seeing the local IP instead of actual client IP. So I enabled proxy protocol in load balancer and installed nginx-ingress as follows:

# Installing the Kubernetes Nginx Ingress Controller
helm install stable/nginx-ingress --name nginx-ingress --set controller.publishService.enabled=true,controller.config.use-forwarded-headers='"true"',controller.config.use-proxy-protocol='"true"'

But now I get the following error on accessing my API:

curl: (35) error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number
Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer