The Community is now in read-only mode to prepare for the launch of the new Flexera Community. During this time, you will be unable to register, log in, or access customer resources. Click here for more information.
I'm testing in our development environment and noticed an error in the EmailParser_Error.log that I haven't had success resolving. I don't think it's App Portal since nothing has changed on the server when the error began but I'm wondering if anyone has run into this. Outgoing email works fine, incoming email gets the error.
Unexpected error while connecting to imap server : An error occurred while attempting to establish an SSL or TLS connection.
One possibility is that you are trying to connect to a port which does not support SSL/TLS.
The other possibility is that the SSL certificate presented by the server is not trusted by the system for one or more of the following reasons:
1. The server is using a self-signed certificate which cannot be verified.
2. The local system is missing a Root or Intermediate certificate needed to verify the server's certificate.
3. The certificate presented by the server is expired or invalid.
See https://github.com/jstedfast/MailKit/blob/master/FAQ.md#InvalidSslCertificate for possible solutions. Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. at MailKit.Net.Imap.ImapClient.<ConnectAsync>d__89.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 MailKit.Net.Imap.ImapClient.Connect(String host, Int32 port, SecureSocketOptions options, CancellationToken cancellationToken)
at MailKit.MailService.Connect(String host, Int32 port, Boolean useSsl, CancellationToken cancellationToken)
at AppPortal.Infrastructure.Services.MailParserService.ConnectToIMAPServer(MailParserConfiguration configuration, String& errormessage)
‎Dec 18, 2019 04:50 PM
‎Dec 27, 2019 07:31 PM
‎Dec 19, 2019 10:41 AM
It is fairly common for SMTP/IMAP servers to require SSL for incoming mail and not require it for outbound mail. Are your App Portal inbound and outbound settings different in that regard? Is it possible the mail server configuration changed to require SSL where App Portal wasn't configured to use SSL? Another possibility might be if the mail server configuration was (either intentionally or inadvertently by way of a recent Microsoft update) changed to require TLS 1.2 or higher. In such a case, even if the App Portal configuration is set to use SSL, the server itself may not be configured to use TLS 1.2 for all communication. If that's the case, check out this post.
‎Dec 19, 2019 03:05 PM - edited ‎Dec 19, 2019 03:08 PM
‎Dec 27, 2019 07:31 PM
‎Jan 07, 2020 01:59 PM
‎Jan 07, 2020 04:09 PM
‎Jan 07, 2020 04:20 PM