go-sdk
go-sdk copied to clipboard
Sentry exceptions report the remote address as 127.0.0.1
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: