Copied to clipboard

Flag this post as spam?

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


  • lori ryan 239 posts 573 karma points
    Oct 10, 2018 @ 07:45
    lori ryan
    0

    scheduled tasks - Load Balancer - ERROR Umbraco.Web.Scheduling.KeepAlive

    I have umbraco in a load balanced environment. Web01 is the master Umbraco i.e. editors all log in here and do edits and schedule publishing etc. Web01 replicates the media / forms etc to web02. They share a sql db.

    On web02 I get the following error in the logs every 5minutes ERROR Umbraco.Web.Scheduling.KeepAlive - Failed (at "http://www.myDomain.aero:xxx/umbraco"). Given that web02 doesn't do anything bar render the site for end users is there a way to turn off Scheduling for web02? Error doesnt appear on web01.

    Any thoughts or suggestions would be most welcome.

  • Harrison 42 posts 254 karma points
    Oct 10, 2018 @ 13:23
    Harrison
    100

    In your umbracoSettings.config, have you set the umbracoApplicationUrl to the backoffice URL? I.e. https://admin.mydomain.co.uk/umbraco. It shouldn't be trying to ping your site URL for the back office, but rather the actual URL for the backoffice. The admin URL should be outside of the load balancing setup, too, so shouldn't be one of the load balanced URLs.

    If the above is done, then try adding a hosts file entry of your admin server, add an entry to it's own internal IP for the admin address, something like below (replace the IP with your server's internal IP):

    192.168.0.1 admin.mydomain.co.uk
    

    See how you get on with that!

  • lori ryan 239 posts 573 karma points
    Oct 10, 2018 @ 14:49
    lori ryan
    0

    Hi Harrison Many thanks for coming back to me - in the

    servers section in the umbracoSettings.config I had already added the IPs. Master First followed by second.

    I try the host file early in the morning and let you know how I get on. Also I deploy the umbracoApplicationUrl in the web.routing tag in umbracoSettings.config

  • Harrison 42 posts 254 karma points
    Oct 10, 2018 @ 15:23
    Harrison
    1

    Which version of Umbraco are you using? From v7.3.0 onwards, the servers section in umbracoSettings.config shouldn't be used, as that's for the traditional load balancing setup, whereas the flexible setup should be used as stated here: https://our.umbraco.com/documentation/getting-started/setup/server-setup/load-balancing/

Please Sign in or register to post replies

Write your reply to:

Draft