プロジェクト

全般

プロフィール

Vote #80273

未完了

ActionMailer need to limit how many maximum connections it opens

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Email notifications_9
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
9
version_id:
0
issue_org_id:
31957
author_id:
413302
assigned_to_id:
0
comments:
4
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
146
ステータス-->[New]

説明

Microsoft office 365 smtp server has made some changes that will cause
this error message

Email delivery error: 432 4.3.2 STOREDRV.ClientSubmit; sender thread limit exceeded
basically

New throttling limit for concurrent connections that submit messages
The service has various limits to prevent abuse and to ensure fair use. An additional limit is being added. Under the new limit, up to three concurrent connections are allowed to send email messages at the same time. If an application tries to send more than three messages at the same time by using multiple connections, each connection will receive the following error message:

432 4.3.2 STOREDRV.ClientSubmit; sender thread limit exceeded

https://docs.microsoft.com/en-us/exchange/troubleshoot/send-emails/smtp-submission-improvements

other projects have worked around it by introducing a
maxConnections: 3 limitation to there mailers
ex

https://support.sisense.com/hc/en-us/community/posts/360029660673--Custom-SMTP-Email-Server-Solution-for-Outlook365-error-432-4-3-2-STOREDRV-ClientSubmit-sender-thread-limit-exceeded-

my setup

Environment:
Redmine version 4.0.2.stable
Ruby version 2.6.1-p33 (2019-01-30) [x86_64-linux]
Rails version 5.2.2
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp


journals

Could you try again after adding the following lines to config/additional_environment.rb?

<pre>
config.active_job.queue_adapter =
ActiveJob::QueueAdapters::AsyncAdapter.new \
max_threads: 3
</pre>
--------------------------------------------------------------------------------
Thanks for the quick response.
so far this seems to have fixed it will keep track during the day.
--------------------------------------------------------------------------------
The problem seems fixed so far. So there a way in the future to only make this affect the mailer. I guess this is now a global settings to any class that wants to use the ActiveJob::QueueAdapters::AsyncAdapter.
--------------------------------------------------------------------------------
Hi,
I found the same problem in new install of Redmine with Office 365 SMTP... Does Go MAEDA's solution help?
--------------------------------------------------------------------------------

Admin Redmine さんが約2年前に更新

  • カテゴリEmail notifications_9 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0