Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rishabh Jain 19 posts 99 karma points
    Mar 22, 2017 @ 01:54
    Rishabh Jain
    0

    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?

  • Dallas 132 posts 404 karma points
    Mar 22, 2017 @ 03:46
    Dallas
    0

    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

  • Rishabh Jain 19 posts 99 karma points
    Mar 22, 2017 @ 03:52
    Rishabh Jain
    0

    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

  • Dallas 132 posts 404 karma points
    Mar 22, 2017 @ 04:06
    Dallas
    0

    umbracoUseSSL should be set to true if your site has an ssl certificate and is using https. Otherwise it should be false.

    Dallas

  • Rishabh Jain 19 posts 99 karma points
    Mar 22, 2017 @ 05:24
    Rishabh Jain
    0

    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?

Please Sign in or register to post replies

Write your reply to:

Draft