go-sdk icon indicating copy to clipboard operation
go-sdk copied to clipboard

Sentry exceptions report the remote address as 127.0.0.1

Open wcharczuk opened this issue 4 years ago • 0 comments

What happened: The remote address reports as localhost for requests fronted by a sidecar proxy.

What you expected to happen: Expected the X-Forwarded-For address to be the value used, not the connection peer.

How to reproduce it (as minimally and precisely as possible): Report an error from a service fronted by a proxy.

Anything else we need to know?:

Environment:

  • go-sdk version: master
  • go version (e.g go version): 1.12.9
  • OS (e.g: cat /etc/os-release): darwin
  • Others:

wcharczuk avatar Aug 30 '19 17:08 wcharczuk