Page MenuHomeDevCentral

Deploy Relay container for Sentry
ClosedPublic

Authored by dereckson on Mar 14 2023, 19:59.
Tags
None
Referenced Files
F3911492: D2888.id7367.diff
Thu, Dec 19, 02:59
F3910546: D2888.diff
Wed, Dec 18, 23:48
Unknown Object (File)
Sat, Dec 14, 09:31
Unknown Object (File)
Fri, Dec 13, 06:29
Unknown Object (File)
Thu, Dec 12, 20:01
Unknown Object (File)
Thu, Dec 12, 08:07
Unknown Object (File)
Sun, Dec 8, 03:51
Unknown Object (File)
Sat, Dec 7, 20:36
Subscribers
None

Details

Summary

Since Sentry 10, a Relay server is required as a middle layer
between the application and sentry.io. Relay also takes care
of remove personally identifiable information (PII) before
the event is sent to Sentry.

Requests to /api/store and to /api/<some digits> go to Relay.

Ref T1791

Test Plan

Deploy to docker-002

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
sentry-relay
Build Status
Buildable 4563
Build 4830: arc lint + arc unit

Event Timeline

dereckson created this revision.

nginx proxy configuration, image, register port

This revision is now accepted and ready to land.Mar 14 2023, 23:22
This revision was automatically updated to reflect the committed changes.

Relay issue

2023-03-14T22:30:58Z [relay_server::actors::upstream] ERROR: authentication encountered error: could not send request to upstream
  caused by: error sending request for url (http://sentry_web.sentry:9000/api/0/relays/register/challenge/): error trying to connect: dns error: proto error: Label contains invalid characters: Err(Errors { invalid_mapping, disallowed_by_std3_ascii_rules })
  caused by: error trying to connect: dns error: proto error: Label contains invalid characters: Err(Errors { invalid_mapping, disallowed_by_std3_ascii_rules })
  caused by: dns error: proto error: Label contains invalid characters: Err(Errors { invalid_mapping, disallowed_by_std3_ascii_rules })
  caused by: proto error: Label contains invalid characters: Err(Errors { invalid_mapping, disallowed_by_std3_ascii_rules })

Mitigated by giving the IP address directly for Sentry.