Skip to content

Wrong host names displayed in "Outbound API Requests" when requests are sent via a proxy. #5266

@cjsoftuk

Description

@cjsoftuk

How do you use Sentry?

Self-hosted/on-premise

Version

2.47.0

Steps to Reproduce

  1. Configured environment variables http_proxy, https_proxy to send requests out via a proxy server (running tinyproxy).
  2. Inspected the "Outbound API Requests" feature in the web interface
  3. Observed that requests made via the proxy are logged with the proxy's hostname and port, rather than the eventual destination.

Expected Result

I'd expect to see these showing as calls to https://onlinetools.ups.com/api/track/v1/details/

Actual Result

Image

The calls to /api/track/v1/details/ are actually calls to https://onlinetools.ups.com/api/track/v1/details/, but show up as calls to https://bde-proxy.dchosted.net:8888/api/track/v1/details/ in the web UI

Metadata

Metadata

Assignees

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions