I am getting the following error while trying to publish content on my website through Umbraco CMS. I am using Umbraco 7.2.4 version and have already rebuilt examine indexes and restarted Application pool as part of solution but that didn't resolve the issue.
2017-03-22 00:00:27,930 [9] ERROR Umbraco.Web.Scheduling.ScheduledPublishing - [Thread 56] An error occurred with the scheduled publishing. The base url used in the request was: http://xyz.org/umbraco/, see http://our.umbraco.org/documentation/Using-Umbraco/Config-files/umbracoSettings/#ScheduledTasks documentation for details on setting a baseUrl if this is in error
System.Net.WebException: The remote server returned an error: (404) Not Found.
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.Run()
That error is only for the scheduled publishing service and shouldn't be related to regular publishing of content. It does mean that scheduled publishing will not work. The scheduled publishing task runs every minute so if there is an issue the log file will have many instances of this exception.
You will see this particular error when the site can't reach itself. Some of the things that can cause this error are dns configuration, redirects, https site but useSsl is not enabled in web.config or the site being behind a load balancer.
If the issue is that the base url is wrong you can explicitly configure it in the umbraoSettings.config file.
Thanks for your answer. I tried adding base URL in umbracosettings.config
also changing umbracoUseSSL to 'True' but appending baseURL started throwing error on our website as website was not able to load the page because of appending baseURL. But when I remove baseURL, it works fine.
Does the umbracoUseSSL need to be enabled always because in our case it was always disabled?
Save and Publish error
Hey Guys,
I am getting the following error while trying to publish content on my website through Umbraco CMS. I am using Umbraco 7.2.4 version and have already rebuilt examine indexes and restarted Application pool as part of solution but that didn't resolve the issue.
2017-03-22 00:00:27,930 [9] ERROR Umbraco.Web.Scheduling.ScheduledPublishing - [Thread 56] An error occurred with the scheduled publishing. The base url used in the request was: http://xyz.org/umbraco/, see http://our.umbraco.org/documentation/Using-Umbraco/Config-files/umbracoSettings/#ScheduledTasks documentation for details on setting a baseUrl if this is in error System.Net.WebException: The remote server returned an error: (404) Not Found. 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.Run()
Any thoughts on how to resolve this error?
Hi Rishabh
That error is only for the scheduled publishing service and shouldn't be related to regular publishing of content. It does mean that scheduled publishing will not work. The scheduled publishing task runs every minute so if there is an issue the log file will have many instances of this exception.
You will see this particular error when the site can't reach itself. Some of the things that can cause this error are dns configuration, redirects, https site but useSsl is not enabled in web.config or the site being behind a load balancer.
If the issue is that the base url is wrong you can explicitly configure it in the umbraoSettings.config file.
Dallas
Hi Dallas,
Thanks for your answer. I tried adding base URL in umbracosettings.config
also changing umbracoUseSSL to 'True' but appending baseURL started throwing error on our website as website was not able to load the page because of appending baseURL. But when I remove baseURL, it works fine.
Does the umbracoUseSSL need to be enabled always because in our case it was always disabled?
kind regards, Rishabh
umbracoUseSSL should be set to true if your site has an ssl certificate and is using https. Otherwise it should be false.
Dallas
Hi Dallas,
I have enabled umbracoUseSSL and also did reset application pool, but it didn't make any different.
What else do you suggest me to do?
is working on a reply...