level: Error

severity: ERROR

stackTrace:
System.Exception: Failed to send grouped Participant notifications for TNI Allocation. ---> MySql.Data.MySqlClient.MySqlException: Authentication to host '10.0.1.10' for user 'ir365_user' using method 'mysql_native_password' failed with message: Access denied for user 'ir365_user'@'10.0.1.12' (using password: NO) ---> MySql.Data.MySqlClient.MySqlException: Access denied for user 'ir365_user'@'10.0.1.12' (using password: NO)
   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
   --- End of inner exception stack trace ---
   at MySql.Data.MySqlClient.NativeDriver.Open()
   at MySql.Data.MySqlClient.Driver.Open()
   at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
   at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection()
   at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
   at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
   at MySql.Data.MySqlClient.MySqlPool.GetConnection()
   at MySql.Data.MySqlClient.MySqlConnection.Open()
   at IncidentReporter.DAL.Repositories.BaseRepo.OpenConnection() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.cs:line 26
   at IncidentReporter.DAL.Repositories.UserDeviceRepo.DeactivateUserDeviceRecords(Nullable`1 Id) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\UserDeviceRepo.cs:line 295
   at IncidentReporter.NotificationSender.Helpers.AwsHelper.SendAppNotification(UserDeviceDBO userDevice, NotificationDBO notification, String organisationName, String conn, PushNotificationProperties notificationProperties) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\Helpers\AwsHelper.cs:line 444
   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendAttendeeAllocationCompletedNotification(Int64 orgId, String organisationName, Int64 tniId, String tniName, Int64 startTicks, Int64 endTicks, Int64 courseId, Int64 siteId, String stringUserIds) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\Notifier.cs:line 22027
   --- End of inner exception stack trace ---


message: Failed to send grouped Participant notifications for TNI Allocation.


stackTrace:
System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.NotificationSender.EmailHelper.SendEmail(String template, String subject, Object args, String toAddress, String ccAddress, List`1 reportAttachments, List`1 additionalAttachmentsFilePath, String rootEmailTemplatePath, OrganisationFromConfig organisationFromAddress) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\Helpers\EmailHelper.cs:line 39


message: Object reference not set to an instance of an object.