Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client IP in destination is incorrect #459

Closed
kevinavery opened this issue Jul 30, 2020 · 2 comments
Closed

Client IP in destination is incorrect #459

kevinavery opened this issue Jul 30, 2020 · 2 comments

Comments

@kevinavery
Copy link

kevinavery commented Jul 30, 2020

Hi, it looks like the client IP address in my destinations (Amplitude and Snowflake) matches the IP of the rudder-server node rather than the actual client.

Tested with the latest version here deployed via rudderstack-helm. As an aside, is there a way to check the version or git hash of rudder-server instance?

@sivashanmukh
Copy link
Collaborator

sivashanmukh commented Jul 30, 2020

We pick up this value from X-Forwarded-For header and if its not there, we pick up RemoteAddr (doc: here) from the request.

To get the commit number and other details, you can do this

curl http://<rudder-node-ip>:8080/version

Incase you want to dig into code, you can take a look here

@kevinavery
Copy link
Author

Looks like AWS ELBs only send X-Forwarded-For if the listener protocol is HTTP/S, but rudderstack-helm configures the ELB to use TCP. I'll open an issue there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants