Content-Length: 298095 | pFad | http://github.com/getsentry/sentry-javascript/issues/16671

44 Event URL not using X-Forwarded-Proto and X-Forwarded-Host · Issue #16671 · getsentry/sentry-javascript · GitHub
Skip to content

Event URL not using X-Forwarded-Proto and X-Forwarded-Host #16671

Closed
@mohd-akram

Description

@mohd-akram

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/node - fastify

SDK Version

9.29.0

Framework Version

No response

Link to Sentry event

No response

Reproduction Example/SDK Setup

No response

Steps to Reproduce

  1. Create a Fastify server with trustProxy set to true running behind a reverse proxy passing the X-Forwarded-Proto header set to https and the X-Forwarded-Host header set to example.com
  2. Log an event

Expected Result

The event URL is https://example.com/

Actual Result

The event URL is http://localhost:3000/

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Waiting for: Product Owner

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions









    ApplySandwichStrip

    pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


    --- a PPN by Garber Painting Akron. With Image Size Reduction included!

    Fetched URL: http://github.com/getsentry/sentry-javascript/issues/16671

    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy