U4-5842 - Error in Umbraco.Web.Scheduling.ScheduledPublishing and Umbraco.Web.Scheduling.KeepAlive

Created by Arjan Hoogervorst 19 Nov 2014, 16:35:01 Updated by Arjan Hoogervorst 17 Dec 2014, 11:13:18

Duplicates: U4-5728

Logfiles on one of our sites keep getting swamped with the following errors after upgrading to version 6.2.4. It's a '''non-load balanced''' site running on '''HTTPS''' on a Win2008R2/IIS7 server, umbracoUseSSL is set to true in the web.config.

2014-11-19 16:57:52,204 [21] ERROR Umbraco.Web.Scheduling.ScheduledPublishing - [Thread 47] An error occurred with the scheduled publishing System.Net.WebException: The operation has timed out at System.Net.WebClient.UploadDataInternal(Uri address, String method, Byte[] data, WebRequest& request) at System.Net.WebClient.UploadString(Uri address, String method, String data) at Umbraco.Web.Scheduling.ScheduledPublishing.Start(ApplicationContext appContext) 2014-11-19 16:58:22,203 [21] ERROR Umbraco.Web.Scheduling.KeepAlive - [Thread 116] Error in ping System.Net.WebException: The operation has timed out at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) at System.Net.WebClient.DownloadString(Uri address) at Umbraco.Web.Scheduling.KeepAlive.Start(Object sender) I've checked out the following similar issues/posts, and experimented with the suggested solutions, but to no avail:

http://issues.umbraco.org/issue/U4-5379 http://issues.umbraco.org/issue/U4-2059 http://issues.umbraco.org/issue/U4-5391 http://our.umbraco.org/forum/core/general/56407-Worrying-errors-in-the-logs-over-last-couple-of-days-from-UmbracoWebSchedulingScheduledPublishing-

https://domain.com/umbraco/RestServices/ScheduledPublish/Index returns a 404 status. I have 2 custom scheduled tasks in place, and these work without any issues.

I have also configured the following redirect in the UrlRewriting.config:

Disabling this rewrite doesn't have any effect on the errors.

Any help would be appreciated.

Comments

Arjan Hoogervorst 20 Nov 2014, 14:31:45

I have tested the workaround which was mentioned by Sebastiaan in the following forum post:

http://our.umbraco.org/forum/core/general/56407-Worrying-errors-in-the-logs-over-last-couple-of-days-from-UmbracoWebSchedulingScheduledPublishing-

Adding this setting to the web.config of our version 6.2.4 website didn't work. Both errors were still being logged.


Sebastiaan Janssen 23 Nov 2014, 13:26:22

I've added a patch for 6.2.4 in U4-5728.


Arjan Hoogervorst 17 Dec 2014, 10:48:28

@sebastiaan Has the patch you provided for version 6.2.4 also been included in version 6.2.5?


Sebastiaan Janssen 17 Dec 2014, 11:10:56

Of course 4eb9a54fa5d4e0330b6adc178191221d41fde165


Arjan Hoogervorst 17 Dec 2014, 11:13:18

Awesome. Thanks!


Priority: Normal

Type: Bug

State: Duplicate

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 6.2.4

Due in version:

Sprint:

Story Points:

Cycle: