# 429 too many emoji requests 😥

**URL:** <https://meta.discourse.org/t/429-too-many-emoji-requests/76561>\
**Category:** Support\
**Created:** [2017年十二月21日 14:04 UTC](https://meta.discourse.org/t/429-too-many-emoji-requests/76561 "2017-12-21T14:04:55Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fredo](https://avatars.discourse-cdn.com/v4/letter/f/b4bc9f/32.png) [@Fredo](https://meta.discourse.org/u/Fredo)\
**Post date:** [2017年十二月21日 14:04 UTC](https://meta.discourse.org/t/429-too-many-emoji-requests/76561/1 "2017-12-21T14:04:56Z")

</div>

After opening the emoji selector in the post editor, discourse throws users out once they load a page again (like after submitting a post).

> **429 Too Many Requests**
> 
> Your IP address has made too many requests to this service over a short amount of time. Please wait a few minutes and try again.
> 
> If you are behind a proxy or coming from a large company, you and many other users may appear to be the same person. Please let us know of recurring problems by email: [team@discourse.org](mailto:team@discourse.org)

It seems it was not the user trying to DDOS discourse, but discourse itself. If there is a way, maybe distinct requests to resources (like emojis) should not be considered? Or all emojis should be combined into a sprite?

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2017年十二月22日 01:42 UTC](https://meta.discourse.org/t/429-too-many-emoji-requests/76561/2 "2017-12-22T01:42:30Z")

</div>

> [@Fredo](#):
>
> Or all emojis should be combined into a sprite?

Very little point in that cause we have HTTP/2

Can you clarify, is this happening on `meta.discourse.org` or on some other site we are hosting?

If it’s on meta then yes we got to add a bypass to our special rate limiting here for emojis, [discourse\_docker/templates/web.ratelimited.template.yml at master · discourse/discourse\_docker · GitHub](https://github.com/discourse/discourse_docker/blob/master/templates/web.ratelimited.template.yml) is too indescriminent.

One plan we have is to shift to a global rate limit in the APP so this would be totally sidestepped and then the NGINX rate limit can be way higher.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2017年十二月22日 01:43 UTC](https://meta.discourse.org/t/429-too-many-emoji-requests/76561/3 "2017-12-22T01:43:01Z")

</div>

> [@sam](#):
>
> Can you clarify, is this happening on [meta.discourse.org](http://meta.discourse.org) or on some other site we are hosting?

You will need to clarify this part first @Fredo.

---

<div class="post-metadata">

**Author:** ![Fredo](https://avatars.discourse-cdn.com/v4/letter/f/b4bc9f/32.png) [@Fredo](https://meta.discourse.org/u/Fredo)\
**Post date:** [2017年十二月27日 15:20 UTC](https://meta.discourse.org/t/429-too-many-emoji-requests/76561/4 "2017-12-27T15:20:45Z")

</div>

It’s hosted by discourse ([https://forums.sketchup.com/](https://forums.sketchup.com/)). But you have to scroll quickly through all the emojis to reproduce it.

---

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [2017年十二月27日 15:29 UTC](https://meta.discourse.org/t/429-too-many-emoji-requests/76561/5 "2017-12-27T15:29:43Z")

</div>

FTR I was able to reproduce it on [https://forums.sketchup.com](https://forums.sketchup.com) by scrolling through the emojis.

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2017年十二月27日 22:09 UTC](https://meta.discourse.org/t/429-too-many-emoji-requests/76561/7 "2017-12-27T22:09:39Z")

</div>

I am leaving this assigned to me for now, we do plan to improve this in 2 ways

1. whitelist emoji requests from the CDN so they do not participate in the rate limiting

2. centralize emoji storage across all our sites so there is only one CDN for emojis.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2018年九月14日 21:09 UTC](https://meta.discourse.org/t/429-too-many-emoji-requests/76561/8 "2018-09-14T21:09:52Z")

</div>

We need to centralize emoji paths _and_ avatar paths (on Discourse hosting). So this is a to-do we still need to get to.

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2019年十二月3日 06:04 UTC](https://meta.discourse.org/t/429-too-many-emoji-requests/76561/9 "2019-12-03T06:04:10Z")

</div>

我们在此做了大量工作以改善现状，包括优化 CDN 的规则、放宽表情符号的使用限制。

然而，将所有托管资源统一到一个位置来存储所有表情符号这一根本性变革尚未完成。鉴于此类变更的规模庞大，我们近期也无法将其纳入计划。

---

<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:** [2023年九月7日 22:56 UTC](https://meta.discourse.org/t/429-too-many-emoji-requests/76561/10 "2023-09-07T22:56:48Z")

</div>



---

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [2023年九月8日 14:23 UTC](https://meta.discourse.org/t/429-too-many-emoji-requests/76561/11 "2023-09-08T14:23:20Z")

</div>

由于最近没有发生此类问题，我认为我们可以认为它已修复。 🙂

---

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [2023年九月8日 14:23 UTC](https://meta.discourse.org/t/429-too-many-emoji-requests/76561/12 "2023-09-08T14:23:22Z")

</div>


