Nov 21 2018 05:20 PM - edited Nov 21 2018 06:06 PM
Hi,
I have a continuous web job, which was running fine if the job takes an hour time (to provision a site collection). All of a sudden, the web job started triggering every 10 minutes and sites are not provisioning.
Is something changed on Continuous Web Jobs (Such as timeout)?
From the logs, I see the following error:
Unhandled Exception: Microsoft.WindowsAzure.Storage.StorageException: The remote server returned an error: (404) Not Found. ---> System.Net.WebException: The remote server returned an error: (404) Not Found.
Nov 27 2018 07:38 AM
Is it running 5 times before it quits?
It looks like you're getting an unhandled exception in your code, in which case a queue triggered webjob will retry 5 times. You can change this setting by changing the config.Queues.MaxDequeueCount setting. The default is 5.
Check out this blog post by @David Opdendries for more info.