Page MenuHomeDevCentral

Deploy Relay container for Sentry
ClosedPublic

Authored by dereckson on Mar 14 2023, 19:59.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 14, 19:59
Unknown Object (File)
Sun, Nov 10, 02:56
Unknown Object (File)
Fri, Nov 8, 12:12
Unknown Object (File)
Fri, Nov 8, 07:18
Unknown Object (File)
Wed, Nov 6, 11:37
Unknown Object (File)
Sun, Nov 3, 14:49
Unknown Object (File)
Sat, Nov 2, 08:10
Unknown Object (File)
Fri, Nov 1, 07:07
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 4564
Build 4831: 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.