// Job ID: 12232f08-3c65-4673-bc8c-3257ac32a3b0
using EP.BackgroundJobs.Engine.Jobs;
var notificationReportJob = Activate<NotificationReportJob>();
notificationReportJob.ProcessWhatsAppReport(
null,
"WhatsApp",
FromJson<Notification>("{\"NotificationType\":\"WhatsApp\",\"Emails\":[\"[email protected]\",\"[email protected]\",\"[email protected]\",\"[email protected]\",\"[email protected]\",\"[email protected]\"],\"Active\":true}"),
FromJson<CommonReportData>("{\"ConnectionString\":\"Server=psql-apps-prod.postgres.database.azure.com;Database=ep_apps;Port=5432;User Id=ep_apps@psql-apps-prod;Password=ep_apps;\",\"url\":\"https://notification.epapps.ae/services/sms/api/EmailNotifications\",\"fromEmail\":\"[email protected]\",\"emailtemplateId\":\"d-91d711500100470d98d1bac3480399d5\",\"smsApiKey\":\"309818c2759f475ab7b44fb35555270c:768d4067bc9c4581b52b3df2b54a3d8d\",\"subject\":null}"));
| CurrentCulture | |
| CurrentUICulture | |
| RetryCount | |
An exception occurred during performance of the job.
Name or service not known
System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (00000005, 0xFFFDFFFF): Name or service not known at System.Net.Dns.GetHostEntryOrAddressesCore(String hostName, Boolean justAddresses, AddressFamily addressFamily, ValueStopwatch stopwatch) at System.Net.Dns.GetHostAddresses(String hostNameOrAddress, AddressFamily family) at Npgsql.Internal.NpgsqlConnector.Connect(NpgsqlTimeout timeout) at Npgsql.Internal.NpgsqlConnector.RawOpen(SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken, Boolean isFirstAttempt) at Npgsql.Internal.NpgsqlConnector.<Open>g__OpenCore|191_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken, Boolean isFirstAttempt) at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) at Npgsql.ConnectorPool.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) at Npgsql.ConnectorPool.<Get>g__RentAsync|28_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) at Npgsql.NpgsqlConnection.<Open>g__OpenAsync|45_0(Boolean async, CancellationToken cancellationToken) at Npgsql.NpgsqlConnection.Open() at EP.BackgroundJobs.Engine.BusinessLogic.Implementations.ReportJob.GenerateWhatsAppReport(PerformContext context, Notification notification, CommonReportData commonReportData) in /src/EP.BackgroundJobs.Engine/BusinessLogic/Implementations/ReportJob.cs:line 305 at EP.BackgroundJobs.Engine.Jobs.NotificationReportJob.ProcessWhatsAppReport(PerformContext context, String customerName, Notification notification, CommonReportData commonReportData) in /src/EP.BackgroundJobs.Engine/Jobs/NotificationReportJob.cs:line 63
Retry attempt 3 of 3: Name or service not known
An exception occurred during performance of the job.
Name or service not known
System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (00000005, 0xFFFDFFFF): Name or service not known at System.Net.Dns.GetHostEntryOrAddressesCore(String hostName, Boolean justAddresses, AddressFamily addressFamily, ValueStopwatch stopwatch) at System.Net.Dns.GetHostAddresses(String hostNameOrAddress, AddressFamily family) at Npgsql.Internal.NpgsqlConnector.Connect(NpgsqlTimeout timeout) at Npgsql.Internal.NpgsqlConnector.RawOpen(SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken, Boolean isFirstAttempt) at Npgsql.Internal.NpgsqlConnector.<Open>g__OpenCore|191_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken, Boolean isFirstAttempt) at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) at Npgsql.ConnectorPool.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) at Npgsql.ConnectorPool.<Get>g__RentAsync|28_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) at Npgsql.NpgsqlConnection.<Open>g__OpenAsync|45_0(Boolean async, CancellationToken cancellationToken) at Npgsql.NpgsqlConnection.Open() at EP.BackgroundJobs.Engine.BusinessLogic.Implementations.ReportJob.GenerateWhatsAppReport(PerformContext context, Notification notification, CommonReportData commonReportData) in /src/EP.BackgroundJobs.Engine/BusinessLogic/Implementations/ReportJob.cs:line 305 at EP.BackgroundJobs.Engine.Jobs.NotificationReportJob.ProcessWhatsAppReport(PerformContext context, String customerName, Notification notification, CommonReportData commonReportData) in /src/EP.BackgroundJobs.Engine/Jobs/NotificationReportJob.cs:line 63
Retry attempt 2 of 3: Name or service not known
An exception occurred during performance of the job.
Name or service not known
System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (00000005, 0xFFFDFFFF): Name or service not known at System.Net.Dns.GetHostEntryOrAddressesCore(String hostName, Boolean justAddresses, AddressFamily addressFamily, ValueStopwatch stopwatch) at System.Net.Dns.GetHostAddresses(String hostNameOrAddress, AddressFamily family) at Npgsql.Internal.NpgsqlConnector.Connect(NpgsqlTimeout timeout) at Npgsql.Internal.NpgsqlConnector.RawOpen(SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken, Boolean isFirstAttempt) at Npgsql.Internal.NpgsqlConnector.<Open>g__OpenCore|191_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken, Boolean isFirstAttempt) at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) at Npgsql.ConnectorPool.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) at Npgsql.ConnectorPool.<Get>g__RentAsync|28_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) at Npgsql.NpgsqlConnection.<Open>g__OpenAsync|45_0(Boolean async, CancellationToken cancellationToken) at Npgsql.NpgsqlConnection.Open() at EP.BackgroundJobs.Engine.BusinessLogic.Implementations.ReportJob.GenerateWhatsAppReport(PerformContext context, Notification notification, CommonReportData commonReportData) in /src/EP.BackgroundJobs.Engine/BusinessLogic/Implementations/ReportJob.cs:line 305 at EP.BackgroundJobs.Engine.Jobs.NotificationReportJob.ProcessWhatsAppReport(PerformContext context, String customerName, Notification notification, CommonReportData commonReportData) in /src/EP.BackgroundJobs.Engine/Jobs/NotificationReportJob.cs:line 63
Retry attempt 1 of 3: Name or service not known
An exception occurred during performance of the job.
Name or service not known
System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (00000005, 0xFFFDFFFF): Name or service not known at System.Net.Dns.GetHostEntryOrAddressesCore(String hostName, Boolean justAddresses, AddressFamily addressFamily, ValueStopwatch stopwatch) at System.Net.Dns.GetHostAddresses(String hostNameOrAddress, AddressFamily family) at Npgsql.Internal.NpgsqlConnector.Connect(NpgsqlTimeout timeout) at Npgsql.Internal.NpgsqlConnector.RawOpen(SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken, Boolean isFirstAttempt) at Npgsql.Internal.NpgsqlConnector.<Open>g__OpenCore|191_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken, Boolean isFirstAttempt) at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) at Npgsql.ConnectorPool.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) at Npgsql.ConnectorPool.<Get>g__RentAsync|28_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) at Npgsql.NpgsqlConnection.<Open>g__OpenAsync|45_0(Boolean async, CancellationToken cancellationToken) at Npgsql.NpgsqlConnection.Open() at EP.BackgroundJobs.Engine.BusinessLogic.Implementations.ReportJob.GenerateWhatsAppReport(PerformContext context, Notification notification, CommonReportData commonReportData) in /src/EP.BackgroundJobs.Engine/BusinessLogic/Implementations/ReportJob.cs:line 305 at EP.BackgroundJobs.Engine.Jobs.NotificationReportJob.ProcessWhatsAppReport(PerformContext context, String customerName, Notification notification, CommonReportData commonReportData) in /src/EP.BackgroundJobs.Engine/Jobs/NotificationReportJob.cs:line 63