# Constant "Bad Gateway" errors every 3-5 minutes

**URL:** <https://community.penpot.app/t/constant-bad-gateway-errors-every-3-5-minutes/2900>\
**Category:** Self-host\
**Created:** [April 13, 2023, 1:54pm UTC](https://community.penpot.app/t/constant-bad-gateway-errors-every-3-5-minutes/2900 "2023-04-13T13:54:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ian](https://dub1.discourse-cdn.com/flex017/user_avatar/community.penpot.app/ian/32/2779_2.png) [@Ian](https://community.penpot.app/u/Ian)\
**Post date:** [April 13, 2023, 1:54pm UTC](https://community.penpot.app/t/constant-bad-gateway-errors-every-3-5-minutes/2900/1 "2023-04-13T13:54:24Z")

</div>

I’m getting pretty constant “Bad Gateway” errors every 3-5 minutes in the middle of working. Based on what the interface shows, it seems to be happening when the file attempts to autosave.

 ![BadGateway](https://europe1.discourse-cdn.com/flex017/uploads/penpot/original/2X/2/23a303eb9cfe5f99acd6ca665932ee5cab966e3e.png)

Is anyone else experiencing this, and have you found any way to mitigate it?

If it matters, I’m currently using Firefox on a Mac because Webkit browsers like Chrome and Safari seem to have performance issues when using Penpot.

---

<div class="post-metadata">

**Author:** ![Ian](https://dub1.discourse-cdn.com/flex017/user_avatar/community.penpot.app/ian/32/2779_2.png) [@Ian](https://community.penpot.app/u/Ian)\
**Post date:** [April 24, 2023, 4:03pm UTC](https://community.penpot.app/t/constant-bad-gateway-errors-every-3-5-minutes/2900/2 "2023-04-24T16:03:40Z")

</div>

I suppose I’ll take the deafening silence as a no—either I’m alone in experiencing Bad Gateway errors, or nobody has found a workaround.

In case it’s helpful for anyone looking into it, these seem to happen when the document tries to autosave. Usually autosaves happen quickly, but sometimes they hang (the text says “Saving…” for longer than usual), and then I get a Bad Gateway error.

---

<div class="post-metadata">

**Author:** ![hirunatan](https://dub1.discourse-cdn.com/flex017/user_avatar/community.penpot.app/hirunatan/32/38_2.png) [@hirunatan](https://community.penpot.app/u/hirunatan)\
**Post date:** [April 25, 2023, 11:28am UTC](https://community.penpot.app/t/constant-bad-gateway-errors-every-3-5-minutes/2900/3 "2023-04-25T11:28:06Z")

</div>

Sorry, @Ian. We are investigating this problem but so far we still have not been able to get anything clear.

This is not a generalized issue. It seems to be related to some particular files. Perhaps one file has some very big objects inside, or a complex structure. Could you please write to support@penpot.app and give us the url of the file you are working on, so we can inspect it and see what could be the cause? Thanks.

---

<div class="post-metadata">

**Author:** ![recall](https://avatars.discourse-cdn.com/v4/letter/r/b487fb/32.png) [@recall](https://community.penpot.app/u/recall)\
**Post date:** [June 1, 2023, 6:06pm UTC](https://community.penpot.app/t/constant-bad-gateway-errors-every-3-5-minutes/2900/4 "2023-06-01T18:06:30Z")

</div>

Hi, we are also experiencing this error. As is happening every 3-5 minutes is affecting our productivity.  
We REALLY like penpot. Sadly, in a business, time is very important and this problem affects productivity 😔

We’d like to help, is there anything we can do?

---

<div class="post-metadata">

**Author:** ![Alex](https://dub1.discourse-cdn.com/flex017/user_avatar/community.penpot.app/alex/32/43_2.png) [@Alex](https://community.penpot.app/u/Alex)\
**Post date:** [June 2, 2023, 6:41am UTC](https://community.penpot.app/t/constant-bad-gateway-errors-every-3-5-minutes/2900/5 "2023-06-02T06:41:13Z")

</div>

Hi @recall!

We are working with the info you sent to [support@taiga.io](mailto:support@taiga.io), I think it gave us an important clue about why this could be happening.

Thanks!

---

<div class="post-metadata">

**Author:** ![mmtm](https://avatars.discourse-cdn.com/v4/letter/m/779978/32.png) [@mmtm](https://community.penpot.app/u/mmtm)\
**Post date:** [June 12, 2023, 12:16pm UTC](https://community.penpot.app/t/constant-bad-gateway-errors-every-3-5-minutes/2900/6 "2023-06-12T12:16:49Z")

</div>

We get the same error and an additional one called “Internal Error”. We belive it is caused when the user makes too many changes too fast on the UI. For example, changing the text size, then immediately changing the size of the shape and then immediately moving the shape.  
The frequency of errors goes down when we do this one at a time. For example, change the text size, wait for the “Saving…” to change to “Saved” on the top right, then change the size of the shape, then wait for the “Saving…” to change to “Saved” on the top right, move the shape and then wait for the “Saving…” to change to “Saved” on the top right.

Don’t know how this helps but that is what we observed.
