RGJ
(Richard - Communiteq)
5월 26, 2022, 6:54오전
1
Support 채널에 이 문제에 대한 게시글이 많이 올라와 있다가, 이제 원인을 찾은 것 같아서 실제 문제만 설명한 이 게시글을 Contribute > Bug 토픽으로 만들어 보는 것이 좋겠다고 생각했습니다. 관련 링크: Email Hostname Certificate Mismatch Causing sidekiq Queue Overload, Severe Site Instability - #47 by RGJ
간단히 요약하면 다음과 같습니다:
2.9.0 beta 4 버전부터 DISCOURSE_SMTP_OPENSSL_VERIFY_MODE와 DISCOURSE_SMTP_ENABLE_START_TLS 설정이 더 이상 올바르게 작동하지 않습니다.
이 문제는 Rails 7로의 전환과 관련이 있으며, 이 과정에서 net-smtp가 0.1.0에서 0.3.1로 업데이트되어 이 두 연결 파라미터의 기본값이 변경되었기 때문입니다.
smtp 지엠이 net-smtp를 호출하는 방식은 enable_starttls_auto와 openssl_verify_mode를 비활성화하지 않으며, 활성화된 경우에만 활성화할 뿐입니다.
smtp 지엠에 대한 관련 보고: SMTP: allow disabling starttls_auto since it's now true by default in Ruby 3 - Pull Request #1435#issuecomment-1044852765 - mikel/mail - GitHub
기술적으로 이 버그는 smtp 지엠에서 발생하기 때문에 Discourse 코드 외부에 해당하지만, 해당 지엠이 현재 Discourse를 위해 포크되어 있으므로 Contribute > Bug 토픽을 만드는 것이 적절하다고 생각합니다. 쉽게 수정할 수 없다면, 이 파라미터들을 문서에서 제거하고 비추천(deprecation) 경고를 표시하여 적어도 혼란을 없앨 수 있을 것입니다.
10개의 좋아요
RBoy
(RBoy)
5월 26, 2022, 12:56오후
2
Cross linking bug reports:
This is the first time I’m seeing this error after the recent upgrade to 2.9.0beta4
Jobs::UserEmail
{“type”=>“user_watching_first_post”, “user_id”=>1735, “notification_id”=>33246, “notification_data_hash”=>{“topic_title”=>“Some new notes”, “original_post_id”=>11592, “original_post_type”=>1, “original_username”=>“xfactor”, “revision_number”=>nil, “display_username”=>“xfactor”}, “notification_type”=>“watching_first_post”, “post_id”=>11592, “current_site_id”=>“default”}
Jobs::HandledExcepti…
2개의 좋아요
loic
(Loïc Guitaut)
6월 8, 2022, 9:48오전
3
This PR should bring back the proper behavior (it’s not merged yet):
https://github.com/discourse/discourse/pull/17024
5개의 좋아요
loic
(Loïc Guitaut)
6월 8, 2022, 3:28오후
4
PR has been merged earlier today so by using the tests-passed branch you should be able to disable TLS as before
1개의 좋아요
11 posts were split to a new topic: Email not working (Port 465)
This topic was automatically closed after 7 hours. New replies are no longer allowed.