-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emails cannot be sent: "error: [Errno 111] Connection refused" #2604
Comments
If you're getting a connection refused on outbound emails it means your postfix or other smtp gateway is not configured correctly. If you recently changed the settings its important to note you must restart all Sentry processes to update settings from disk. |
@dcramer I'm afraid it's not that easy. As I stated in the description, I don't think it's a configuration issue, since Sentry can send out test emails and invitation emails just fine. Just the notification emails don't get through, so it seems this part of the system doesn't use the correct settings. |
@thomasjachmann we do not use multiple email systems. If the web process is allowing emails and the workers are not, it means the workers are not running the same settings as the web processes. A quick sanity check to prove this case is to restart the application processes. tl;dr there is no magic here :) |
@dcramer No magic, just different software subsystems diverging over time, that was my assumption. ;) But what diverged were the settings of my web/worker processes, thanks for pointing my thoughts into that direction. I pondered on that problem for quite some time now. |
My Sentry server doesn't send notification emails. It is a newly set up server, so I first thought this is a configuration issue. But on /manage/status/mail/, I can successfully send a test email and when I invite users, these emails also go through. So it seems to be a bug. Even after upgrading to 8.0.4 which tackled that exact problem, Sentry posts error entries into my (single) project. It seems as if Sentry is trying to connect to localhost:25 to send Emails which doesn't correspond my settings of
EMAIL_HOST
,EMAIL_PORT
etc. insentry.conf.py
. Here's a redacted error entry:The text was updated successfully, but these errors were encountered: