# Forum giving 502 Bad Gateway Error

**URL:** https://meta.discourse.org/t/forum-giving-502-bad-gateway-error/169132
**Category:** Self-hosting
**Created:** [November 3, 2020, 4:01pm UTC](https://meta.discourse.org/t/forum-giving-502-bad-gateway-error/169132 "2020-11-03T16:01:10Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Helical\_Insight](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/helical_insight/32/159139_2.png) [@Helical\_Insight](https://meta.discourse.org/u/Helical_Insight)
#### Post date: [November 3, 2020, 4:01pm UTC](https://meta.discourse.org/t/forum-giving-502-bad-gateway-error/169132/1 "2020-11-03T16:01:10Z")

</div>

Hello

We have been using discourse for our forum since years without facing many issues. But all of a sudden today when we are trying to visit our forum it is giving us _502 Bad Gateway Error_ Here is the screenshot for clear understanding.

 ![image](https://global.discourse-cdn.com/meta/original/3X/e/3/e32a2eee67f1d28bb70a6272066826cdd7712678.png)

Please help us in solving this issue

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [November 3, 2020, 4:06pm UTC](https://meta.discourse.org/t/forum-giving-502-bad-gateway-error/169132/2 "2020-11-03T16:06:37Z")

</div>

First, try to reboot the system and see if it resolves the issue.  
If it does not, check your disk space.

(Or you can do it the other way around).

---

<div class="post-metadata">

### Author: ![Helical\_Insight](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/helical_insight/32/159139_2.png) [@Helical\_Insight](https://meta.discourse.org/u/Helical_Insight)
#### Post date: [November 3, 2020, 4:11pm UTC](https://meta.discourse.org/t/forum-giving-502-bad-gateway-error/169132/3 "2020-11-03T16:11:57Z")

</div>

Hello Richard,

Thank you for your quick reply. We have tried the way which you mentioned and we also tried in different system but we are facing the same problem(502 Bad Gateway). What else we can do?

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [November 3, 2020, 4:15pm UTC](https://meta.discourse.org/t/forum-giving-502-bad-gateway-error/169132/4 "2020-11-03T16:15:45Z")

</div>

> [@Helical\_Insight](#):
>
> we also tried in different system

What does this mean?

So did you check your disk space?

---

<div class="post-metadata">

### Author: ![Helical\_Insight](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/helical_insight/32/159139_2.png) [@Helical\_Insight](https://meta.discourse.org/u/Helical_Insight)
#### Post date: [November 3, 2020, 4:23pm UTC](https://meta.discourse.org/t/forum-giving-502-bad-gateway-error/169132/5 "2020-11-03T16:23:17Z")

</div>

We also tried in different system(Which means when we are trying to visit our forum url on different Machines(Laptops)) it is giving the same issue.

When the forum is up and running without 502 Bad Gateway at that time posting the answer to the question is not working it is giving Internal Server error. For clear understanding below is the screenshot.

 ![image](https://global.discourse-cdn.com/meta/original/3X/c/d/cd06742be806b568302783fd499a44736dfb4edd.png)

Thank You

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [November 3, 2020, 4:25pm UTC](https://meta.discourse.org/t/forum-giving-502-bad-gateway-error/169132/6 "2020-11-03T16:25:49Z")

</div>

It seems to be working now although it’s very slow.

---

<div class="post-metadata">

### Author: ![Helical\_Insight](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/helical_insight/32/159139_2.png) [@Helical\_Insight](https://meta.discourse.org/u/Helical_Insight)
#### Post date: [November 3, 2020, 4:48pm UTC](https://meta.discourse.org/t/forum-giving-502-bad-gateway-error/169132/7 "2020-11-03T16:48:19Z")

</div>

It’s working but we are not able to post the answer. Below is the log file error we are getting

![image](https://global.discourse-cdn.com/meta/optimized/3X/6/9/692cf493a905d18936211d0b04c4f3bdb706d6f4_2_689x37.png)

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 3, 2020, 6:05pm UTC](https://meta.discourse.org/t/forum-giving-502-bad-gateway-error/169132/8 "2020-11-03T18:05:49Z")

</div>

How fast is the CPU? How much RAM? Are the disks SSD?
