Page MenuHomeDevCentral

Deploy Relay container for Sentry
ClosedPublic

Authored by dereckson on Mar 14 2023, 19:59.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 24, 12:53
Unknown Object (File)
Tue, Apr 23, 04:51
Unknown Object (File)
Tue, Apr 23, 04:50
Unknown Object (File)
Sun, Apr 21, 21:38
Unknown Object (File)
Fri, Apr 19, 15:02
Unknown Object (File)
Fri, Apr 19, 14:59
Unknown Object (File)
Fri, Apr 19, 09:37
Unknown Object (File)
Fri, Apr 19, 07:42
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 Not Applicable
Unit
Tests Not Applicable

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.