prometheus / alertmanager

Prometheus Alertmanager
https://prometheus.io
Apache License 2.0
6.61k stars 2.14k forks source link

not able to authenticate in ses #2389

Open dauntlessnomad opened 4 years ago

dauntlessnomad commented 4 years ago

What did you do? Configured ses to send alert emails.

What did you expect to see? emails receiving my inbox. What did you see instead? Under which circumstances?

Oct  8 09:51:02 ip-10-64-64-250 alertmanager[34700]: level=error ts=2020-10-08T09:51:02.908Z caller=dispatch.go:309 component=dispatcher msg="Notify for alerts failed" num_alerts=2 err="email/email[0]: notify retry canceled after 5 attempts: *smtp.plainAuth auth: 535 Authentication Credentials Invalid"
Oct  8 09:51:02 ip-10-64-64-250 alertmanager[34700]: level=error ts=2020-10-08T09:51:02.922Z caller=dispatch.go:309 component=dispatcher msg="Notify for alerts failed" num_alerts=3 err="email/email[0]: notify retry canceled after 5 attempts: *smtp.plainAuth auth: 535 Authentication Credentials Invalid"
Oct  8 09:51:02 ip-10-64-64-250 alertmanager[34700]: level=error ts=2020-10-08T09:51:02.983Z caller=dispatch.go:309 component=dispatcher msg="Notify for alerts failed" num_alerts=3 err="email/email[0]: notify retry canceled after 5 attempts: *smtp.plainAuth auth: 535 Authentication Credentials Invalid"
Oct  8 09:51:03 ip-10-64-64-250 alertmanager[34700]: level=error ts=2020-10-08T09:51:03.003Z caller=dispatch.go:309 component=dispatcher msg="Notify for alerts failed" num_alerts=12 err="email/email[0]: notify retry canceled after 5 attempts: *smtp.plainAuth auth: 535 Authentication Credentials Invalid"
Oct  8 09:51:03 ip-10-64-64-250 alertmanager[34700]: level=warn ts=2020-10-08T09:51:03.756Z caller=notify.go:674 component=dispatcher receiver=email integration=email[0] msg="Notify attempt failed, will retry later" attempts=1 err="*smtp.plainAuth auth: 535 Authentication Credentials Invalid"

Environment
production AWS

route: group_by: ['alertname','instance', 'alert'] group_wait: 10s group_interval: 10s repeat_interval: 1h receiver: 'email' receivers:

inhibit_rules:

simonpasquier commented 3 years ago

535 Authentication Credentials Invalid indicates that the server rejects the authentication. You need to double check the credentials and maybe ask the SES support.

dionisiemoscalu commented 6 months ago

HI @tomahawk-pilot ,

Are you doing it via helm ? Thanks,

dionisiemoscalu commented 6 months ago

@simonpasquier is not related to the SES services, i have same problem

The workaround is to add password throw Alertmanger in Grafana UI (but is not right solution)