Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Not recieving original customer ip in the user.ip tag #554

@jellevanhees

Description

@jellevanhees

We run the default config from this repository.
our website(vue project) posts client side errors to sentry.
the user.ip tag from these errors is shown as the gateway ip of the docker network the stack runs in.
we would expect the public ip of the client in this tag.
the nginx config is default and uses x-forwarded-for header config.
we already did some testing with SENTRY_USE_X_FORWARDED_FOR = True and SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
with no positive result so far.

we currently have no luck finding related info on the documentation and other github issues are either older then 2 years or don't seem to have a definitive answer.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions