# 업데이트 후 이메일 알림 오류

**URL:** https://meta.discourse.org/t/email-notifications-failing-after-update/132271
**Category:** Self-hosting
**Tags:** email
**Created:** [10월 30, 2019, 8:30오후 UTC](https://meta.discourse.org/t/email-notifications-failing-after-update/132271 "2019-10-30T20:30:34Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![bmgraves](https://avatars.discourse-cdn.com/v4/letter/b/f04885/32.png) [@bmgraves](https://meta.discourse.org/u/bmgraves)
#### Post date: [10월 30, 2019, 8:30오후 UTC](https://meta.discourse.org/t/email-notifications-failing-after-update/132271/1 "2019-10-30T20:30:35Z")

</div>

최근 최신 버전으로 업데이트한 후 갑자기 이메일 알림이 더 이상 작동하지 않습니다.

Sidekiq에 다음과 같은 오류가 발생합니다:

```
obs::HandledExceptionWrapper: Wrapped OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=error: dh key too small

```

하지만 이에 대해 유용한 정보를 거의 찾을 수 없습니다.

제 설정은 기본적인 것들뿐입니다:

```
DISCOURSE_SMTP_ADDRESS: <smtp.domain.com>
DISCOURSE_SMTP_PORT: 587
DISCOURSE_SMTP_USER_NAME: <account@domain.com> 
DISCOURSE_SMTP_PASSWORD: '<password>'
DISCOURSE_SMTP_ENABLE_START_TLS: true # (선택 사항, 기본값 true)

```

(프라이버시를 위해 URL을 삭제했으며, 모두 표준적인 설정입니다)

---

<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: [10월 30, 2019, 8:35오후 UTC](https://meta.discourse.org/t/email-notifications-failing-after-update/132271/2 "2019-10-30T20:35:38Z")

</div>

HTTPS 인증서에 문제가 있습니다.

---

<div class="post-metadata">

### Author: ![bmgraves](https://avatars.discourse-cdn.com/v4/letter/b/f04885/32.png) [@bmgraves](https://meta.discourse.org/u/bmgraves)
#### Post date: [10월 30, 2019, 8:39오후 UTC](https://meta.discourse.org/t/email-notifications-failing-after-update/132271/3 "2019-10-30T20:39:29Z")

</div>

제가 궁금한 점은…

A) 왜 이 문제가 이전에 없다가 지금 생겼는지, 그리고 그 문제가 무엇인지 어떻게 찾아낼 수 있는지요. 그리고

B) 왜 이 문제가 SMTP에만 영향을 미치고 사이트 전체에는 영향을 주지 않는지 궁금합니다. 제 SSL 인증서는 2020년 4월까지 유효하며, 사이트 전체에서 HTTPS는 정상적으로 작동하고 있습니다…

Discourse가 갑자기 SMTP용 SSL 인증서를 인식하지 못하는 원인을 조사할 수 있는 방법이 있을까요?

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [10월 31, 2019, 8:56오후 UTC](https://meta.discourse.org/t/email-notifications-failing-after-update/132271/4 "2019-10-31T20:56:43Z")

</div>

문제는 다음과 같습니다:

> [@bmgraves](#):
>
> dh 키가 너무 작습니다

사용 중인 SMTP가 너무 작은 DH 키를 제공합니다. 자체 SMTP 서버를 사용하고 계신가요? 그렇다면 비슷한 문제를 겪는 곳이 많습니다. Rackspace도 최근까지 동일한 문제를 겪었습니다.

[Email SSL Errors after Update to 2.4.0.beta4 - #11 by gerhard](https://meta.discourse.org/t/email-ssl-errors-after-update-to-2-4-0-beta4/128992/11?u=gerhard) 링크에는 해당 문제를 디버깅하는 방법과 임시 해결책이 안내되어 있습니다. 그러나 사용자와 제공업체는 DH 키 크기를 실제로 증가시켜야 합니다.

---

<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: [7월 17, 2023, 11:49오전 UTC](https://meta.discourse.org/t/email-notifications-failing-after-update/132271/5 "2023-07-17T11:49:04Z")

</div>



---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [7월 17, 2023, 11:50오전 UTC](https://meta.discourse.org/t/email-notifications-failing-after-update/132271/6 "2023-07-17T11:50:54Z")

</div>


