At the moment we are sending emails using engagement plans and automated actions for EXM.
Sometimes we get Sitecore.EDS.Core.Exceptions.ConnectionTimeoutException
exceptions.
For example checked now we sent 1800 emails and 30 of them failed with this exception.
What can be wrong? Is there any suggestion how to nail this down?
We are using:
- Sitecore.NET 8.2 (rev. 160729)
- Email Experience Manager 3.4.0 rev. 161028
- Sendgrid as MTA.
Exception details are here:
at Sitecore.EDS.Core.Net.Smtp.ChilkatConnectionPool.<GetConnectionAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Sitecore.EDS.Providers.CustomSmtp.DispatchProvider.<ValidateDispatchAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Sitecore.EDS.Core.Dispatch.DispatchManager.<ValidateDispatchAsync>d__7.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at Sitecore.Modules.EmailCampaign.SendingManager.CheckMailServer(String& error)
at Sitecore.Modules.EmailCampaign.SendingManager..ctor(Boolean checkConnection, MessageItem message, Boolean isService, ILogger logger, ISenderManager senderManager, IDispatchManager dispatchManager)
at Sitecore.Modules.EmailCampaign.SendingManager..ctor(Boolean checkConnection, MessageItem message, Boolean isService, ILogger logger)
at Sitecore.Modules.EmailCampaign.Core.Dispatch.SendingHelper.SendStandardMessage(String messageId, RecipientId recipientId, Boolean async, ILogger logger)
at Sitecore.Modules.EmailCampaign.Core.ClientApiLocal.SendStandardMessage(Guid messageId, RecipientId recipientId, Boolean async)
at Sitecore.Modules.EmailCampaign.ClientApi.SendStandardMessage(Guid messageId, RecipientId recipientId, Boolean async)
---> (Inner Exception #0) Sitecore.EDS.Core.Exceptions.ConnectionTimeoutException: Unable to obtain connection within the given number of retries.
at Sitecore.EDS.Core.Net.Smtp.ChilkatConnectionPool.<GetConnectionAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Sitecore.EDS.Providers.CustomSmtp.DispatchProvider.<ValidateDispatchAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Sitecore.EDS.Core.Dispatch.DispatchManager.<ValidateDispatchAsync>d__7.MoveNext()<---