ERROR - execution expired (email)

In /admin I see this prompt for the first time:

There are 91 email jobs that failed. Check your app.yml and ensure that the mail server settings are correct. See the failed jobs in Sidekiq.

I sent a test email, and I was greeted with:

ERROR - execution expired (email)

I am using Brevo for SMTP email.

I went ahead and double checked my app.yml to ensure that my settings were correct, and they are. I have rebuilt a few times now, and even shut off the server and turned it back on. Nothing is fixing it.

I have no unofficial plugins installed.

Checkout /sidekiq in your Discourse admin dashboard and inspect the error logs.

1 Like

I am unsure what to make of these logs:

Located the issue:

I utilize Digital Ocean for an Ubuntu Server, and Brevo for SMTP email. Digital Ocean blocks port 587, which by default, Brevo suggests. However, Brevo allows you to use port 2525, which is not blocked by Digital Ocean.

I changed the port in my app.yml and rebuilt. I was then able to send an email test, and no longer had email jobs that failed.

Source

2 Likes