Beispiel #1
0
        protected virtual void OnAuthenticationFailed(ClientAuthenticationFailedEventArgs e)
        {
            var handler = AuthenticationFailed;

            if (handler != null)
            {
                handler(this, e);
            }
        }
 private void DestinationConnection_AuthenticationFailed(object sender, ClientAuthenticationFailedEventArgs e)
 {
     _logger.Warn($"AuthenticationFailed with {_destinationConnection.ConnectionName}: {e.Reason}");
     if (!_started)
     {
         return;
     }
     _logger.Warn($"Restart {Name}...");
     Stop();
     Start();
 }
 private void Connection_AuthenticationFailed(object sender, ClientAuthenticationFailedEventArgs e)
 {
     _logger.ErrorWithContext("The event store connection was unable to authenticate!", e);
 }
 /// <summary>
 /// Handles the AuthenticationFailed event of the Event Store Connection.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="ClientErrorEventArgs"/> instance containing the event data.</param>
 private void Connection_AuthenticationFailed(Object sender, ClientAuthenticationFailedEventArgs e)
 {
     Logger.LogInformation($"Error on connection [{e.Connection.ConnectionName}] to Event Store, Authenticaion Failed");
 }
Beispiel #5
0
 private void Connection_AuthenticationFailed(object sender, ClientAuthenticationFailedEventArgs e)
 {
     _logger.LogError($"The event store connection was unable to authenticate! Connection: {SanitizedConnectionString} Reason: {e.Reason}");
 }
Beispiel #6
0
 private static void Conn_AuthenticationFailed(object sender, ClientAuthenticationFailedEventArgs e)
 {
     //
 }
Beispiel #7
0
 private void Conn_AuthenticationFailed(object sender, ClientAuthenticationFailedEventArgs e)
 {
     _logger.LogInformation("AuthenticationFailed!");
 }
Beispiel #8
0
 private void OnAuthenticationFailed(object sender, ClientAuthenticationFailedEventArgs args)
 => _output.WriteLine($"Authentication to EventStore failed: {args.Reason}", 1);
 private void Handle_AuthenticationFailed(object sender, ClientAuthenticationFailedEventArgs e)
 {
     _logger?.LogError(new EventStoreStreamsBindingException($"Authentication failed due to {e.Reason}"), $"AuthenticationFailed due to {e.Reason}: {e.Connection.ConnectionName}");
     AuthenticationFailed?.Invoke(sender, e);
 }
Beispiel #10
0
 private void _connection_AuthenticationFailed(object sender, ClientAuthenticationFailedEventArgs e)
 {
     Log.Error($"{nameof(MessageReceiverFromEventStore)} AuthenticationFailed: {e.Reason}");
 }
 private void DefaultOnAuthenticationFailed(object sender, ClientAuthenticationFailedEventArgs args) =>
 log.Fatal("Authentication failed");
 private void EventStoreConnection_AuthenticationFailed(object sender, ClientAuthenticationFailedEventArgs e)
 {
     m_Logger.Info($"Failed authentication: {e.Reason}");
 }
 private void OriginConnection_AuthenticationFailed(object sender, ClientAuthenticationFailedEventArgs e)
 {
     _logger.Warn($"AuthenticationFailed to {_originConnection.ConnectionName}: {e.Reason}");
 }
 private void AuthenticationFailedHandler(object o, ClientAuthenticationFailedEventArgs arg)
 {
     //_logger.LogInformation("AuthenticationFailed", arg);
 }