Github user ijokarumawak commented on the issue: https://github.com/apache/nifi/pull/483 @trixpan Exactly. "Having a single connection is enough" was my expected behavior, but it wasn't. The error doesn't happen all the time, but quit often, so I think it's a race condition. The related implementation is not NiFi codebase, it's in javax.mail library as client, and subethasmtp as SMTP server. I don't have better idea other than limit the acceptable configuration. Wow, dead lock, Hope we can reach to a simple yet robust code in the end :-D
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---