// Id: #4790242
using MR.Schedules;
await SendNotificationsTask.StartJobSendNotifications();
| CurrentCulture | |
| CurrentUICulture | |
| RecurringJobId | |
| Time | |
An exception occurred during performance of the job.
Scheduled task 'SendNotifications' failed: HTTP 502 Bad Gateway. URI: https://staging.sourcenowvms.com/api/ext/send-notifications. Response body: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.18.0 (Ubuntu)</center> </body> </html>
System.Net.Http.HttpRequestException: Scheduled task 'SendNotifications' failed: HTTP 502 Bad Gateway. URI: https://staging.sourcenowvms.com/api/ext/send-notifications. Response body: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.18.0 (Ubuntu)</center> </body> </html> at MR.Schedules.HangfireScheduledTaskHttp.GetAsyncEnsureSuccessAsync(HttpClient httpClient, String operationName, String requestUri, CancellationToken cancellationToken) in /home/azureuser/sn1/src/BackEnd/MR.Schedules/HangfireScheduledTaskHttp.cs:line 57 at MR.Schedules.SendNotificationsTask.StartJobSendNotifications() in /home/azureuser/sn1/src/BackEnd/MR.Schedules/Tasks/SendNotificationsTask.cs:line 28 at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
Triggered by recurring job scheduler