# ERROR - execution expired

**URL:** https://meta.discourse.org/t/error-execution-expired/359391
**Category:** Support
**Created:** [March 29, 2025, 5:47am UTC](https://meta.discourse.org/t/error-execution-expired/359391 "2025-03-29T05:47:26Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![crazzybat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/crazzybat/32/480356_2.png) [@crazzybat](https://meta.discourse.org/u/crazzybat)
#### Post date: [March 29, 2025, 5:47am UTC](https://meta.discourse.org/t/error-execution-expired/359391/1 "2025-03-29T05:47:26Z")

</div>

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

‘ERROR - execution expired (email)’  
I am using MailGun for SMTP emails. Port 587

First i don’t know how to fix, so can please help me with this?

Second I read this

> [@ERROR - execution expired (email)](https://meta.discourse.org/t/error-execution-expired-email/356703):
>
> 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 …

and we hosting on digital ocean, in their official guide mentioned about SMTP ports 25, 465, and 587 are blocked on Droplets to prevent spam and other abuses of our platform. [Source](https://docs.digitalocean.com/support/why-is-smtp-blocked/)

To send mail from DigitalOcean, we recommend using SendGrid via the [SendGrid Marketplace 1-Click App](https://marketplace.digitalocean.com/apps/sendgrid).

So can you please provide me guide from here to fix the problem?  
Thank you 😉 😊 for reading…

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [March 29, 2025, 6:02am UTC](https://meta.discourse.org/t/error-execution-expired/359391/3 "2025-03-29T06:02:12Z")

</div>

Try port 2525

---

<div class="post-metadata">

### Author: ![crazzybat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/crazzybat/32/480356_2.png) [@crazzybat](https://meta.discourse.org/u/crazzybat)
#### Post date: [March 29, 2025, 6:06am UTC](https://meta.discourse.org/t/error-execution-expired/359391/4 "2025-03-29T06:06:18Z")

</div>

thanks, I have ssh access and little knowledge. But how to change port i don’t know. If you please guide that help a lot?

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [March 29, 2025, 6:17am UTC](https://meta.discourse.org/t/error-execution-expired/359391/5 "2025-03-29T06:17:59Z")

</div>

I believe you will need to edit your app.yml file and change the port:

```bash
sudo -s
cd /var/discourse
nano containers/app.yml

```

You can then edit the file, and then do this:

```bash
./launcher destroy app
./launcher start app

```

To make your changes take effect.

---

<div class="post-metadata">

### Author: ![crazzybat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/crazzybat/32/480356_2.png) [@crazzybat](https://meta.discourse.org/u/crazzybat)
#### Post date: [March 29, 2025, 6:55am UTC](https://meta.discourse.org/t/error-execution-expired/359391/6 "2025-03-29T06:55:38Z")

</div>

@NateDhaliwal Thanks a lots 💟 . It working now, I did changed as you provide.

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [March 29, 2025, 10:08am UTC](https://meta.discourse.org/t/error-execution-expired/359391/7 "2025-03-29T10:08:54Z")

</div>

No problem, happy to help!

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [April 28, 2025, 10:09am UTC](https://meta.discourse.org/t/error-execution-expired/359391/8 "2025-04-28T10:09:23Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
