فشل إشعارات البريد الإلكتروني بعد التحديث

تم التحديث مؤخرًا إلى أحدث الإصدار، وفجأة توقفت إشعارات البريد الإلكتروني عن العمل.

يظهر 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)

(تم إخفاء الروابط للحفاظ على الخصوصية، لكنها كلها أمور قياسية)

إعجاب واحد (1)

There is a problem with your https certificates.

I guess my questions are…

A) Why is this problem something that didn’t exist before but does now, and how do i find out what that problem is. and

b) Why does that problem only affect smtp and not the site as a whole? My SSL certificates are valid until april 2020, and https is working fine on the site as a whole…

Is there any method to troubleshoot why discourse suddenly doesn’t like my ssl certificates for smtp?

The problem is this:

The SMTP you are using provides a DH key that is too small. Are you using your own SMTP server? If so, you are in good company. Rackspace had the same problem up until recently.

Email SSL Errors after Update to 2.4.0.beta4 - #11 by gerhard contains instructions on how to debug the issue and a temporary workaround. But you or your provider should really increase the size of the DH key.

إعجاب واحد (1)