You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to reproduce your issue and it seems to be due to how the AWS ELB (classic) works. In order to fix the issue, can you try to:
enable the PROXY protocol for the ELB (see official AWS documentation)
add this snippet to your values.yaml and run a helm upgrade:
# For AWS ELB in L4 (TCP) mode, we need to enable some additional config
# in the ingress controller in order to get the proper IP address forwarded
# to our app. Otherwise we'll get the load balancer nodes addresses instead.
#
# See: https://kubernetes.github.io/ingress-nginx/user-guide/miscellaneous/#source-ip-address
ingress-nginx:
controller:
config:
use-proxy-protocol: true
Bug description
The IP address captured in the events is Kubernetes worker node instead of the user's IP address.
I had also tried enabling proxy protocol to ELB following this documentation https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-proxy-protocol.html
Posthog is deployed on AWS EKS.
Expected behavior
Environment
The text was updated successfully, but these errors were encountered: