Subscriptions started failing recently.
SSRS 2017 using AWS SES via SMTP relay on server.
I am seeing this error in RSManagement logs -- I don't know if it is related or not:
SSRS System.Net.Http.HttpRequestException: Error while copying content to a stream. ---> System.IO.IOException ---> System.Net.HttpListenerException: The I/O operation has been aborted because of either a thread exit or an application request Line 3: at Microsoft.Owin.Host.HttpListener.RequestProcessing.ExceptionFilterStream.EndWrite(IAsyncResult asyncResult
Any ideas what this error means, and how to resolve it?
I had added registry settings to ensure we use TLS1.2 for mail as described here. I have not yet rebooted the server for the .NET changes.
I'm also finding this error in the logs:
System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
---> (Inner Exception #0) System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first
. Additional Information: SmtpException StatusCode:MustIssueStartTlsFirst
How can I resolve this? How do I issue STARTTLS when I am using local SMTP relay w/ no login/authentication (of course using authentication to the actual SMTP service)
Can I skip the SMPT relay & use AWS SES SMTP directly w/ TLS settings?