DBADash is unable to send email alerts #1273
Replies: 2 comments 5 replies
-
@DavidWiseman any help on this? |
Beta Was this translation helpful? Give feedback.
-
I would work with your IT team to determine why the certificate revocation couldn't be checked. There is an option to disable this check (See here for more info), but I need to make it configurable and I don't have a way to validate the fix. I have a branch with a potential fix and I've produced a build. Download and follow this process to upgrade manually. After upgrading, edit the notification channel and change this option from true to false. If the fix works, let me know and I'll include it in the next release. |
Beta Was this translation helpful? Give feedback.
-
I have tried using port 587 and my SMTP server name and I could successfully send email using Powershell from the server where DBADash is installed. But while using the same port and server details on DBADash GUI. It is not able to send any email and the notification fails with the below error message. Can someone guide me on resolving this error.
Error Message:
MailKit.Security.SslHandshakeException: An error occurred while attempting to establish an SSL or TLS connection.
The server's SSL certificate could not be validated for the following reasons:
• The server certificate has the following errors:
• The revocation function was unable to check revocation for the certificate.
• The revocation function was unable to check revocation because the revocation server was offline.
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at MailKit.Net.Smtp.SmtpClient.SslHandshakeAsync(SslStream ssl, String host, CancellationToken cancellationToken)
at MailKit.Net.Smtp.SmtpClient.PostConnectAsync(Stream stream, String host, Int32 port, SecureSocketOptions options, Boolean starttls, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at MailKit.Net.Smtp.SmtpClient.PostConnectAsync(Stream stream, String host, Int32 port, SecureSocketOptions options, Boolean starttls, CancellationToken cancellationToken)
at MailKit.Net.Smtp.SmtpClient.ConnectAsync(String host, Int32 port, SecureSocketOptions options, CancellationToken cancellationToken)
at DBADash.Alert.EmailNotificationChannel.InternalSendNotificationAsync(Alert alert, String connectionString) in D:\a\dba-dash\dba-dash\DBADash\Alert\EmailNotificationChannel.cs:line 65
at DBADashGUI.DBADashAlerts.NotificationChannelBase.SendNotificationAsync(Alert alert, String connectionString) in D:\a\dba-dash\dba-dash\DBADash\Alert\NotificationChannelBase.cs:line 69
Beta Was this translation helpful? Give feedback.
All reactions