I’ve successfully set up the containerless Sentry 10.1.x on premises, and the last thing I’m struggling with is the relay registration. I’ve read about SENTRY_RELAY_WHITELIST_PK config variable, but it seems like
a) there’s already some whitelisted public key that’s registered
b) when I add the already existing PK along with the PK that relay generated in it’s config to the sentry.conf.py, Sentry ignores it for some reason (it still shows only one key in it’s web interface).
c) same stuff with the SENTRY_RELAY_OPEN_REGISTRATION variable, which promises help when set to True.
Sure, but this was really dumb: I didn’t properly restart the main WSGI process, only the child ones. So the configuration directives weren’t read. As soon I’ve properly restarted the main Sentry process, it has read the config along with the SENTRY_RELAY_WHITELIST_PK array and the relay was able to register.