# Discourse-topic-organizer가 '느리게 하세요, 이 IP 주소에서 요청이 너무 많습니다' 오류를 유발합니다

**URL:** https://meta.discourse.org/t/discourse-topic-organizer-causing-slow-down-too-many-requests-from-this-ip-address/140285
**Category:** Support
**Created:** [1월 31, 2020, 9:43오전 UTC](https://meta.discourse.org/t/discourse-topic-organizer-causing-slow-down-too-many-requests-from-this-ip-address/140285 "2020-01-31T09:43:59Z")
**Posts on this page:** 18
**Page:** 1

<div class="post-metadata">

### Author: ![Siddhu\_Dhangar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/siddhu_dhangar/32/123849_2.png) [@Siddhu\_Dhangar](https://meta.discourse.org/u/Siddhu_Dhangar)
#### Post date: [1월 31, 2020, 9:43오전 UTC](https://meta.discourse.org/t/discourse-topic-organizer-causing-slow-down-too-many-requests-from-this-ip-address/140285/1 "2020-01-31T09:43:59Z")

</div>

우리는 discourse 플랫폼에 플러그인을 하나 설치했습니다. 그런데 갑자기 페이지에 "Slow down, too Many Requests from this IP Address"라는 메시지가 표시됩니다. discourse의 nginx 설정을 변경해야 하는 것 같습니다. 이 문제를 해결할 수 있는 방법이 있을까요?

---

<div class="post-metadata">

### Author: ![osioke](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osioke/32/238946_2.png) [@osioke](https://meta.discourse.org/u/osioke)
#### Post date: [1월 31, 2020, 12:32오후 UTC](https://meta.discourse.org/t/discourse-topic-organizer-causing-slow-down-too-many-requests-from-this-ip-address/140285/2 "2020-01-31T12:32:11Z")

</div>

플러그인 이름을 공유해 주시겠어요? 그러면 어떤 조치를 취할 수 있는지 파악하는 데 도움이 될 것 같습니다.

---

<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: [1월 31, 2020, 12:34오후 UTC](https://meta.discourse.org/t/discourse-topic-organizer-causing-slow-down-too-many-requests-from-this-ip-address/140285/3 "2020-01-31T12:34:41Z")

</div>

IP 주소는 실제 사용자 IP 주소에서 온 것일까요, 아니면 리버스 프록시에서 온 것처럼 보일까요?

---

<div class="post-metadata">

### Author: ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)
#### Post date: [1월 31, 2020, 3:25오후 UTC](https://meta.discourse.org/t/discourse-topic-organizer-causing-slow-down-too-many-requests-from-this-ip-address/140285/4 "2020-01-31T15:25:03Z")

</div>

최근에도 페이지의 링크에서 여러 탭을 열 때 이 문제를 처음 발견했습니다. 우리는 유지보수용 스플래시 페이지를 제공하기 위해 사이트를 로컬 nginx 리버스 프록시로 전환했습니다.

(아마도 사용자의 원본 IP가 Discourse 어딘가에 전달되지 않는 것일까요? 아니면 이 문제가 전혀 아니어서 단순히 우연일 수도 있습니다.)

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [1월 31, 2020, 3:38오후 UTC](https://meta.discourse.org/t/discourse-topic-organizer-causing-slow-down-too-many-requests-from-this-ip-address/140285/5 "2020-01-31T15:38:06Z")

</div>

[Available settings for global rate limits and throttling](https://meta.discourse.org/t/global-rate-limits-and-throttling-in-discourse/78612) 를 참조하세요.

여러 탭을 열거나 기업용 IP를 사용하거나(또는 단순히 같은 인터넷 회선에서 두세 명이 작업하는 경우) 속도 제한에 쉽게 도달할 수 있습니다.

---

<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: [1월 31, 2020, 3:51오후 UTC](https://meta.discourse.org/t/discourse-topic-organizer-causing-slow-down-too-many-requests-from-this-ip-address/140285/6 "2020-01-31T15:51:13Z")

</div>

> [@downey](#):
>
> 사이트를 로컬 nginx 리버스 프록시로 전환하여 유지보수용 스플래시 페이지를 제공하도록 했습니다.

네. 그 이후로 모든 IP는 리버스 프록시의 IP가 됩니다.

> [@downey](#):
>
> 사용자의 원본 IP가 어딘가에서 Discourse로 전달되지 않는 것일까요?

제 추측도 그렇습니다. 아마 모든 IP에 대해 리버스 프록시를 기록하고 있을 것입니다. 올바른 IP를 NGINX/Discourse로 전달하는 방법에 대한 “다른 웹 서버와 함께 실행하는 방법” 관련 주제에서 팁을 찾아보세요.

최근 사용자 IP 몇 개를 확인하거나 `/var/discourse/shared/standalone/logs/var-log/nginx/access.log`(또는 이와 매우 유사한 경로)를 살펴봄으로써 확인할 수 있습니다.

---

<div class="post-metadata">

### Author: ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)
#### Post date: [1월 31, 2020, 6:41오후 UTC](https://meta.discourse.org/t/discourse-topic-organizer-causing-slow-down-too-many-requests-from-this-ip-address/140285/7 "2020-01-31T18:41:33Z")

</div>

> [@pfaffman](#):
>
> 아마도 리버스 프록시가 모든 IP를 로깅하고 있는 것 같습니다.

음, 그럴 것 같았는데 “internal” nginx 액세스 로그를 보면 실제 IP가 통과되고 있네요. 🤷‍♂️

---

<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: [1월 31, 2020, 6:55오후 UTC](https://meta.discourse.org/t/discourse-topic-organizer-causing-slow-down-too-many-requests-from-this-ip-address/140285/8 "2020-01-31T18:55:32Z")

</div>

아쉽네요. 그게 쉬운 해결책이었거든요.

일부 플러그인이나 테마 컴포넌트가 수많은 요청을 생성할 수 있습니다. 아니면 탭을 수십 개나 열어서 본인이 이 문제를 일으킨 것일 수도 있겠죠. 😉

---

<div class="post-metadata">

### Author: ![Siddhu\_Dhangar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/siddhu_dhangar/32/123849_2.png) [@Siddhu\_Dhangar](https://meta.discourse.org/u/Siddhu_Dhangar)
#### Post date: [2월 3, 2020, 6:20오전 UTC](https://meta.discourse.org/t/discourse-topic-organizer-causing-slow-down-too-many-requests-from-this-ip-address/140285/9 "2020-02-03T06:20:47Z")

</div>

아래에 GitHub의 플러그인 URL을 언급했습니다. [GitHub - siddhudhangar/discourse-topic-organizer · GitHub](https://github.com/siddhudhangar/discourse-topic-organizer)

제안이 있으시면 알려 주세요.

---

<div class="post-metadata">

### Author: ![Surendra-Patil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/surendra-patil/32/147391_2.png) [@Surendra-Patil](https://meta.discourse.org/u/Surendra-Patil)
#### Post date: [2월 3, 2020, 7:24오전 UTC](https://meta.discourse.org/t/discourse-topic-organizer-causing-slow-down-too-many-requests-from-this-ip-address/140285/10 "2020-02-03T07:24:28Z")

</div>

요청이 리버스 프록시를 통해 들어오는데, discourse의 “screened\_ip\_addresses” 설정에 프록시의 IP 주소를 화이트리스트로 등록해 두었습니다.

---

<div class="post-metadata">

### Author: ![outofthebox](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/outofthebox/32/83708_2.png) [@outofthebox](https://meta.discourse.org/u/outofthebox)
#### Post date: [2월 5, 2020, 1:13오후 UTC](https://meta.discourse.org/t/discourse-topic-organizer-causing-slow-down-too-many-requests-from-this-ip-address/140285/11 "2020-02-05T13:13:47Z")

</div>

저도 같은 문제를 겪고 있습니다. 우리 사이트의 관리자 중 한 명도 마찬가지입니다.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [2월 5, 2020, 1:19오후 UTC](https://meta.discourse.org/t/discourse-topic-organizer-causing-slow-down-too-many-requests-from-this-ip-address/140285/12 "2020-02-05T13:19:03Z")

</div>

혹시 discourse-topic-organizer 플러그인도 @outofthebox에서 사용하시나요?

해당 플러그인은 앱이 부팅될 때 [수많은 ajax 요청을 생성](https://github.com/siddhudhangar/discourse-topic-organizer/blob/master/assets/javascripts/discourse/initializers/admin_button.js.es6#L45-L62)하는 것으로 보입니다. 카테고리 수가 많을 경우, 이는 속도 제한을 유발할 가능성이 매우 높습니다. (cc @Siddhu_Dhangar)

---

<div class="post-metadata">

### Author: ![outofthebox](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/outofthebox/32/83708_2.png) [@outofthebox](https://meta.discourse.org/u/outofthebox)
#### Post date: [2월 5, 2020, 1:24오후 UTC](https://meta.discourse.org/t/discourse-topic-organizer-causing-slow-down-too-many-requests-from-this-ip-address/140285/13 "2020-02-05T13:24:12Z")

</div>

좋은 질문입니다! 저는 그 플러그인을 설치하지 않았습니다.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [2월 5, 2020, 1:26오후 UTC](https://meta.discourse.org/t/discourse-topic-organizer-causing-slow-down-too-many-requests-from-this-ip-address/140285/14 "2020-02-05T13:26:46Z")

</div>

그 경우, 커스텀 플러그인을 원인으로 배제하기 위해 안전 모드를 시도해 보시는 것을 권장합니다. 문제가 계속된다면, 아마도 다른 원인이므로 다른 #Support 토픽을 여는 것이 좋습니다.

---

<div class="post-metadata">

### Author: ![Siddhu\_Dhangar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/siddhu_dhangar/32/123849_2.png) [@Siddhu\_Dhangar](https://meta.discourse.org/u/Siddhu_Dhangar)
#### Post date: [2월 19, 2020, 7:09오전 UTC](https://meta.discourse.org/t/discourse-topic-organizer-causing-slow-down-too-many-requests-from-this-ip-address/140285/15 "2020-02-19T07:09:07Z")

</div>

이 문제에 대한 해결책을 찾았나요???

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [2월 19, 2020, 9:09오전 UTC](https://meta.discourse.org/t/discourse-topic-organizer-causing-slow-down-too-many-requests-from-this-ip-address/140285/16 "2020-02-19T09:09:48Z")

</div>

discourse-topic-organiser 플러그인이 너무 많은 Ajax 호출을 생성하고 있어 효율성을 높여야 합니다

> [@Discourse-topic-organizer가 '느리게 하세요, 이 IP 주소에서 요청이 너무 많습니다' 오류를 유발합니다](https://meta.discourse.org/t/discourse-topic-organizer-causing-slow-down-too-many-requests-from-this-ip-address/140285/12?u=david):
>
> Do you also have the discourse-topic-organizer plugin @outofthebox? It looks that plugin [creates a lot of ajax calls](https://github.com/siddhudhangar/discourse-topic-organizer/blob/master/assets/javascripts/discourse/initializers/admin_button.js.es6#L45-L62) when the app boots. That is very likely to trigger the rate limiting, especially when there are lots of categories. (cc @Siddhu_Dhangar)

---

<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: [1월 20, 2024, 6:52오전 UTC](https://meta.discourse.org/t/discourse-topic-organizer-causing-slow-down-too-many-requests-from-this-ip-address/140285/17 "2024-01-20T06:52:47Z")

</div>



---

<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: [1월 20, 2024, 3:14오후 UTC](https://meta.discourse.org/t/discourse-topic-organizer-causing-slow-down-too-many-requests-from-this-ip-address/140285/18 "2024-01-20T15:14:16Z")

</div>


