Onpremise: Mail Event-Notifications not working

Created on 29 Nov 2019  路  15Comments  路  Source: getsentry/onpremise

So my problem is that the alerts are not send out via mail.
Even after adding the Send notification via Mail
image

User Feedback, Invites and Test Mails are working fine.

When looking in docker logs sentry_worker_1 --follow only mails for the user feedback get added.

I have used the default smtp server.

The only change I have made was adding my mail address to the config. And I had to add the hostname for the smtp container, because mail got rejected with no FQDN or IP set error.
After that I run docker-compose build.

services:
  smtp:
    << : *restart_policy
    image: tianon/exim4
    hostname: ***hostname of my server**

Am I missing something?

I am using sentry, version 10.0.0.dev0

Bug

Most helpful comment

@bobvandevijver - yeah, I was also able to replicate. I'm investigating this issue now. Thanks for your patience everyone.

All 15 comments

+1 I think I am having a similar issue. My alerts won't send out mail and they also refuse to utilize my AWS SQS data forwarding legacy integration.

same situation here,that's terrible

and I can't see mail log in onpremise_worker_1 when a issues happen

Also experiencing the same with a fresh install of 10.0.0.dev0. All invite/password reset/digest emails come through but no alerts. The alerts are configured correctly to occur when an issue is first seen.

Same here :(

I did some digging and found this commit: https://github.com/getsentry/sentry/pull/12547

Could your user not have enabled alert notifications?

@BYK Project alerts are turned on for me

@bobvandevijver can you provide more details about your setup? I really want to fix this but it is hard to pinpoint the root cause.

Not really much to give you here: basically it's all default, and a fresh 10.0.0-dev0 pull from yesterday. Invites and email validation message work fine (after the initial hassle of getting email to work at all), but I haven't seen any event emails whatsoever.

If you want to know specific settings, just let me know!

@BYK Just found out that I do get a notification by email when I'm already subscribed to a particular issue.

@bobvandevijver - yeah, I was also able to replicate. I'm investigating this issue now. Thanks for your patience everyone.

@BYK I was trying to add a global webhook to add IRC integration, but that also does not seem to get triggered at all. Is it possible that this is caused by the same issue that prevents mail notifications?

Yes very likely as those are powered by the same system. We think it is a configuration issue and are actively working on fixing this.

Confirmed working, thanks @BYK! 馃槃

yiss

Was this page helpful?
0 / 5 - 0 ratings

Related issues

meriturva picture meriturva  路  6Comments

rmisyurev picture rmisyurev  路  4Comments

dotconnor picture dotconnor  路  6Comments

multinerd picture multinerd  路  5Comments

jellevanhees picture jellevanhees  路  3Comments