I receive a error message each 60 seconds - Umbraco.Web.Scheduling.ScheduledPublishing
Hi everyone,
I found in my log files, errors like this:
2018-04-16 00:02:21,794 [P4496/D2/T53] ERROR Umbraco.Web.Scheduling.ScheduledPublishing - Failed (at "https://[site]/umbraco").
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
--- End of inner exception stack trace ---
at System.Net.Security.SslStream.EndRead(IAsyncResult asyncResult)
at System.Net.TlsStream.EndRead(IAsyncResult asyncResult)
at System.Net.Connection.ReadCallback(IAsyncResult asyncResult)
--- End of inner exception stack trace ---
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 Umbraco.Web.Scheduling.ScheduledPublishing._9.MoveNext()
This error I receive each 60 seconds.
I checked application setting on the subject active schedules:
But I haven't active items.
I have Umbraco 7.6.4.
What I have to do?
Can it be related to the recently added SignarR in Umbraco?
I've set log level like DEBUG and I can provide a little be more information about this problem.
2018-04-19 06:17:55,434 [P952/D5/T15] DEBUG Umbraco.Web.Scheduling.BackgroundTaskRunner - [ScheduledTasks] Task added Umbraco.Web.Scheduling.ScheduledTasks
2018-04-19 06:17:55,559 [P952/D5/T32] DEBUG Umbraco.Web.Scheduling.ScheduledPublishing - Scheduled publishing executing @ https://[SITE]/umbraco/RestServices/ScheduledPublish/Index
2018-04-19 06:17:55,559 [P952/D5/T38] ERROR Umbraco.Web.Scheduling.ScheduledPublishing - Failed (at "https://[SITE]/umbraco").
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
--- End of inner exception stack trace ---
at System.Net.Security.SslStream.EndRead(IAsyncResult asyncResult)
at System.Net.TlsStream.EndRead(IAsyncResult asyncResult)
at System.Net.Connection.ReadCallback(IAsyncResult asyncResult)
--- End of inner exception stack trace ---
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 Umbraco.Web.Scheduling.ScheduledPublishing._9.MoveNext()
2018-04-19 06:17:55,559 [P952/D5/T38] DEBUG Umbraco.Web.Scheduling.ScheduledPublishing - Scheduled publishing complete (took 11ms)
2018-04-19 06:17:55,559 [P952/D5/T38] DEBUG Umbraco.Web.Scheduling.BackgroundTaskRunner - [ScheduledPublishing] Task added Umbraco.Web.Scheduling.ScheduledPublishing
Also I found another error:
2018-04-19 06:16:55,463 [P952/D5/T15] DEBUG Umbraco.Web.Scheduling.BackgroundTaskRunner - [LogScrubber] Task added Umbraco.Web.Scheduling.LogScrubber
2018-04-19 06:16:55,478 [P952/D5/T38] ERROR Umbraco.Web.Scheduling.KeepAlive - Failed (at "https://[SITE]/umbraco").
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
--- End of inner exception stack trace ---
at System.Net.Security.SslStream.EndRead(IAsyncResult asyncResult)
at System.Net.TlsStream.EndRead(IAsyncResult asyncResult)
at System.Net.Connection.ReadCallback(IAsyncResult asyncResult)
--- End of inner exception stack trace ---
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 Umbraco.Web.Scheduling.KeepAlive._4.MoveNext()
2018-04-19 06:16:55,478 [P952/D5/T38] DEBUG Umbraco.Web.Scheduling.KeepAlive - Keep alive complete (took 42ms)
2018-04-19 06:16:55,478 [P952/D5/T38] DEBUG Umbraco.Web.Scheduling.BackgroundTaskRunner - [KeepAlive] Task added Umbraco.Web.Scheduling.KeepAlive
I receive a error message each 60 seconds - Umbraco.Web.Scheduling.ScheduledPublishing
Hi everyone,
I found in my log files, errors like this:
2018-04-16 00:02:21,794 [P4496/D2/T53] ERROR Umbraco.Web.Scheduling.ScheduledPublishing - Failed (at "https://[site]/umbraco"). System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult) at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult) --- End of inner exception stack trace --- at System.Net.Security.SslStream.EndRead(IAsyncResult asyncResult) at System.Net.TlsStream.EndRead(IAsyncResult asyncResult) at System.Net.Connection.ReadCallback(IAsyncResult asyncResult) --- End of inner exception stack trace --- 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 Umbraco.Web.Scheduling.ScheduledPublishing._9.MoveNext()
This error I receive each 60 seconds.
I checked application setting on the subject active schedules:
But I haven't active items.
I have Umbraco 7.6.4.
What I have to do?
Can it be related to the recently added SignarR in Umbraco?
Thanks
Hi,
I think it's a TLS thing as you're using https (could be wrong though). Try adding:-
To your global or IApplicationEventHandler.
Thanks Paul
Hi,
I'll try.
Thank you very much
Vitaly
Good advice! I am experiencing this all over the place on various sites as more and more providers tighten up their SSL Configurations.
Hi Paul,
Unfortunately the problem is remained.
Do you have any ideas?
Thanks
Hi,
I've set log level like DEBUG and I can provide a little be more information about this problem.
2018-04-19 06:17:55,434 [P952/D5/T15] DEBUG Umbraco.Web.Scheduling.BackgroundTaskRunner - [ScheduledTasks] Task added Umbraco.Web.Scheduling.ScheduledTasks 2018-04-19 06:17:55,559 [P952/D5/T32] DEBUG Umbraco.Web.Scheduling.ScheduledPublishing - Scheduled publishing executing @ https://[SITE]/umbraco/RestServices/ScheduledPublish/Index 2018-04-19 06:17:55,559 [P952/D5/T38] ERROR Umbraco.Web.Scheduling.ScheduledPublishing - Failed (at "https://[SITE]/umbraco"). System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult) at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult) --- End of inner exception stack trace --- at System.Net.Security.SslStream.EndRead(IAsyncResult asyncResult) at System.Net.TlsStream.EndRead(IAsyncResult asyncResult) at System.Net.Connection.ReadCallback(IAsyncResult asyncResult) --- End of inner exception stack trace --- 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 Umbraco.Web.Scheduling.ScheduledPublishing._9.MoveNext() 2018-04-19 06:17:55,559 [P952/D5/T38] DEBUG Umbraco.Web.Scheduling.ScheduledPublishing - Scheduled publishing complete (took 11ms) 2018-04-19 06:17:55,559 [P952/D5/T38] DEBUG Umbraco.Web.Scheduling.BackgroundTaskRunner - [ScheduledPublishing] Task added Umbraco.Web.Scheduling.ScheduledPublishing
Also I found another error: 2018-04-19 06:16:55,463 [P952/D5/T15] DEBUG Umbraco.Web.Scheduling.BackgroundTaskRunner - [LogScrubber] Task added Umbraco.Web.Scheduling.LogScrubber 2018-04-19 06:16:55,478 [P952/D5/T38] ERROR Umbraco.Web.Scheduling.KeepAlive - Failed (at "https://[SITE]/umbraco"). System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult) at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult) --- End of inner exception stack trace --- at System.Net.Security.SslStream.EndRead(IAsyncResult asyncResult) at System.Net.TlsStream.EndRead(IAsyncResult asyncResult) at System.Net.Connection.ReadCallback(IAsyncResult asyncResult) --- End of inner exception stack trace --- 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 Umbraco.Web.Scheduling.KeepAlive._4.MoveNext() 2018-04-19 06:16:55,478 [P952/D5/T38] DEBUG Umbraco.Web.Scheduling.KeepAlive - Keep alive complete (took 42ms) 2018-04-19 06:16:55,478 [P952/D5/T38] DEBUG Umbraco.Web.Scheduling.BackgroundTaskRunner - [KeepAlive] Task added Umbraco.Web.Scheduling.KeepAlive
Thanks
Also I tried to use:
and
But it did not help!
Hi,
I've made a local SSL certificate for testing, configured it, but on my local PC I can't reproduce this error.
Everything is working correctly on my local computer. (((
Hi Delete,
Did you ever manage to solve this? We are facing the same issue on our client servers while trying to validate the reCAPTCHA response.
Thanks
is working on a reply...