Copied to clipboard

Flag this post as spam?

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


  • Matt Mawford 7 posts 118 karma points
    May 16, 2017 @ 09:33
    Matt Mawford
    0

    Scheduled tasks and Umbraco.Web.Scheduling.KeepAlive error

    We've experienced an issue which brought one of our sites down for a period and any help figuring out why would be appreciated.

    Our application has a scheduled task running which calls a method AddSubscribersToEventAttendanceThanks on an UmbracoApiController called EventDataScheduledApiController. This method started throwing an exception due to a property on a content node being unexpectedly empty - obviously we should have been handling the null property - but this in itself wasn't causing a problem - the scheduled task call returns 'False' because the HttpStatus isn't OK and on it goes: Log 1 - task fails but site is OK Until, at 13:32 the site shuts down - as happens periodically. When it comes back up at 13:40, Umbraco.Web.Scheduling.KeepAlive is failing, and the site is unavailable. Log 2 - KeepAlive fails and site is down This continued until the next application shutdown, which occured at about 18:00 the next day, when the issue corrected itself, the site came back up, and the log entries return to the pattern shown in the first excerpt.

    Does someone out there understand what happened here?

Please Sign in or register to post replies

Write your reply to:

Draft