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
[BUG] Error Sending Email Alerts with SMTP - "tls: first record does not look like a TLS handshake" #8071
Comments
Related to this issue: #7189 There is currently no support for sending alerts via SMTP servers that do not support TLS. |
Our Mailserver does support TLSv1 - so I'm not sure why we're getting this error. |
In the Grafana config, the default port is 25 (if you have not specified something else in your config). Does your mail server have support for TLS on that port? Otherwise, could be something to do with STARTTLS vs TLS. I don't think we have renegotiation enabled in the TLS config. But I think it might be simpler to just support sending emails without TLS as specified in #7189 rather than adding that option. |
Thanks for following up, but I think it working on my end. I changed the
port back to 25 with smtp true and it seems to be working now.
Pete
…On Fri, Apr 7, 2017 at 4:14 PM, Daniel Lee ***@***.***> wrote:
In the Grafana config, the default port is 25 (if you have not specified
something else in your config). Does your mail server have support for TLS
on that port?
Otherwise, could be something to do with STARTTLS vs TLS. I don't think we
have renegotiation enabled in the TLS config. But I think it might be
simpler to just support sending emails without TLS as specified in #7189
<#7189> rather than adding that
option.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8071 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ASo4TKoWjC5X2g2PrJSjLjs8UNgAFGqbks5rtpkRgaJpZM4M3MH9>
.
|
Great! |
Grafana docker running in ECS(AWS) is failing to send email alert using Simple Email Service (AWS) SMTP server Grafana - version : v5.4.3 Grafana Run command: Error: eror msg="Failed to send alert notification email" logger=alerting.notifier.email error="dial tcp 54.243.251.159:25: i/o timeout" please help |
Grafana seems to lack these settings for email alerts: We need these settings because Grafana cannot send any emails when using MS Exchange mailer. |
@prakashray4pt i would check the connectivity on port 25. Make sure its not blocked |
Read before posting:
Please prefix your title with [Bug] or [Feature request].
Please include this information:
What Grafana version are you using?
4.2.0
What datasource are you using?
InfluxDb
What OS are you running grafana on?
Ubuntu Trusty
What did you do?
tried to send an email alert
What was the expected result?
an email alert
What happened instead?
UI Says: "Problem! Failed to send alert notifications"
Logs say: logger=alerting.notifier.email error="tls: first record does not look like a TLS handshake"
If related to metric query / data viz:
The text was updated successfully, but these errors were encountered: