# How to find out about 504 errors and the reasons?

**URL:** <https://meta.discourse.org/t/how-to-find-out-about-504-errors-and-the-reasons/94483>\
**Category:** Product Support\
**Created:** [11 augustus 2018 om 15:36 UTC](https://meta.discourse.org/t/how-to-find-out-about-504-errors-and-the-reasons/94483 "2018-08-11T15:36:20Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Pad\_Pors](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pad_pors/32/52016_2.png) [@Pad\_Pors](https://meta.discourse.org/u/Pad_Pors)\
**Post date:** [11 augustus 2018 om 15:36 UTC](https://meta.discourse.org/t/how-to-find-out-about-504-errors-and-the-reasons/94483/1 "2018-08-11T15:36:20Z")

</div>

our users report some 504 bad gateway errors for accessing the instance: for example when they like a topic or try to edit their response.

the forum is on a t2-small aws instace, and the swap is 2g.

the memory usage is something like this:

![image](https://global.discourse-cdn.com/meta/original/3X/7/1/7137eea675a4b64d5798c867e1cc180fdc9aae90.png)

1. does the 504 error mean we need to extend our host and add some memory?

2. may the error be due to the cdn (cloudflare)?

3. may it be because of plugins and themes that are installed in our forum?

how can I find out what is the problem and how can I solve it?

thanks in advance for your help ❤

---

_[View the full topic](https://meta.discourse.org/t/how-to-find-out-about-504-errors-and-the-reasons/94483)._
