# Forum SMTPAuthenticationError

**URL:** <http://forum.zenon.org/t/forum-smtpauthenticationerror/1331>\
**Category:** ╰ Network\
**Created:** [March 9, 2023, 12:51pm UTC](http://forum.zenon.org/t/forum-smtpauthenticationerror/1331 "2023-03-09T12:51:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![0x3639](http://forum.zenon.org/user_avatar/forum.zenon.org/0x3639/32/1651_2.png) [@0x3639](http://forum.zenon.org/u/0x3639)\
**Post date:** [March 9, 2023, 12:51pm UTC](http://forum.zenon.org/t/forum-smtpauthenticationerror/1331/1 "2023-03-09T12:51:50Z")

</div>

We are getting the following error in the logs.

```auto
Jobs::HandledExceptionWrapper: Wrapped Net::SMTPAuthenticationError: 535 Authentication failed

```

Looks like an SMTP authentication error w/ Mailgun. There are \> 18k failed attempts. I’m traveling today and can look into this more closely tonight.

I probably need to reset the SMTP password in mailgun and update the .yml file and rebuild discourse. that will result in a 30 second outage. I will just do it when ready hopefully later tonight.

---

<div class="post-metadata">

**Author:** ![0x3639](http://forum.zenon.org/user_avatar/forum.zenon.org/0x3639/32/1651_2.png) [@0x3639](http://forum.zenon.org/u/0x3639)\
**Post date:** [March 10, 2023, 12:42am UTC](http://forum.zenon.org/t/forum-smtpauthenticationerror/1331/2 "2023-03-10T00:42:30Z")

</div>

CPU is spiking to process the email backlog. it’s possible users will get a LOT of email when I fix this.

 ![Screenshot 2023-03-09 at 6.40.56 PM](https://forum.zenon.org/uploads/default/original/2X/c/c2bf08099c372d90565a33d5cb5e1558026ba51a.png)

---

<div class="post-metadata">

**Author:** ![0x3639](http://forum.zenon.org/user_avatar/forum.zenon.org/0x3639/32/1651_2.png) [@0x3639](http://forum.zenon.org/u/0x3639)\
**Post date:** [March 10, 2023, 12:52am UTC](http://forum.zenon.org/t/forum-smtpauthenticationerror/1331/3 "2023-03-10T00:52:03Z")

</div>

I just dumped the email backlog. Taking a snapshot and will rebuild shortly.

---

<div class="post-metadata">

**Author:** ![0x3639](http://forum.zenon.org/user_avatar/forum.zenon.org/0x3639/32/1651_2.png) [@0x3639](http://forum.zenon.org/u/0x3639)\
**Post date:** [March 10, 2023, 11:08am UTC](http://forum.zenon.org/t/forum-smtpauthenticationerror/1331/4 "2023-03-10T11:08:26Z")

</div>

Looks like this rebuild fixed the SMTP issue. Everyone should be receiving emails from the forum now.
