See the failed jobs in Sidekiq. (MailGun) failing to send emails

Evening all,

I haven’t really been using my forum, either as an end user or an admin, but I noticed it was a bit quiet. All of a sudden, when looking at the admin panel, I have 42 email jobs, and reading using Gemini, it is related to the provider (Mailgun) not being synced with the provider (DigitalOcean console) through the app.yml. I haven’t changed anything and can’t find anything on this forum about whether we needed to change anything on our side.

Username and now password are correct; other than that, there isn’t much else with the SMTP I can change. The port is also correct, and when I say “now” password, I’ve also changed this.

None of these have been changed since 2022, so what could it be?

Which port do you currently use?

Hi,

Originally, I tested this port, 2525, as well, from the recommendation of ./discourse-doctor to test the mailing side.

Was it always 2525, or did you just change it?

If you changed it, did you destroy and start the container (or do a rebuild)?

If you go to /admin/email/server-settings can you send a test message?

1 Like

No, always been 587 until about 2 hours ago and been this since 2022.

Once I change them in the container I’ve been rebuilding.

In here it comes up as Error “ERROR - execution expired”

That sounds like it’s still getting blocked. Are you sure that you changed it to 2525? And when you rebuilt it built and started a new container?

1 Like

So I’ve done this:

cd /var/discourse
./launcher destroy app
./launcher start app

And now it works. I do apologize. I see the original topic was back in 2017 and lasted this long, which is good going. Hopefully, this will fix it going forward.

1 Like