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

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy