Try our conversational search powered by Generative AI!

Error when running "Episerver Notifications" scheduled job

Fixed in

EPiServer.CMS.UI 11.23.5

(Or a related package)

Created

Jan 27, 2020

Updated

Nov 23, 2020

Area

CMS UI

State

Closed, Fixed and tested


Description

Steps to reproduce

  1. Go to admin mode -> Episerver Notifications Scheduled job.
  2. Click Start manually.
  3. Go to the History tab and look at messages. If you only have one message saying: 0 notification(s) have been sent to editors, repeat the previous step.

Expected
No messages with status: Failed

Actual
Failed message: One or more errors occurred. (An error occurred while sending the request).

Error that is logged to the episerver log:

EPiServer.DataAbstraction.ScheduledJob: Job EPiServer.Cms.Shell.UI.Notifications.Feature.FeatureNotificationJob failed for the job 'Episerver Notifications' with jobId ='8bd1ac63-9ed3-42e1-9b63-76498ab5ac94' 
System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
   --- End of inner exception stack trace ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at EPiServer.Cms.Shell.UI.Notifications.Feature.HttpClientWrapper.<GetStreamAsync>d__2.MoveNext()