# 이메일 호스트명 인증서 불일치로 인한 Sidekiq 큐 과부하 및 심각한 사이트 불안정

**URL:** https://meta.discourse.org/t/email-hostname-certificate-mismatch-causing-sidekiq-queue-overload-severe-site-instability/225778
**Category:** Self-hosting
**Created:** [4월 30, 2022, 11:02오후 UTC](https://meta.discourse.org/t/email-hostname-certificate-mismatch-causing-sidekiq-queue-overload-severe-site-instability/225778 "2022-04-30T23:02:36Z")
**Posts on this page:** 5
**Page:** 4

<div class="post-metadata">

### Author: ![mcdanlj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcdanlj/32/131829_2.png) [@mcdanlj](https://meta.discourse.org/u/mcdanlj)
#### Post date: [5월 26, 2022, 9:55오후 UTC](https://meta.discourse.org/t/email-hostname-certificate-mismatch-causing-sidekiq-queue-overload-severe-site-instability/225778/68 "2022-05-26T21:55:22Z")

</div>

@RBoy, 언급해 주셔서 감사하지만, 문제를 혼동하지 말아 주세요. 잠시 동안 두 가지 문제에 모두 영향을 받았을 수도 있다고 생각했지만, 실제로는 **아니었습니다.** 저는 적절히 구성된 메일 서버만 사용하고 있으며, 이 변경 사항의 영향을 받지 않습니다.

---

<div class="post-metadata">

### Author: ![RBoy](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@RBoy](https://meta.discourse.org/u/RBoy)
#### Post date: [5월 26, 2022, 11:41오후 UTC](https://meta.discourse.org/t/email-hostname-certificate-mismatch-causing-sidekiq-queue-overload-severe-site-instability/225778/69 "2022-05-26T23:41:56Z")

</div>

두 문제 모두 beta4 업그레이드 이후에 발생했고(확인해 본 결과 Ruby 업그레이드인 것 같습니다), 둘 다 이메일과 관련이 있으므로 어떤 상관관계가 있을 수 있다고 생각했습니다. 유효한 인증서가 있음에도 불구하고 여전히 이메일 작업에서 문제가 발생하고 있는 것으로 보입니다.

정말 상관관계가 없다고 확신하신다면 해당 게시물에 대한 언급을 삭제하겠습니다. 그 경우 DM으로 연락 주십시오.

---

<div class="post-metadata">

### Author: ![mcdanlj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcdanlj/32/131829_2.png) [@mcdanlj](https://meta.discourse.org/u/mcdanlj)
#### Post date: [5월 26, 2022, 11:57오후 UTC](https://meta.discourse.org/t/email-hostname-certificate-mismatch-causing-sidekiq-queue-overload-severe-site-instability/225778/70 "2022-05-26T23:57:08Z")

</div>

상관관계가 있을 것 같지는 않네요. 다만 수정을 요청하는 것은 아닙니다. 🙂

수천 통의 이메일이 원활하게 전송되는 동안 30통이 지속적으로 실패하는 환경은 인증서 처리 변경 사항과 전혀 관련이 없어 보입니다.

---

<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: [9월 28, 2023, 3:16오후 UTC](https://meta.discourse.org/t/email-hostname-certificate-mismatch-causing-sidekiq-queue-overload-severe-site-instability/225778/71 "2023-09-28T15:16:58Z")

</div>

@loic이 이 문제를 수정한 것 같습니다.

> <https://github.com/discourse/discourse/pull/17024>
>
> Following the Rails 7 upgrade, the \`DISCOURSE\_SMTP\_ENABLE\_START\_TLS\` setting doe…sn’t work anymore. This is because Rails upgraded the \`net-smtp\` gem to the 0.3.1 version which enables \`starttls\` by default.
> The \`mail\` gem doesn’t support this new behavior yet and doesn’t know how to disable TLS. This should be fixed in an upcoming release.
> 
> Meanwhile applying this patch allows us to get back the previous behavior which is expected by many.

---

<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: [9월 30, 2023, 3:17오후 UTC](https://meta.discourse.org/t/email-hostname-certificate-mismatch-causing-sidekiq-queue-overload-severe-site-instability/225778/73 "2023-09-30T15:17:40Z")

</div>

이 주제는 2일 후 자동으로 닫혔습니다. 더 이상 답변을 게시할 수 없습니다.

[Previous page](https://meta.discourse.org/t/email-hostname-certificate-mismatch-causing-sidekiq-queue-overload-severe-site-instability/225778.md?page=3)
