level=info ts=2019-11-26T09:09:29.822Z caller=coordinator.go:131 component=configuration msg="Completed loading of configuration file" file=/etc/alertmanager/config/alertmanager.yamllevel=info ts=2019-11-26T09:09:29.832Z caller=main.go:429 msg=Listening address=:9093level=info ts=2019-11-26T09:09:31.790Z caller=cluster.go:648 component=cluster msg="gossip not settled" polls=0 before=0 now=1 elapsed=2.000171097slevel=info ts=2019-11-26T09:09:39.791Z caller=cluster.go:640 component=cluster msg="gossip settled; proceeding" elapsed=10.001056255slevel=error ts=2019-11-26T09:09:47.560Z caller=email.go:148 integration=email msg="failed to close SMTP connection" err="write tcp 10.33.95.134:49772->10.47.255.15:25: use of closed network connection"level=error ts=2019-11-26T09:09:48.251Z caller=email.go:148 integration=email msg="failed to close SMTP connection" err="write tcp 10.33.95.134:49776->10.47.255.15:25: use of closed network connection"
This is not really an issue with AlertManager. More of a suggestion on improving docs that could potentially reduce the debugging time for devs who want to configure.

@Simon: Yes the logging seems relevant in v0.19.0. Here are the logs:
level=info ts=2019-11-27T04:33:15.836Z caller=main.go:466 msg=Listening address=:9093level=info ts=2019-11-27T04:33:17.786Z caller=cluster.go:648 component=cluster msg="gossip not settled" polls=0 before=0 now=1 elapsed=2.000130871slevel=info ts=2019-11-27T04:33:25.787Z caller=cluster.go:640 component=cluster msg="gossip settled; proceeding" elapsed=10.000790267slevel=error ts=2019-11-27T04:39:15.025Z caller=notify.go:372 component=dispatcher msg="Error on notify" err="*smtp.plainAuth auth: unencrypted connection" context_err="context deadline exceeded"level=error ts=2019-11-27T04:39:15.025Z caller=dispatch.go:266 component=dispatcher msg="Notify for alerts failed" num_alerts=1 err="*smtp.plainAuth auth: unencrypted connection"
> To unsubscribe from this group and stop receiving emails from it, send an email to promethe...@googlegroups.com.
@Brian: Alertmanager code is not responsible for disallowing remote unencrypted SMTP connection. It is the golang net/smtp standard library that has this restriction. Here is the screenshot of the relevant code from https://golang.org/src/net/smtp/auth.go. This looks more like a security consideration as per the comments.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/6054d3e5-d769-4a0b-8e95-f15b0da8d406%40googlegroups.com.
On Wed, 27 Nov 2019 at 04:54, Emmanuel Livingstone <living...@gmail.com> wrote:@Brian: Alertmanager code is not responsible for disallowing remote unencrypted SMTP connection. It is the golang net/smtp standard library that has this restriction. Here is the screenshot of the relevant code from https://golang.org/src/net/smtp/auth.go. This looks more like a security consideration as per the comments.
Ah, in that case on the presumption that the AM maintainers don't want to workaround this would you like to send a PR for the docs? They're in the docs repo in this case.Brian
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/6054d3e5-d769-4a0b-8e95-f15b0da8d406%40googlegroups.com.