Hi All
Please help me about SMTP.
I config SMTP in grafana.ini follow as bellow but cannot connect SMTP gmail, it has an error “dial tcp 74.125.130.108:465: i/o timeout”
My server user CentOS 7 on Huawei cloud.
Here is my config SMTP in grafana.ini
[smtp]
enabled = true
host = smtp.gmail.com:465
user = <–my email–>
password = <–my password–>
;cert_file =
;key_file =
skip_verify = true
from_address = <–my email–>
from_name = Grafana
Here is error
Oct 03 10:48:26 opss-log-dev grafana-server[16757]: t=2019-10-03T10:48:26+0700 lvl=info msg=“Initializing UserAuthTokenService” logger=server
Oct 03 10:48:26 opss-log-dev grafana-server[16757]: t=2019-10-03T10:48:26+0700 lvl=info msg=“Initializing CleanUpService” logger=server
Oct 03 10:48:26 opss-log-dev grafana-server[16757]: t=2019-10-03T10:48:26+0700 lvl=info msg=“Initializing NotificationService” logger=server
Oct 03 10:48:26 opss-log-dev systemd[1]: Started Grafana instance.
Oct 03 10:48:26 opss-log-dev grafana-server[16757]: t=2019-10-03T10:48:26+0700 lvl=info msg=“Initializing provisioningServiceImpl” logger=server
Oct 03 10:48:26 opss-log-dev grafana-server[16757]: t=2019-10-03T10:48:26+0700 lvl=info msg=“Initializing Stream Manager”
Oct 03 10:48:26 opss-log-dev grafana-server[16757]: t=2019-10-03T10:48:26+0700 lvl=info msg=“HTTP Server Listen” logger=http.server address=0.0.0.0:8001 protocol=http subUrl= socket=
Oct 03 10:48:42 opss-log-dev grafana-server[16757]: t=2019-10-03T10:48:42+0700 lvl=info msg=“Sending alert notification to” logger=alerting.notifier.email addresses=[<–my password–>]
Oct 03 10:48:52 opss-log-dev grafana-server[16757]: t=2019-10-03T10:48:52+0700 lvl=eror msg=“Failed to send alert notification email” logger=alerting.notifier.email error=“Failed to send notification to email address: <–my password–>: dial tcp 74.125.130.108:465: i/o timeout”
Oct 03 10:48:52 opss-log-dev grafana-server[16757]: t=2019-10-03T10:48:52+0700 lvl=eror msg=“failed to send notification” logger=alerting.notifier uid= error=“Failed to send notification to email address: <–my password–>: dial tcp 74.125.130.108:465: i/o timeout”
thank you.